Documentation ¶
Index ¶
- type BlockInterface
- func (_m *BlockInterface) BodyHash() common.Hash
- func (_m *BlockInterface) CommitteeFromBlock() common.Hash
- func (_m *BlockInterface) FullHashString() string
- func (_m *BlockInterface) GetAggregateRootHash() common.Hash
- func (_m *BlockInterface) GetBeaconHeight() uint64
- func (_m *BlockInterface) GetConsensusType() string
- func (_m *BlockInterface) GetCurrentEpoch() uint64
- func (_m *BlockInterface) GetFinalityHeight() uint64
- func (_m *BlockInterface) GetHeight() uint64
- func (_m *BlockInterface) GetInstructions() [][]string
- func (_m *BlockInterface) GetPrevHash() common.Hash
- func (_m *BlockInterface) GetProduceTime() int64
- func (_m *BlockInterface) GetProducer() string
- func (_m *BlockInterface) GetProposeTime() int64
- func (_m *BlockInterface) GetProposer() string
- func (_m *BlockInterface) GetRound() int
- func (_m *BlockInterface) GetRoundKey() string
- func (_m *BlockInterface) GetShardID() int
- func (_m *BlockInterface) GetValidationField() string
- func (_m *BlockInterface) GetVersion() int
- func (_m *BlockInterface) Hash() *common.Hash
- func (_m *BlockInterface) ProposeHash() *common.Hash
- func (_m *BlockInterface) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockInterface ¶
BlockInterface is an autogenerated mock type for the BlockInterface type
func (*BlockInterface) BodyHash ¶
func (_m *BlockInterface) BodyHash() common.Hash
BodyHash provides a mock function with given fields:
func (*BlockInterface) CommitteeFromBlock ¶
func (_m *BlockInterface) CommitteeFromBlock() common.Hash
CommitteeFromBlock provides a mock function with given fields:
func (*BlockInterface) FullHashString ¶
func (_m *BlockInterface) FullHashString() string
func (*BlockInterface) GetAggregateRootHash ¶
func (_m *BlockInterface) GetAggregateRootHash() common.Hash
GetAggregateRootHash provides a mock function with given fields:
func (*BlockInterface) GetBeaconHeight ¶
func (_m *BlockInterface) GetBeaconHeight() uint64
func (*BlockInterface) GetConsensusType ¶
func (_m *BlockInterface) GetConsensusType() string
GetConsensusType provides a mock function with given fields:
func (*BlockInterface) GetCurrentEpoch ¶
func (_m *BlockInterface) GetCurrentEpoch() uint64
GetCurrentEpoch provides a mock function with given fields:
func (*BlockInterface) GetFinalityHeight ¶
func (_m *BlockInterface) GetFinalityHeight() uint64
GetFinalityHeight provides a mock function with given fields:
func (*BlockInterface) GetHeight ¶
func (_m *BlockInterface) GetHeight() uint64
GetHeight provides a mock function with given fields:
func (*BlockInterface) GetInstructions ¶
func (_m *BlockInterface) GetInstructions() [][]string
GetInstructions provides a mock function with given fields:
func (*BlockInterface) GetPrevHash ¶
func (_m *BlockInterface) GetPrevHash() common.Hash
GetPrevHash provides a mock function with given fields:
func (*BlockInterface) GetProduceTime ¶
func (_m *BlockInterface) GetProduceTime() int64
GetProduceTime provides a mock function with given fields:
func (*BlockInterface) GetProducer ¶
func (_m *BlockInterface) GetProducer() string
GetProducer provides a mock function with given fields:
func (*BlockInterface) GetProposeTime ¶
func (_m *BlockInterface) GetProposeTime() int64
GetProposeTime provides a mock function with given fields:
func (*BlockInterface) GetProposer ¶
func (_m *BlockInterface) GetProposer() string
GetProposer provides a mock function with given fields:
func (*BlockInterface) GetRound ¶
func (_m *BlockInterface) GetRound() int
GetRound provides a mock function with given fields:
func (*BlockInterface) GetRoundKey ¶
func (_m *BlockInterface) GetRoundKey() string
GetRoundKey provides a mock function with given fields:
func (*BlockInterface) GetShardID ¶
func (_m *BlockInterface) GetShardID() int
GetShardID provides a mock function with given fields:
func (*BlockInterface) GetValidationField ¶
func (_m *BlockInterface) GetValidationField() string
GetValidationField provides a mock function with given fields:
func (*BlockInterface) GetVersion ¶
func (_m *BlockInterface) GetVersion() int
GetVersion provides a mock function with given fields:
func (*BlockInterface) Hash ¶
func (_m *BlockInterface) Hash() *common.Hash
Hash provides a mock function with given fields:
func (*BlockInterface) ProposeHash ¶
func (_m *BlockInterface) ProposeHash() *common.Hash
func (*BlockInterface) Type ¶
func (_m *BlockInterface) Type() string
Type provides a mock function with given fields: