ForeignEngine class abstract

A consensus engine implemented in Dart and plugged into a mixture by id. The pipeline stays native; Dart supplies the justification policy. Both methods run synchronously inside consensus, must be deterministic, and must not call back into the chain.

Constructors

ForeignEngine()
Allows subclasses to be const.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

justify(Uint8List block) → Uint8List?
The justification for a block this node proposed, at most 4096 bytes, or null to refuse.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
verify(Uint8List block, Uint8List justification) → bool
Whether justification is valid for block.

Operators

operator ==(Object other) → bool
The equality operator.
inherited