Structsยง
- Client
Input - Client
Input Bundle - A group of inputs and state machines responsible for driving their state
- Client
InputSM - Client
Output - Client
Output Bundle - Client
OutputSM - FeeQuote
- Breakdown of the fee finalizing a transaction would incur, as computed by
Client::fee_quote(a dry-run of the same balancing the real submission performs). - FeeQuote
Request - The explicit (operation-supplied) side of a transaction, summarized for a
fee quote via
Client::fee_quote. - Transaction
Builder
Enumsยง
- Never
Client Context - A fake
sm::ContextforNeverClientStateMachine - Never
Client State Machine - A fake
sm::Statethat can actually never happen.
Functionsยง
- find_
range_ ๐of_ matching_ items - Find the range of indexes in an monotonically increasing
arr, that is equal toitem - max_
affordable_ send_ amount - Finds the largest send amount payable in full out of
balancewhen the payment carries both an external per-amount fee (e.g. a Lightning gateway routing fee) and the on-federation transaction fee. - send_
amount_ ๐affordable - Whether sending
amountis payable in full out ofbalance: the funded valuegross_up(amount)plus its federationfee_quotemust fit within the balance. A quote error (the balance cannot fund a value this large) counts as unaffordable, making this safe as the monotone predicate formax_affordable_send_amount. - state_
gen_ ๐to_ dyn