pub struct TrampolineHop {
pub pubkey: PublicKey,
pub node_features: NodeFeatures,
pub fee_msat: u64,
pub cltv_expiry_delta: u32,
}Expand description
A Trampoline hop in a route, and additional metadata about it. “Hop” is defined as a node.
Fields§
§pubkey: PublicKeyThe node_id of the node at this hop.
node_features: NodeFeaturesThe node_announcement features of the node at this hop.
fee_msat: u64The fee this hop should use to pay for routing towards the next Trampoline hop, or to the
recipient if this is the last Trampoline hop.
If this is the last Trampoline hop within BlindedTail, this is the fee paid for the use of
the entire blinded path.
cltv_expiry_delta: u32The CLTV delta added for this hop.
If this is the last Trampoline hop within BlindedTail, this is the CLTV delta for the entire
blinded path.
Trait Implementations§
Source§impl Clone for TrampolineHop
impl Clone for TrampolineHop
Source§fn clone(&self) -> TrampolineHop
fn clone(&self) -> TrampolineHop
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TrampolineHop
impl Debug for TrampolineHop
Source§impl Hash for TrampolineHop
impl Hash for TrampolineHop
Source§impl PartialEq for TrampolineHop
impl PartialEq for TrampolineHop
Source§impl Readable for TrampolineHop
impl Readable for TrampolineHop
Source§impl Writeable for TrampolineHop
impl Writeable for TrampolineHop
impl Eq for TrampolineHop
impl StructuralPartialEq for TrampolineHop
Auto Trait Implementations§
impl Freeze for TrampolineHop
impl RefUnwindSafe for TrampolineHop
impl Send for TrampolineHop
impl Sync for TrampolineHop
impl Unpin for TrampolineHop
impl UnwindSafe for TrampolineHop
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§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Reads a
Self in from the given LengthLimitedRead.