ValidationStamp class

ValidationStamp represents the validation performs by the coordinator

Annotations
  • @freezed

Constructors

ValidationStamp({LedgerOperations? ledgerOperations, String? proofOfIntegrity, String? proofOfWork, String? signature, int? timestamp, int? protocolVersion})
const
factory
ValidationStamp.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $ValidationStampCopyWith<ValidationStamp>
Create a copy of ValidationStamp with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
ledgerOperations → LedgerOperations?
All the operations performed by the transaction
no setterinherited
proofOfIntegrity → String?
Hash of the previous proof of integrity and the transaction
no setterinherited
proofOfWork → String?
Public key matching the origin signature
no setterinherited
protocolVersion → int?
Version of the transaction validation protocol
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature → String?
Coordinator signature of the stamp
no setterinherited
timestamp → int?
Timestamp
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this ValidationStamp to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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