Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for communicating with the nBTC indexer worker. It wraps the btcindexer API client to add retry logic.
func (*Client) GetLatestHeight ¶
GetLatestHeight returns the latest block height known to the indexer
func (*Client) SendBlocks ¶
SendBlocks sends a batch of blocks to the indexer with a retry mechanism. TODO: this should not block the main process probably we should use CF queues
Click to show internal directories.
Click to hide internal directories.