Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Block ¶
type Block interface {
GetHeight() uint64
GetTxs() []Transaction
GetMetadata(columns types.SQLColumnNames) (map[string]interface{}, error)
}
type Chain ¶
type Chain interface {
GetChainID() string
GetVersion() string
ConsumeBlocks(ctx context.Context, in *rpcevents.BlockRange, consumer func(Block) error) error
StatusMessage(ctx context.Context, lastProcessedHeight uint64) []interface{}
Connectivity() connectivity.State
GetABI(ctx context.Context, address crypto.Address) (string, error)
Close() error
}
Click to show internal directories.
Click to hide internal directories.