Documentation ¶
Index ¶
- type Option
- type ReverseHashCli
- func (cli *ReverseHashCli) GenerateProof(ctx context.Context, treeRoot *merkletree.Hash, key *merkletree.Hash) (*merkletree.Proof, error)
- func (cli *ReverseHashCli) GetNode(ctx context.Context, hash *merkletree.Hash) (merkletree_proof.Node, error)
- func (cli *ReverseHashCli) SaveNodes(ctx context.Context, nodes []merkletree_proof.Node) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.1.0
type Option func(cli *ReverseHashCli) error
func WithNeedWaitReceipt ¶ added in v0.1.0
func WithRPCTimeout ¶ added in v0.1.0
func WithTxReceiptTimeout ¶ added in v0.1.0
func WithWaitReceiptCycleTime ¶ added in v0.1.0
type ReverseHashCli ¶
type ReverseHashCli struct {
// contains filtered or unexported fields
}
func NewReverseHashCli ¶
func (*ReverseHashCli) GenerateProof ¶
func (cli *ReverseHashCli) GenerateProof(ctx context.Context, treeRoot *merkletree.Hash, key *merkletree.Hash) (*merkletree.Proof, error)
Click to show internal directories.
Click to hide internal directories.