EventBody

Undocumented in source.

Members

Aliases

check
alias check = Check!HashGraphConsensusException
Undocumented in source.

Functions

consensus
void consensus()
Undocumented in source. Be warned that the author may not have intended to support it.
eva
immutable(EventBody) eva()
Undocumented in source.
isEva
bool isEva()
Undocumented in source. Be warned that the author may not have intended to support it.
verify
bool verify()
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin HiBONRecord!(q{ this( Document payload, const Event mother, const Event father, lazy const sdt_t time) inout { this.time = time; this.mother = (mother is null)?null:mother.fingerprint; this.father = (father is null)?null:father.fingerprint; this.payload = payload; this.altitude = mother.nextAltitide; consensus(); } package this( Document payload, const Buffer mother_fingerprint, const Buffer father_fingerprint, const int altitude, lazy const sdt_t time) inout { this.time = time; this.mother = mother_fingerprint; this.father = father_fingerprint; this.payload = payload; this.altitude = altitude; consensus(); } })
Undocumented in source.

Variables

altitude
int altitude;
Undocumented in source.
eva_altitude
enum int eva_altitude;
Undocumented in source.
father
Buffer father;
Undocumented in source.
mother
Buffer mother;
Undocumented in source.
payload
Document payload;
Undocumented in source.
time
sdt_t time;
Undocumented in source.

Mixed In Members

From mixin HiBONRecord!(q{ this( Document payload, const Event mother, const Event father, lazy const sdt_t time) inout { this.time = time; this.mother = (mother is null)?null:mother.fingerprint; this.father = (father is null)?null:father.fingerprint; this.payload = payload; this.altitude = mother.nextAltitide; consensus(); } package this( Document payload, const Buffer mother_fingerprint, const Buffer father_fingerprint, const int altitude, lazy const sdt_t time) inout { this.time = time; this.mother = mother_fingerprint; this.father = father_fingerprint; this.payload = payload; this.altitude = altitude; consensus(); } })

check
alias check = Check!(HiBONRecordException)
Undocumented in source.
__anonymous
mixin JSONString
Undocumented in source.
__anonymous
mixin HiBONRecordType
Undocumented in source.
isRecord
alias isRecord = HiBONRecord.isRecord!ThisType
Undocumented in source.
HAS_TYPE
enum HAS_TYPE;
Undocumented in source.
less_than
bool less_than(Key a, Key b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHiBON
inout(HiBON) toHiBON()
Undocumented in source. Be warned that the author may not have intended to support it.
NO_DEFAULT_CTOR
enum NO_DEFAULT_CTOR;
Undocumented in source.
GetKeyName
template GetKeyName(uint i)
Undocumented in source.
_keys
string[] _keys()
keys
enum keys;
Undocumented in source.
this
this(HiBON hibon)
Undocumented in source.
this
this(Document doc)
Undocumented in source.
serialize
immutable(ubyte[]) serialize()
Undocumented in source. Be warned that the author may not have intended to support it.
toDoc
const(Document) toDoc()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta