Documentation ¶
Index ¶
- type Client
- func (c *Client) GetLedgerGenesis(ctx context.Context) ([]byte, io.Closer, error)
- func (c *Client) GetLedgerGenesisB64() string
- func (c *Client) GetLedgerLastBlock() uint64
- func (c *Client) GetLedgerStateDelta(ctx context.Context, round uint64) ([]byte, io.Closer, error)
- func (c *Client) PutLedgerBlockData(context context.Context, round uint64, bData []byte) error
- func (c *Client) PutLedgerGenesis(context context.Context, gData []byte) error
- func (c *Client) WaitLedgerBlock(ctx context.Context, round uint64) (uint64, error)
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 the database client
func (*Client) GetLedgerGenesis ¶
func (*Client) GetLedgerGenesisB64 ¶
func (*Client) GetLedgerLastBlock ¶
func (*Client) GetLedgerStateDelta ¶
func (*Client) PutLedgerBlockData ¶
func (*Client) PutLedgerGenesis ¶
Click to show internal directories.
Click to hide internal directories.