pub enum Warning {
Show 14 variants
NeedConnections {
connected: usize,
required: usize,
},
PeerTimedOut,
CouldNotConnect,
NoCompactFilters,
PotentialStaleTip,
UnsolicitedMessage,
InvalidStartHeight,
CorruptedHeaders,
TransactionRejected {
payload: RejectPayload,
},
FailedPersistence {
warning: String,
},
EvaluatingFork,
EmptyPeerDatabase,
UnexpectedSyncError {
warning: String,
},
ChannelDropped,
}Expand description
Warnings a node may issue while running.
Variants§
NeedConnections
The node is looking for connections to peers.
PeerTimedOut
A connection to a peer timed out.
CouldNotConnect
The node was unable to connect to a peer in the database.
NoCompactFilters
A connection was maintained, but the peer does not signal for compact block filers.
PotentialStaleTip
The node has been waiting for new inv and will find new peers to avoid block withholding.
UnsolicitedMessage
A peer sent us a peer-to-peer message the node did not request.
InvalidStartHeight
The provided anchor is deeper than the database history. Recoverable by deleting the headers from the database or starting from a higher point in the chain.
CorruptedHeaders
The headers in the database do not link together. Recoverable by deleting the database.
TransactionRejected
A transaction got rejected, likely for being an insufficient fee or non-standard transaction.
Fields
payload: RejectPayloadThe transaction ID and reject reason, if it exists.
FailedPersistence
A database failed to persist some data.
EvaluatingFork
The peer sent us a potential fork.
EmptyPeerDatabase
The peer database has no values.
UnexpectedSyncError
An unexpected error occurred processing a peer-to-peer message.
ChannelDropped
A channel that was supposed to receive a message was dropped.