TRE class

Trust Edge Record - Durable directed trust assertion for an SDN trust graph.

A TRE records one directed truster -> trustee assertion. The current trust graph is a projection over the latest TRE records by EDGE_ID, with deleted records acting as tombstones. Implementations must still validate the projected graph for acyclicity before accepting it.

Constructors

TRE(List<int> bytes)
factory

Properties

DELETED → bool
True when this record tombstones the edge from the current graph.
no setter
EDGE_ID → String?
Stable edge identifier, normally "truster->trustee".
no setter
edgeId → String?
no setter
hashCode → int
The hash code for this object.
no setterinherited
PROVIDER_PEER_ID → String?
Peer ID of the node/provider that issued this trust edge record.
no setter
PROVIDER_SIGNATURE → List<int>?
Provider signature over the trust edge record.
no setter
providerPeerId → String?
no setter
providerSignature → List<int>?
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
TRUSTEE_ID → String?
Trusted node identifier.
no setter
trusteeId → String?
no setter
TRUSTER_ID → String?
Trusting node identifier.
no setter
trusterId → String?
no setter
UPDATED_AT → int
Unix timestamp in milliseconds when this edge was last updated.
no setter
updatedAt → int
no setter
WEIGHT → double
Truster-assigned edge weight in the range 0, 1.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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

Constants

reader → const Reader<TRE>