From b070415b04b4bef991256baff5fe51c2aefd3c4c Mon Sep 17 00:00:00 2001 From: jjy Date: Mon, 23 May 2022 18:17:47 +0800 Subject: [PATCH] chore: increase MAX_MEM_BLOCK_DEPOSITS and MAX_MEM_BLOCK_WITHDRAWALS to 100 --- crates/mem-pool/src/constants.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/mem-pool/src/constants.rs b/crates/mem-pool/src/constants.rs index f8ca651e9..cbee79927 100644 --- a/crates/mem-pool/src/constants.rs +++ b/crates/mem-pool/src/constants.rs @@ -1,7 +1,7 @@ /// MAX deposits in the mem block -pub const MAX_MEM_BLOCK_DEPOSITS: usize = 50; +pub const MAX_MEM_BLOCK_DEPOSITS: usize = 100; /// MAX withdrawals in the mem block -pub const MAX_MEM_BLOCK_WITHDRAWALS: usize = 50; +pub const MAX_MEM_BLOCK_WITHDRAWALS: usize = 100; /// MAX withdrawals in the mem block pub const MAX_MEM_BLOCK_TXS: usize = 1000; /// MIN CKB deposit capacity, calculated from custodian cell size