Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDFromBatch ¶
IDFromBatch gets an ID from the hash of a protocol
Types ¶
type Counter ¶
type Counter func() int
Counter is a function that return an incremented value at each call by one
type DefaultMembersProvider ¶
type DefaultMembersProvider struct {
WLP network.WhiteListProvider
}
DefaultMembersProvider is an implementation of MembersProvider
func (*DefaultMembersProvider) GetMembers ¶
func (d *DefaultMembersProvider) GetMembers() []identity.ID
GetMembers return the list of all the members
type IDList ¶
IDList is a wrapper for a list of identity.ID
func (IDList) FirstHigherThan ¶
FirstHigherThan returns the first record in IDList higher than a given reference identity.ID.
func (IDList) Max ¶
Max returns the position of the identity.ID with the biggest bigint representation
type MemberProvider ¶
MemberProvider is a helper for getting co-peers in permissioned network
Click to show internal directories.
Click to hide internal directories.