Documentation
Tagion
HashGraph.isMajority
tagion
hashgraph
HashGraph
HashGraph
Checks if votes is the majority
class
HashGraph
@
nogc
const pure nothrow
bool
isMajority
(
const
size_t
votes
)
Parameters
votes
size_t
number of votes
Return Value
Type:
bool
tagion
hashgraph
HashGraph
HashGraph
classes
Node
Register
constructors
this
functions
areWeInGraph
buildWavefront
channel
channels
createEvaEvent
create_init_tide
eliminate
eva_pack
event_pack
getNode
isMajority
net
next_event_id
next_node_id
node
nodes
number_of_registered_event
opSlice
owner_node
register
register_wavefront
removeNode
rounds
select_channel
sharpResponse
sharpWave
tidalWave
wavefront_response
variables
_rounds
node_size
Checks if votes is the majority