pub struct WalletBroadcastParams {
pub signed_bundle_hex: String,
}Expand description
control.wallet.broadcast params: an ALREADY-SIGNED spend bundle to push.
§The custody boundary (§908)
This carries signed bytes and nothing else. There is deliberately no key, no seed, no phrase and no unsigned-spend-plus-key field here, and there never may be: the node’s role on the money path is to read chain state and to push what somebody else signed. A parameter that let the node produce a signature would move custody into an identity-agnostic daemon, which is the one thing the boundary exists to prevent.
Fields§
§signed_bundle_hex: StringThe signed spend bundle: lowercase hex of its chia Streamable serialization.
Trait Implementations§
Source§impl Clone for WalletBroadcastParams
impl Clone for WalletBroadcastParams
Source§fn clone(&self) -> WalletBroadcastParams
fn clone(&self) -> WalletBroadcastParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ControlCall for WalletBroadcastParams
impl ControlCall for WalletBroadcastParams
Source§const METHOD: ControlMethod = ControlMethod::WalletBroadcast
const METHOD: ControlMethod = ControlMethod::WalletBroadcast
The wire method this call invokes.
Source§type Output = WalletBroadcastResult
type Output = WalletBroadcastResult
The typed result this call returns on success.
Source§impl Debug for WalletBroadcastParams
impl Debug for WalletBroadcastParams
Source§impl<'de> Deserialize<'de> for WalletBroadcastParams
impl<'de> Deserialize<'de> for WalletBroadcastParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WalletBroadcastParams
Source§impl PartialEq for WalletBroadcastParams
impl PartialEq for WalletBroadcastParams
Source§impl Serialize for WalletBroadcastParams
impl Serialize for WalletBroadcastParams
impl StructuralPartialEq for WalletBroadcastParams
Auto Trait Implementations§
impl Freeze for WalletBroadcastParams
impl RefUnwindSafe for WalletBroadcastParams
impl Send for WalletBroadcastParams
impl Sync for WalletBroadcastParams
impl Unpin for WalletBroadcastParams
impl UnsafeUnpin for WalletBroadcastParams
impl UnwindSafe for WalletBroadcastParams
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
Mutably borrows from an owned value. Read more