RecorderBlock

Undocumented in source.

Members

Mixins

__anonymous
mixin HiBONRecord!(q{ this( Document recorder_doc, Fingerprint previous, Fingerprint bullseye, long epoch_number, const(HashNet) net) { this.recorder_doc = recorder_doc; this.previous = previous; this.bullseye = bullseye; this.epoch_number = epoch_number; this.fingerprint = net.calcHash(toDoc); } this( const(Document) doc, const(HashNet) net) { this(doc); this.fingerprint = net.calcHash(toDoc); } })

Ctor creates block from recorder, previous hash and bullseye. @param recorder_doc - Document with recorder for block @param previous - fingerprint of the previous block @param bullseye - bullseye of database @param net - hash net

Variables

bullseye
Fingerprint bullseye;

Bullseye of DART database

epoch_number
long epoch_number;

Epoch number

fingerprint
Fingerprint fingerprint;

Fingerprint of this block

previous
Fingerprint previous;

Fingerprint of the previous block

recorder_doc
Document recorder_doc;

Recorder with database changes of this block

Mixed In Members

From mixin HiBONRecord!(q{ this( Document recorder_doc, Fingerprint previous, Fingerprint bullseye, long epoch_number, const(HashNet) net) { this.recorder_doc = recorder_doc; this.previous = previous; this.bullseye = bullseye; this.epoch_number = epoch_number; this.fingerprint = net.calcHash(toDoc); } this( const(Document) doc, const(HashNet) net) { this(doc); this.fingerprint = net.calcHash(toDoc); } })

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