LiteSVM / litesvm

Apache License 2.0
68 stars 11 forks source link

Allow the user to configure transaction history capacity #22

Closed kevinheavey closed 5 months ago

kevinheavey commented 5 months ago

Maybe something like:

pub fn with_transaction_history(capacity: usize) {
    self.history = TransactionHistory::new(capacity)
}