pub enum MirrorReconcileWalletCapability {
Signing {
reason: WalletOperatorAddressUnavailableReason,
},
Broadcasting,
}Expand description
Which spending capability control.mirror.reconcile needs and cannot use, and why.
SIGNING and BROADCASTING fail for two independent reasons with two independent remedies — a
wallet that cannot sign needs its autoseed repaired or created; a wallet with
DIG_WALLET_ENABLE_LIVE_BROADCAST off needs that flag, never more $DIG. Reporting either as
MirrorReconcileRefusal::InsufficientFunds would send an operator to fund a wallet that may
already be full.
Variants§
Signing
The node has no usable operator wallet to sign a reclaim or a create with.
The same taxonomy WalletOperatorAddressResult::Unavailable uses, reused rather than
restated so the two surfaces cannot drift into two spellings of one fact.
Fields
reason: WalletOperatorAddressUnavailableReasonWhy signing is unavailable.
Broadcasting
The node could sign, but DIG_WALLET_ENABLE_LIVE_BROADCAST is off — the same guard
-32044 WALLET_NODE_SPEND_DISABLED reports elsewhere in this catalog. Retrying cannot
help; the remedy is the flag, on the machine that owns it.
Trait Implementations§
Source§impl Clone for MirrorReconcileWalletCapability
impl Clone for MirrorReconcileWalletCapability
Source§fn clone(&self) -> MirrorReconcileWalletCapability
fn clone(&self) -> MirrorReconcileWalletCapability
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more