Documentation
Tagion
Round.add
tagion
hashgraph
Round
Round
Adds the even to round
class
Round
package final pure nothrow
void
add
(
Event
event
)
in (_events[event.node_id] is null, "Event at node_id " ~ event.node_id.to!string ~ " should only be added once")
Parameters
event
Event
the event to be added
tagion
hashgraph
Round
Round
functions
add
completed
decided
empty
event
event_count
events
isDecided
majority
next
node_size
opSlice
pattern
previous
remove
valid_witness
properties
round_votes
structs
Rounder
variables
_visit_node_mask
Adds the even to round