Documentation ¶
Index ¶
- type Group
- type Node
- type State
- func (s *State) AddGroup(g Group) (valid bool)
- func (s *State) AddNode(n Node) (valid bool)
- func (s State) GroupAddressList() []common.Address
- func (s State) GroupPubkey(a common.Address) bls.Pubkey
- func (s State) Log()
- func (s State) NewRandomGroup(r bls.Rand, n uint16) Group
- func (s State) NodeAddressList() []common.Address
- func (s State) Rand() bls.Rand
- func (s State) SelectedGroupAddress() common.Address
- func (s State) SelectedGroupPubkey() bls.Pubkey
- func (s *State) SetSignature(sig bls.Signature)
- func (s State) String(long bool) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Group ¶
type Group struct {
// contains filtered or unexported fields
}
Group -- encodes all data of a group as recorded on the blockchain
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
Node -- encodes the information with which a process (=node) is registered on the blockchain
type State ¶
type State struct {
// contains filtered or unexported fields
}
State -- encodes the state of the chain (state of 1 block)
func (State) GroupAddressList ¶
GroupAddressList --
func (State) NewRandomGroup ¶
NewRandomGroup --
func (State) SelectedGroupAddress ¶
SelectedGroupAddress --
func (State) SelectedGroupPubkey ¶
SelectedGroupPubkey --
Click to show internal directories.
Click to hide internal directories.