f28b8352c1
* split journaldb commit into two functions: journal_under and mark_canonical * use new commit mechanism in client * Configurable history size in master * Reduce DB history * Configurable history size * Set min history size * Test * Fixed a test and reduced the limit
67 lines
982 B
TOML
67 lines
982 B
TOML
[parity]
|
|
mode = "dark"
|
|
mode_timeout = 15
|
|
mode_alarm = 10
|
|
chain = "./chain.json"
|
|
|
|
[account]
|
|
unlock = ["0x1", "0x2", "0x3"]
|
|
password = ["passwdfile path"]
|
|
|
|
[signer]
|
|
disable = true
|
|
|
|
[network]
|
|
disable = false
|
|
discovery = true
|
|
nat = "any"
|
|
min_peers = 10
|
|
max_peers = 20
|
|
|
|
reserved_only = true
|
|
reserved_peers = "./path/to/reserved_peers"
|
|
|
|
|
|
[rpc]
|
|
disable = true
|
|
port = 8180
|
|
|
|
[ipc]
|
|
apis = ["rpc", "eth"]
|
|
|
|
[dapps]
|
|
port = 8080
|
|
user = "username"
|
|
pass = "password"
|
|
|
|
[mining]
|
|
author = "0xdeadbeefcafe0000000000000000000000000001"
|
|
force_sealing = true
|
|
reseal_on_txs = "all"
|
|
reseal_min_period = 4000
|
|
price_update_period = "hourly"
|
|
tx_queue_size = 2048
|
|
tx_queue_gas = "auto"
|
|
|
|
[footprint]
|
|
tracing = "on"
|
|
pruning = "fast"
|
|
pruning_history = 64
|
|
cache_size_db = 128
|
|
cache_size_blocks = 16
|
|
cache_size_queue = 100
|
|
cache_size_state = 25
|
|
db_compaction = "ssd"
|
|
fat_db = "off"
|
|
|
|
[snapshots]
|
|
disable_periodic = true
|
|
|
|
[vm]
|
|
jit = false
|
|
|
|
[misc]
|
|
logging = "own_tx=trace"
|
|
log_file = "/var/log/parity.log"
|
|
color = true
|