pub struct ArkInfo {Show 14 fields
pub network: Network,
pub server_pubkey: PublicKey,
pub round_interval: Duration,
pub nb_round_nonces: usize,
pub vtxo_exit_delta: BlockDelta,
pub vtxo_expiry_delta: BlockDelta,
pub htlc_send_expiry_delta: BlockDelta,
pub htlc_expiry_delta: BlockDelta,
pub max_vtxo_amount: Option<Amount>,
pub required_board_confirmations: usize,
pub max_user_invoice_cltv_delta: u16,
pub min_board_amount: Amount,
pub offboard_feerate: FeeRate,
pub ln_receive_anti_dos_required: bool,
}Fields§
§network: NetworkThe bitcoin network the server operates on
server_pubkey: PublicKeyThe Ark server pubkey
round_interval: DurationThe interval between each round
nb_round_nonces: usizeNumber of nonces per round
vtxo_exit_delta: BlockDeltaDelta between exit confirmation and coins becoming spendable
vtxo_expiry_delta: BlockDeltaExpiration delta of the VTXO
htlc_send_expiry_delta: BlockDeltaThe number of blocks after which an HTLC-send VTXO expires once granted.
htlc_expiry_delta: BlockDeltaThe number of blocks to keep between Lightning and Ark HTLCs expiries
max_vtxo_amount: Option<Amount>Maximum amount of a VTXO
required_board_confirmations: usizeThe number of confirmations required to register a board vtxo
max_user_invoice_cltv_delta: u16Maximum CLTV delta server will allow clients to request an invoice generation with.
min_board_amount: AmountMinimum amount for a board the server will cosign
offboard_feerate: FeeRate§ln_receive_anti_dos_required: boolIndicates whether the Ark server requires clients to either provide a VTXO ownership proof, or a lightning receive token when preparing a lightning claim.
Trait Implementations§
impl Copy for ArkInfo
impl Eq for ArkInfo
impl StructuralPartialEq for ArkInfo
Auto Trait Implementations§
impl Freeze for ArkInfo
impl RefUnwindSafe for ArkInfo
impl Send for ArkInfo
impl Sync for ArkInfo
impl Unpin for ArkInfo
impl UnwindSafe for ArkInfo
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<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.