Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VDBlockProcessor ¶
func (VDBlockProcessor) ProcessBlock ¶
func (p VDBlockProcessor) ProcessBlock(b *block.Block) error
type VDClient ¶
type VDClient struct {
// contains filtered or unexported fields
}
func (*VDClient) IsShutdown ¶
func (*VDClient) ListAllBlocksWithTx ¶
ListAllBlocksWithTx prints all non-empty blocks from genesis up to the latest block
func (*VDClient) RegisterFileHash ¶
func (*VDClient) RegisterHash ¶
func (*VDClient) RegisterHashBytes ¶
type VDClientConfig ¶
type VDClientConfig struct {
// AbConf configuration parameters of Alphabill client
AbConf *client.AlphabillClientConfig
// WaitBlock upon hash submission, waits for a block to contain a transaction with the given hash, stops when found or timeout is reached
WaitBlock bool
// BlockTimeout relative timeout of a transaction (e.g. if latest block # is 100, given block timeout is 50, transaction's timeout is 150)
BlockTimeout uint64
}
Click to show internal directories.
Click to hide internal directories.