pub struct TaprootOutput {
pub vout: u32,
pub output_pubkey: Vec<u8>,
pub value: u64,
}Expand description
One of a transaction’s taproot outputs — a scan candidate. Carried in
TweakEntry::taproot_outputs so a client can confirm a derived output key
against the actual on-chain output without fetching the transaction.
Fields§
§vout: u32Output index within the transaction.
output_pubkey: Vec<u8>32-byte x-only taproot output key, internal (consensus) byte order — the
raw scriptPubKey push, unreversed. Compare it directly against a
derived P_k.x_only_public_key().serialize() with no byte flip.
value: u64Output value in satoshis.
Trait Implementations§
Source§impl Clone for TaprootOutput
impl Clone for TaprootOutput
Source§impl Debug for TaprootOutput
impl Debug for TaprootOutput
impl Eq for TaprootOutput
Source§impl PartialEq for TaprootOutput
impl PartialEq for TaprootOutput
impl StructuralPartialEq for TaprootOutput
Auto Trait Implementations§
impl Freeze for TaprootOutput
impl RefUnwindSafe for TaprootOutput
impl Send for TaprootOutput
impl Sync for TaprootOutput
impl Unpin for TaprootOutput
impl UnsafeUnpin for TaprootOutput
impl UnwindSafe for TaprootOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request