pub struct UpdateMultiaddrsArgs {
pub multiaddrs: Vec<String>,
pub chain: ChainArgs,
}Expand description
decdn node update-multiaddrs — (re)publish the operator’s dialable QUIC
addresses via CapacityBond.updateMultiaddrs (#1908). See
NodeCommand::UpdateMultiaddrs for the full description. Performs an
on-chain transaction rather than talking to a running node’s admin RPC.
Fields§
§multiaddrs: Vec<String>QUIC multiaddr to publish, e.g. /ip4/203.0.113.10/udp/4433/quic-v1,
plus /ip6/2001:db8::10/udp/4433/quic-v1 on a dual-stack host.
Repeatable; at least one is required — the whole point of this command
is to advertise a non-empty set, so clearing addresses back to empty is
deliberately not offered here (it would re-create the relay-pinned
footgun). The set fully replaces whatever is on-chain (the contract
stores the field verbatim, it does not merge).
chain: ChainArgsChain coordinates: RPC endpoint, contract addresses, and keystore.
Trait Implementations§
Source§impl Args for UpdateMultiaddrsArgs
impl Args for UpdateMultiaddrsArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for UpdateMultiaddrsArgs
impl Debug for UpdateMultiaddrsArgs
Source§impl FromArgMatches for UpdateMultiaddrsArgs
impl FromArgMatches for UpdateMultiaddrsArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for UpdateMultiaddrsArgs
impl RefUnwindSafe for UpdateMultiaddrsArgs
impl Send for UpdateMultiaddrsArgs
impl Sync for UpdateMultiaddrsArgs
impl Unpin for UpdateMultiaddrsArgs
impl UnsafeUnpin for UpdateMultiaddrsArgs
impl UnwindSafe for UpdateMultiaddrsArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more