update defaut config

This commit is contained in:
Peter Zhang 2024-08-10 08:42:59 +08:00
parent 53449e1faa
commit ad7dc1ad8e
3 changed files with 9 additions and 8 deletions

2
Cargo.lock generated
View File

@ -8542,7 +8542,7 @@ dependencies = [
[[package]]
name = "zgs_node"
version = "0.3.0"
version = "0.4.1"
dependencies = [
"anyhow",
"chunk_pool",

View File

@ -1,6 +1,6 @@
[package]
name = "zgs_node"
version = "0.3.0"
version = "0.4.1"
edition = "2021"
[dependencies]

View File

@ -33,7 +33,7 @@
# List of nodes to bootstrap UDP discovery. Note, `network_enr_address` should be
# configured as well to enable UDP discovery.
network_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmTVDGNhkHD98zDnJxQWu3i1FL1aFYeh9wiQTNu4pDCgps","/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAkzRjxK2gorngB1Xq84qDrT4hSVznYDHj6BkbaE4SGx9oS","/ip4/18.167.69.68/udp/1234/p2p/16Uiu2HAm2k6ua2mGgvZ8rTMV8GhpW71aVzkQWy7D37TTDuLCpgmX"]
network_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmTVDGNhkHD98zDnJxQWu3i1FL1aFYeh9wiQTNu4pDCgps","/ip4/52.52.127.117/udp/1234/p2p/16Uiu2HAkzRjxK2gorngB1Xq84qDrT4hSVznYDHj6BkbaE4SGx9oS","/ip4/18.162.65.205/udp/1234/p2p/16Uiu2HAm2k6ua2mGgvZ8rTMV8GhpW71aVzkQWy7D37TTDuLCpgmX"]
# List of libp2p nodes to initially connect to.
# network_libp2p_nodes = []
@ -80,14 +80,14 @@ network_boot_nodes = ["/ip4/54.219.26.22/udp/1234/p2p/16Uiu2HAmTVDGNhkHD98zDnJxQ
# blockchain_rpc_endpoint = "http://127.0.0.1:8545"
# Flow contract address to sync event logs.
log_contract_address = "0x8873cc79c5b3b5666535C825205C9a128B1D75F1"
log_contract_address = "0xbD2C3F0E65eDF5582141C35969d66e34629cC768"
# Block number to sync event logs from blockchain. Generally, this is
# the block number when flow contract deployed.
log_sync_start_block_number = 802
log_sync_start_block_number = 595059
# 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
@ -180,7 +180,7 @@ log_sync_start_block_number = 802
#######################################################################
# Mine contract address for incentive.
mine_contract_address = "0x85F6722319538A805ED5733c5F4882d96F1C7384"
mine_contract_address = "0x6815F41019255e00D6F34aAB8397a6Af5b6D806f"
# Miner key is used to sign blockchain transaction for incentive.
# The value should be a hex string of length 64 without 0x prefix.
@ -198,12 +198,13 @@ mine_contract_address = "0x85F6722319538A805ED5733c5F4882d96F1C7384"
# If this limit is reached, the node will update its `shard_position`
# and store only half data.
#
# db_max_num_sectors = 1000000000
db_max_num_sectors = 1000000000
# The format is <shard_id>/<shard_number>, where the shard number is 2^n.
# This only applies if there is no stored shard config in db.
# shard_position = "0/2"
reward_contract_address = "0x51998C4d486F406a788B766d93510980ae1f9360"
# The time interval to check if we should half `shard_position` to prune data.
#
# prune_check_time_s = 60