Documentation ¶
Index ¶
- type BtcTransactionsIndex
- func (i BtcTransactionsIndex) ConnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, blockHeight int64, ...) error
- func (i BtcTransactionsIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) error
- func (i BtcTransactionsIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, ...) (block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, ...)
- func (i BtcTransactionsIndex) InitRPCClient() (*core.AbstractRPCClient, error)
- type JaxTransactionsIndex
- func (i JaxTransactionsIndex) ConnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, blockHeight int64, ...) error
- func (i JaxTransactionsIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) error
- func (i JaxTransactionsIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, ...) (block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, ...)
- func (i JaxTransactionsIndex) InitRPCClient() (*core.AbstractRPCClient, error)
- type TransactionsIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BtcTransactionsIndex ¶
type BtcTransactionsIndex struct {
TransactionsIndex
}
func (BtcTransactionsIndex) ConnectBlock ¶
func (i BtcTransactionsIndex) ConnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, blockHeight int64, rpcClient *core.AbstractRPCClient) error
func (BtcTransactionsIndex) DisconnectBlock ¶
func (i BtcTransactionsIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) error
func (BtcTransactionsIndex) FetchNextBlockFromNode ¶
func (i BtcTransactionsIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, cacheHandler *blocks_cache.CacheHandler) ( block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, rebuildingChainBlockNumber int64, err error)
func (BtcTransactionsIndex) InitRPCClient ¶
func (i BtcTransactionsIndex) InitRPCClient() (*core.AbstractRPCClient, error)
type JaxTransactionsIndex ¶
type JaxTransactionsIndex struct {
TransactionsIndex
}
func (JaxTransactionsIndex) ConnectBlock ¶
func (i JaxTransactionsIndex) ConnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, blockHeight int64, rpcClient *core.AbstractRPCClient) error
func (JaxTransactionsIndex) DisconnectBlock ¶
func (i JaxTransactionsIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) error
func (JaxTransactionsIndex) FetchNextBlockFromNode ¶
func (i JaxTransactionsIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, cacheHandler *blocks_cache.CacheHandler) ( block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, rebuildingChainBlockNumber int64, err error)
func (JaxTransactionsIndex) InitRPCClient ¶
func (i JaxTransactionsIndex) InitRPCClient() (*core.AbstractRPCClient, error)
type TransactionsIndex ¶
type TransactionsIndex struct{}
func (TransactionsIndex) DefaultFirstBlockForProcessing ¶
func (i TransactionsIndex) DefaultFirstBlockForProcessing() (blockNumber int64)
func (TransactionsIndex) PrepareDatabase ¶
func (i TransactionsIndex) PrepareDatabase() error
func (TransactionsIndex) SetHttpHandlers ¶
func (i TransactionsIndex) SetHttpHandlers(group *router.Group)
Click to show internal directories.
Click to hide internal directories.