- altitude
immutable(int) altitude()
Get the altitude of the event
- attach_round
void attach_round(HashGraph hashgraph)
Attach the mother round to this event
- calc_vote
void calc_vote(HashGraph hashgraph, size_t vote_node_id)
Undocumented in source. Be warned that the author may not have intended to support it.
- channel
immutable(Pubkey) channel()
Channel from which this event has received
- connect
void connect(HashGraph hashgraph)
Connect the event to the hashgraph
- connected
bool connected()
Checks if the event is connected in the graph
- containPayload
bool containPayload()
Undocumented in source. Be warned that the author may not have intended to support it.
- daughter
const(Event) daughter()
- disconnect
void disconnect(HashGraph hashgraph)
Disconnect this event from hashgraph
Used to remove events which are no longer needed
- event_body
const(EventBody) event_body()
The event-body from this event
- eventbody
const(EventBody) eventbody()
Undocumented in source. Be warned that the author may not have intended to support it.
- father
const(Event) father()
- fingerprint
immutable(Buffer) fingerprint()
Undocumented in source. Be warned that the author may not have intended to support it.
- hasRound
bool hasRound()
Check if an evnet has around
- initializeOrder
void initializeOrder()
Undocumented in source. Be warned that the author may not have intended to support it.
- isEva
bool isEva()
Undocumented in source.
- isFamous
bool isFamous()
Undocumented in source. Be warned that the author may not have intended to support it.
- isFatherLess
bool isFatherLess()
A father less event is an event where the ancestor event is connect to an Eva event without an father event
An Eva is is also defined as han father less event
This also means that the event has not valid order and must not be included in the epoch order.
- isFront
bool isFront()
Checks if this event is the last one on this node
- isGrounded
bool isGrounded()
Undocumented in source. Be warned that the author may not have intended to support it.
- isWitness
bool isWitness()
Undocumented in source. Be warned that the author may not have intended to support it.
- mother
const(Event) mother()
- nodeOwner
bool nodeOwner()
Is this event owner but this node
- opSlice
Range!true opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
- opSlice
Range!false opSlice()
Undocumented in source. Be warned that the author may not have intended to support it.
- order
int order()
Gets the event order number
- payload
const(Document) payload()
- round
const(Round) round()
- round_received
const(Round) round_received()
The recived round for this event
- round_received_mask
const(BitMask) round_received_mask()
Get the mask of the received rounds
- round_seen_mask
const(BitMask) round_seen_mask()
The rounds see forward from this event
- sees
bool sees(Event b)
Undocumented in source. Be warned that the author may not have intended to support it.
- son
const(Event) son()
Gets the son of this event
- witness
const(Witness) witness()
Gets the witness infomatioin of the event
- witness_event
void witness_event(ulong node_size)
Makes the event a witness
HashGraph Event