reduce confirmation wait time

This commit is contained in:
Peter Zhang 2024-07-23 08:40:55 +08:00
parent 085c34beb0
commit 5ea30c6c13
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ build_config! {
(blockchain_rpc_endpoint, (String), "http://127.0.0.1:8545".to_string()) (blockchain_rpc_endpoint, (String), "http://127.0.0.1:8545".to_string())
(log_contract_address, (String), "".to_string()) (log_contract_address, (String), "".to_string())
(log_sync_start_block_number, (u64), 0) (log_sync_start_block_number, (u64), 0)
(confirmation_block_count, (u64), 12) (confirmation_block_count, (u64), 6)
(log_page_size, (u64), 999) (log_page_size, (u64), 999)
(max_cache_data_size, (usize), 100 * 1024 * 1024) // 100 MB (max_cache_data_size, (usize), 100 * 1024 * 1024) // 100 MB
(cache_tx_seq_ttl, (usize), 500) (cache_tx_seq_ttl, (usize), 500)

View File

@ -87,7 +87,7 @@ log_contract_address = "0x8873cc79c5b3b5666535C825205C9a128B1D75F1"
log_sync_start_block_number = 802 log_sync_start_block_number = 802
# Number of blocks to confirm a transaction. # Number of blocks to confirm a transaction.
# confirmation_block_count = 12 # confirmation_block_count = 6
# Maximum number of event logs to poll at a time. # Maximum number of event logs to poll at a time.
# log_page_size = 999 # log_page_size = 999

View File

@ -87,7 +87,7 @@
# log_sync_start_block_number = 0 # log_sync_start_block_number = 0
# Number of blocks to confirm a transaction. # Number of blocks to confirm a transaction.
# confirmation_block_count = 12 # confirmation_block_count = 6
# Maximum number of event logs to poll at a time. # Maximum number of event logs to poll at a time.
# log_page_size = 999 # log_page_size = 999