Documentation
¶
Index ¶
- Variables
- func AddBlock(chain string, blockNumber uint64) error
- func AddBlockTransactions(chain string, block *types.Block, side string) error
- func AddTransaction(chain string, blockNumber uint64, blockTime uint64, tx types.Transaction, ...) error
- func BacklogWait(chain string) error
- func BlockInQueue(chain string, block uint64) (bool, error)
- func BlockIndexComplete(chain string, block string) (bool, error)
- func ChainBlocks(chain string) ([]int64, error)
- func GetNextBlock(chain string) (uint64, error)
- func GetNextTx(chain string, order string) (*types.Transaction, string, error)
- func IndexComplete(chain string, block string, txid string) (bool, error)
- func Init() error
- func OrphanedBlocks(chain string) ([]int64, error)
- func Outstanding(chain string) bool
- func PendingTxs(chain string) ([]string, error)
- func PendingTxsCount(chain string) (int64, error)
- func RemoveBlock(chain string, block uint64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Client *redis.Client
)
Functions ¶
func AddBlockTransactions ¶
func AddTransaction ¶
func BacklogWait ¶
func ChainBlocks ¶
func GetNextBlock ¶
func OrphanedBlocks ¶
func Outstanding ¶
func PendingTxs ¶
func PendingTxsCount ¶
func RemoveBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.