pub struct MirrorReconcileParams {
pub dry_run: bool,
}Expand description
control.mirror.reconcile params: reconcile this node’s mirror coins to its CURRENT advertise
URL.
§dry_run prices the plan without spending
true returns results::MirrorReconcileResult::Planned — how many capsules are stale, how
many are affordable, the collateral round-trip and fee — and spends nothing. false (the
default when omitted) executes the plan for real. Unlike WalletResetCoinDbParams::confirm,
an omitted field here does NOT
refuse the call: this field means “did the caller ask to preview”, not “did the caller confirm
a destructive action”, so omitting it reads as “reconcile for real”, the same as writing
false explicitly.
§This call takes no other parameter
There is no URL to pass: the URL this reconciles TOWARD is whatever this node is CURRENTLY
configured to advertise (dig-node#562’s derived-or-override view), never a value the caller
supplies. A caller wanting a DIFFERENT URL sets it first via
SetMirrorAdvertiseUrlsParams, then reconciles.
Fields§
§dry_run: boolPrice the plan without spending. Defaults to false when omitted — an omitted field
reconciles for REAL.
Trait Implementations§
Source§impl Clone for MirrorReconcileParams
impl Clone for MirrorReconcileParams
Source§fn clone(&self) -> MirrorReconcileParams
fn clone(&self) -> MirrorReconcileParams
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more