Documentation ¶
Index ¶
- type MockSignedBlock
- func (msb *MockSignedBlock) Data() string
- func (msb *MockSignedBlock) GetSignee() (interface{}, error)
- func (msb *MockSignedBlock) Id() common.BlockID
- func (msb *MockSignedBlock) Marshall() ([]byte, error)
- func (msb *MockSignedBlock) Previous() common.BlockID
- func (msb *MockSignedBlock) Set(data string, num uint64, prev common.BlockID)
- func (msb *MockSignedBlock) Timestamp() uint64
- func (msb *MockSignedBlock) Unmarshall(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSignedBlock ¶
func (*MockSignedBlock) Data ¶
func (msb *MockSignedBlock) Data() string
func (*MockSignedBlock) GetSignee ¶
func (msb *MockSignedBlock) GetSignee() (interface{}, error)
func (*MockSignedBlock) Id ¶
func (msb *MockSignedBlock) Id() common.BlockID
func (*MockSignedBlock) Marshall ¶
func (msb *MockSignedBlock) Marshall() ([]byte, error)
func (*MockSignedBlock) Previous ¶
func (msb *MockSignedBlock) Previous() common.BlockID
func (*MockSignedBlock) Set ¶
func (msb *MockSignedBlock) Set(data string, num uint64, prev common.BlockID)
func (*MockSignedBlock) Timestamp ¶
func (msb *MockSignedBlock) Timestamp() uint64
func (*MockSignedBlock) Unmarshall ¶
func (msb *MockSignedBlock) Unmarshall(b []byte) error
Click to show internal directories.
Click to hide internal directories.