__anonymousmixin 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();
}
})