pub struct ArkInfo {Show 16 fields
pub network: Network,
pub server_pubkey: PublicKey,
pub mailbox_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_sat_per_kvb: u64,
pub ln_receive_anti_dos_required: bool,
pub fees: FeeSchedule,
}Fields§
§network: NetworkThe bitcoin network the server operates on
server_pubkey: PublicKeyThe Ark server pubkey
mailbox_pubkey: PublicKeyThe pubkey used for blinding unified mailbox IDs
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_sat_per_kvb: u64offboard feerate in sat per kvb
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.
fees: FeeScheduleThe fee schedule outlining any fees that must be paid to interact with the Ark server.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ArkInfo
impl<'de> Deserialize<'de> for ArkInfo
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>,
Auto Trait Implementations§
impl Freeze for ArkInfo
impl RefUnwindSafe for ArkInfo
impl Send for ArkInfo
impl Sync for ArkInfo
impl Unpin for ArkInfo
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
T in a tonic::Request