Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockMapReducer ¶
type BlockMapReducer interface {
Initialise(client *rpc.Client) (acc interface{}, err error)
BlockRange() (blockRangeFrom, blockRangeTo uint32)
Map(client *rpc.Client, emit func(interface{}) error, block *rpc.Block) (err error)
Reduce(client *rpc.Client, acc, value interface{}) (newAcc interface{}, err error)
ProcessResults(acc interface{}, nextBlockToProcess uint32) (err error)
}
Click to show internal directories.
Click to hide internal directories.