Documentation ¶
Index ¶
- type Client
- func (c *Client) GetBlockTimeStamp(height int64) (time.Time, error)
- func (c *Client) GetBlockTransactions(page int, minHeight int64, maxHeight int64, perPage int) ([]common.Transaction, int, error)
- func (c *Client) GetLatestBlockHeight() (int64, *time.Time, error)
- func (c *Client) ResultBlockToComTxs(resultTxSearch *rpc.ResultTxSearch, maxHeight int64) []common.Transaction
- type Keeper
- func (k *Keeper) BroadcastTx(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) GetBlockTimeStampWithCache(height int64) (time.Time, error)
- func (k *Keeper) GetMemoTxs(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) GetTx(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) GetTxs(w rest.ResponseWriter, r *rest.Request)
- func (k *Keeper) Start()
- func (k *Keeper) StartReScanAddr(addr string, timestamp int64) error
- func (k *Keeper) Stop()
- func (k *Keeper) StoreTxs(txs []common.Transaction)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetBlockTimeStamp ¶
func (*Client) GetBlockTransactions ¶
func (*Client) GetLatestBlockHeight ¶
func (*Client) ResultBlockToComTxs ¶
func (c *Client) ResultBlockToComTxs(resultTxSearch *rpc.ResultTxSearch, maxHeight int64) []common.Transaction
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func (*Keeper) BroadcastTx ¶
func (k *Keeper) BroadcastTx(w rest.ResponseWriter, r *rest.Request)
func (*Keeper) GetBlockTimeStampWithCache ¶
func (*Keeper) GetMemoTxs ¶
func (k *Keeper) GetMemoTxs(w rest.ResponseWriter, r *rest.Request)
func (*Keeper) StartReScanAddr ¶
func (*Keeper) StoreTxs ¶
func (k *Keeper) StoreTxs(txs []common.Transaction)
Click to show internal directories.
Click to hide internal directories.