pub struct ArkInfo {Show 13 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 max_arkoor_depth: u16,
pub required_board_confirmations: usize,
pub max_user_invoice_cltv_delta: u16,
pub min_board_amount: Amount,
}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
max_arkoor_depth: u16Maximum number of OOR transition after VTXO tree leaf
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
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