tagion.hashgraph.HashGraphBasic

HashGraph basic support functions

Members

Aliases

Tides
alias Tides = int[Pubkey]
Undocumented in source.
convertState
alias convertState = convertEnum!(ExchangeState, GossipConsensusException)
Undocumented in source.

Enums

ExchangeState
enum ExchangeState
Undocumented in source.

Functions

higher
bool higher(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
highest
T highest(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
isAllVotes
bool isAllVotes(const(BitMask) mask, HashGraph hashgraph)
Undocumented in source. Be warned that the author may not have intended to support it.
isMajority
bool isMajority(size_t voting, size_t node_size)

Calculates the majority votes

isMajority
bool isMajority(T voting, S node_size)
Undocumented in source. Be warned that the author may not have intended to support it.
isMajority
bool isMajority(const(BitMask) mask, HashGraph hashgraph)
Undocumented in source. Be warned that the author may not have intended to support it.
nextAltitide
int nextAltitide(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

_params
enum _params;
Undocumented in source.
minimum_nodes
enum minimum_nodes;
Undocumented in source.

Structs

EvaPayload
struct EvaPayload
Undocumented in source.
EventBody
struct EventBody
Undocumented in source.
EventPackage
struct EventPackage
Undocumented in source.
Wavefront
struct Wavefront
Undocumented in source.

Variables

eva_altitude
enum int eva_altitude;
Undocumented in source.

Meta