Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCommitteeRankByte ¶
func ResetHeaderSignature ¶
func SetHeaderSignature ¶
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API is a user facing RPC API to allow controlling the signer and voting mechanisms of the proof-of-authority scheme.
type ExtraData ¶
type ExtraData struct { CommitteeRank []common.Address `json:"committeeRank"` // rank of committee //SentinelHeft uint64 `json:"sentinelHeft"` //sentinelHeft Signature []byte `json:"signature"` // the signature of block broadcaster }
the field "extra" store the json of ExtraData TODO re-design the struct to speed up
func UnmarshalToExtra ¶
Click to show internal directories.
Click to hide internal directories.