mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Near-complete version of the tree algorithm in the transaction-chaining scheduler
This commit is contained in:
@@ -35,6 +35,11 @@ pub trait TransactionPlanner<S: ScannerFeed, A>: 'static + Send + Sync {
|
||||
/// The type representing a signable transaction.
|
||||
type SignableTransaction: SignableTransaction;
|
||||
|
||||
/// The maximum amount of inputs allowed in a transaction.
|
||||
const MAX_INPUTS: usize;
|
||||
/// The maximum amount of outputs allowed in a transaction, including the change output.
|
||||
const MAX_OUTPUTS: usize;
|
||||
|
||||
/// Obtain the fee rate to pay.
|
||||
///
|
||||
/// This must be constant to the finalized block referenced by this block number and the coin.
|
||||
|
||||
Reference in New Issue
Block a user