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