BlockHeadersStoredEvent class

Block headers stored Block headers were stored: how many, and the heights they span.

This is how an application follows the header chain. There was a second, emptier way — a HeaderSyncProgressEvent that nothing in the library ever constructed — and it is gone (bead libspiffy-7ye4). The initial CDN download reports its own progress through LibSpiffyActorSystem.initialize(onHeaderSyncProgress:), which gives the headers downloaded, the total, and the phase; every batch of headers stored after that is this event.

Inheritance

Constructors

BlockHeadersStoredEvent({required int headersStored, required int startHeight, required int endHeight, required bool success, String? error})

Properties

endHeight → int
final
error → String?
final
eventTimestamp → DateTime
Timestamp of the event
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
headersStored → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startHeight → int
final
success → bool
final
walletId → String?
Optional wallet ID for filtering events by wallet
no setteroverride

Methods

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

Operators

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