Documentation
¶
Index ¶
Constants ¶
View Source
const Eight = 8
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeaderTest ¶
type HeaderTest struct {
Version int32 `hsp:"01"`
TestName string `hsp:"00"`
TestArray []byte
S Struct
Producer proto.NodeID `hsp:"02"`
GenesisHash []hash.Hash `hsp:"06"`
ParentHash []*hash.Hash `hsp:"03"`
MerkleRoot *[]*hash.Hash `hsp:"05"`
Timestamp time.Time `hsp:"04"`
// contains filtered or unexported fields
}
HeaderTest is a block header.
type HeaderTest2 ¶
type HeaderTest2 struct {
S Struct // position is not relevant
Version2 int32 `hsp:"01"`
TestName2 string `hsp:"00"`
TestArray []byte
Producer2 proto.NodeID `hsp:"02"`
GenesisHash2 []hash.Hash `hsp:"06"`
ParentHash2 []*hash.Hash `hsp:"03"`
MerkleRoot2 *[]*hash.Hash `hsp:"05"`
Timestamp2 time.Time `hsp:"04"`
// contains filtered or unexported fields
}
HeaderTest is a block header.
Click to show internal directories.
Click to hide internal directories.