Documentation ¶
Index ¶
- type BtcTXsHistoryIndex
- func (i BtcTXsHistoryIndex) ConnectBlock(_ pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) (err error)
- func (i BtcTXsHistoryIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) (err error)
- func (i BtcTXsHistoryIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, ...) (block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, ...)
- func (i BtcTXsHistoryIndex) InitRPCClient() (*core.AbstractRPCClient, error)
- type JaxTXsHistoryIndex
- func (i JaxTXsHistoryIndex) ConnectBlock(_ pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) (err error)
- func (i JaxTXsHistoryIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, ...) (err error)
- func (i JaxTXsHistoryIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, ...) (block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, ...)
- func (i JaxTXsHistoryIndex) InitRPCClient() (*core.AbstractRPCClient, error)
- type TXsHistoryIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BtcTXsHistoryIndex ¶
type BtcTXsHistoryIndex struct {
TXsHistoryIndex
}
func (BtcTXsHistoryIndex) ConnectBlock ¶
func (i BtcTXsHistoryIndex) ConnectBlock(_ pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) (err error)
WARN: This code is duplicated into jax_implementation! In case of any change - please sync both implemenatations.
func (BtcTXsHistoryIndex) DisconnectBlock ¶
func (i BtcTXsHistoryIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) (err error)
WARN: This code is duplicated into jax_implementation! In case of any change - please sync both implemenatations.
func (BtcTXsHistoryIndex) FetchNextBlockFromNode ¶
func (i BtcTXsHistoryIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, cacheHandler *blocks_cache.CacheHandler) ( block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, rebuildingChainBlockNumber int64, err error)
func (BtcTXsHistoryIndex) InitRPCClient ¶
func (i BtcTXsHistoryIndex) InitRPCClient() (*core.AbstractRPCClient, error)
type JaxTXsHistoryIndex ¶
type JaxTXsHistoryIndex struct {
TXsHistoryIndex
}
func (JaxTXsHistoryIndex) ConnectBlock ¶
func (i JaxTXsHistoryIndex) ConnectBlock(_ pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) (err error)
WARN: This code is duplicated into btc_implementation! In case of any change - please sync both implemenatations.
func (JaxTXsHistoryIndex) DisconnectBlock ¶
func (i JaxTXsHistoryIndex) DisconnectBlock(tx pgx.Tx, block *core.AbstractMsgBlock, _ int64, rpcClient *core.AbstractRPCClient) (err error)
WARN: This code is duplicated into btc_implementation! In case of any change - please sync both implemenatations.
func (JaxTXsHistoryIndex) FetchNextBlockFromNode ¶
func (i JaxTXsHistoryIndex) FetchNextBlockFromNode(offset int64, checkPrevBlock bool, rpcClient *core.AbstractRPCClient, cacheHandler *blocks_cache.CacheHandler) ( block *core.AbstractMsgBlock, prevBlockNumber, blockHeight int64, rebuildingChainBlockNumber int64, err error)
func (JaxTXsHistoryIndex) InitRPCClient ¶
func (i JaxTXsHistoryIndex) InitRPCClient() (*core.AbstractRPCClient, error)
type TXsHistoryIndex ¶
type TXsHistoryIndex struct{}
func (TXsHistoryIndex) DefaultFirstBlockForProcessing ¶
func (i TXsHistoryIndex) DefaultFirstBlockForProcessing() (blockNumber int64)
func (TXsHistoryIndex) PrepareDatabase ¶
func (i TXsHistoryIndex) PrepareDatabase() error
func (TXsHistoryIndex) SetHttpHandlers ¶
func (i TXsHistoryIndex) SetHttpHandlers(group *router.Group)
Click to show internal directories.
Click to hide internal directories.