mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-20 15:05:19 +00:00
reduce confirmation wait time
This commit is contained in:
parent
085c34beb0
commit
5ea30c6c13
@ -33,7 +33,7 @@ build_config! {
|
||||
(blockchain_rpc_endpoint, (String), "http://127.0.0.1:8545".to_string())
|
||||
(log_contract_address, (String), "".to_string())
|
||||
(log_sync_start_block_number, (u64), 0)
|
||||
(confirmation_block_count, (u64), 12)
|
||||
(confirmation_block_count, (u64), 6)
|
||||
(log_page_size, (u64), 999)
|
||||
(max_cache_data_size, (usize), 100 * 1024 * 1024) // 100 MB
|
||||
(cache_tx_seq_ttl, (usize), 500)
|
||||
|
@ -87,7 +87,7 @@ log_contract_address = "0x8873cc79c5b3b5666535C825205C9a128B1D75F1"
|
||||
log_sync_start_block_number = 802
|
||||
|
||||
# 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.
|
||||
# log_page_size = 999
|
||||
|
@ -87,7 +87,7 @@
|
||||
# log_sync_start_block_number = 0
|
||||
|
||||
# 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.
|
||||
# log_page_size = 999
|
||||
|
Loading…
Reference in New Issue
Block a user