Update run/config.toml and version. (#83)

* Update run/config.toml.

* Update version
This commit is contained in:
peilun-conflux 2024-06-11 13:17:32 +08:00 committed by GitHub
parent 6383c7ddac
commit 489d973347
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 30 additions and 2 deletions

2
Cargo.lock generated
View File

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

View File

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

View File

@ -164,6 +164,34 @@ miner_id = ""
# transaction gas fee. # transaction gas fee.
miner_key = "" miner_key = ""
#######################################################################
### Sharding Config Options ###
#######################################################################
# The max number of chunk entries to store in db.
# Each entry is 256B, so the db size is roughly limited to
# `256 * db_max_num_chunks` Bytes.
# If this limit is reached, the node will update its `shard_position`
# and store only half data.
#
# db_max_num_chunks = 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"
# The time interval to check if we should half `shard_position` to prune data.
#
# prune_check_time_s = 60
# The number of chunk entries to delete in a batch when we prune data.
#
# prune_batch_size = 1024
# The time interval to wait between each prune batch deletion to avoid
# IO resource exhaustion.
#
# prune_batch_wait_time_ms = 1000
####################################################################### #######################################################################
### File Sync Config Options ### ### File Sync Config Options ###
####################################################################### #######################################################################