CLI flag to configure tx ban duration (#11786)

* add tx-ban-seconds

* fix

* trigger CI

* trigger CI

* remove test print

* Update client/cli/src/params/transaction_pool_params.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Xiliang ChenandAndré Silva authored and GitHub committed 2022-07-12 11:19:13 +00:00
1 parent a1c60f0909
commit 47b27c292f
7 files changed
+31 -7

No files matched your search

+2 -2
View File
@@ -480,8 +480,8 @@ impl CliConfiguration for RunCmd {
Ok(self.ws_max_out_buffer_capacity)
}
fn transaction_pool(&self) -> Result<TransactionPoolOptions> {
Ok(self.pool_config.transaction_pool())
fn transaction_pool(&self, is_dev: bool) -> Result<TransactionPoolOptions> {
Ok(self.pool_config.transaction_pool(is_dev))
}
fn max_runtime_instances(&self) -> Result<Option<usize>> {