7dc4d349a1
* parity-version: mark 2.0.5 track stable * deps: bump fs-swap to 0.2.4 * Remove initial token for WS. (#9545) * version: mark release critical * Increase Gas-floor-target and Gas Cap (#9564) + Gas-floor-target increased to 8M by default + Gas-cap increased to 10M by default * Improve P2P discovery (#9526) * Add `target` to Rust traces * network-devp2p: Don't remove discovery peer in main sync * network-p2p: Refresh discovery more often * Update Peer discovery protocol * Run discovery more often when not enough nodes connected * Start the first discovery early * Update fast discovery rate * Fix tests * Fix `ping` tests * Fixing remote Node address ; adding PingPong round * Fix tests: update new +1 PingPong round * Increase slow Discovery rate Check in flight FindNode before pings * Add `deprecated` to deprecated_echo_hash * Refactor `discovery_round` branching * net_version caches network_id to avoid redundant aquire of sync read lock (#9544) * net_version caches network_id to avoid redundant aquire of sync read lock, #8746 * use lower_hex display formatting for net_peerCount rpc method
169 lines
3.5 KiB
TOML
169 lines
3.5 KiB
TOML
[parity]
|
|
mode = "last"
|
|
mode_timeout = 300
|
|
mode_alarm = 3600
|
|
auto_update = "none"
|
|
auto_update_delay = 200
|
|
auto_update_check_frequency = 50
|
|
release_track = "current"
|
|
public_node = false
|
|
no_download = false
|
|
no_consensus = false
|
|
no_persistent_txqueue = false
|
|
|
|
chain = "homestead"
|
|
base_path = "$HOME/.parity"
|
|
db_path = "$HOME/.parity/chains"
|
|
keys_path = "$HOME/.parity/keys"
|
|
identity = ""
|
|
light = false
|
|
no_hardcoded_sync = false
|
|
|
|
[account]
|
|
unlock = ["0xdeadbeefcafe0000000000000000000000000000"]
|
|
password = ["~/.safe/password.file"]
|
|
keys_iterations = 10240
|
|
|
|
[private_tx]
|
|
enabled = true
|
|
signer = "0xdeadbeefcafe0000000000000000000000000000"
|
|
validators = ["0xdeadbeefcafe0000000000000000000000000000"]
|
|
passwords = "~/.safe/password.file"
|
|
account = "0xdeadbeefcafe0000000000000000000000000000"
|
|
sstore_url = "http://localhost:8082"
|
|
sstore_threshold = 0
|
|
|
|
[ui]
|
|
force = false
|
|
disable = false
|
|
port = 8180
|
|
interface = "127.0.0.1"
|
|
path = "$HOME/.parity/signer"
|
|
|
|
[network]
|
|
port = 30303
|
|
min_peers = 25
|
|
max_peers = 50
|
|
nat = "any"
|
|
id = 1
|
|
bootnodes = []
|
|
discovery = true
|
|
warp = true
|
|
allow_ips = "all"
|
|
snapshot_peers = 0
|
|
max_pending_peers = 64
|
|
no_serve_light = false
|
|
|
|
reserved_only = false
|
|
reserved_peers = "./path_to_file"
|
|
|
|
[rpc]
|
|
disable = false
|
|
port = 8545
|
|
interface = "local"
|
|
cors = ["null"]
|
|
apis = ["web3", "eth", "net", "parity", "traces", "rpc", "secretstore"]
|
|
hosts = ["none"]
|
|
|
|
[websockets]
|
|
disable = false
|
|
port = 8546
|
|
interface = "local"
|
|
origins = ["none"]
|
|
apis = ["web3", "eth", "net", "parity", "traces", "rpc", "secretstore"]
|
|
hosts = ["none"]
|
|
|
|
[ipc]
|
|
disable = false
|
|
path = "$HOME/.parity/jsonrpc.ipc"
|
|
apis = ["web3", "eth", "net", "parity", "parity_accounts", "personal", "traces", "rpc", "secretstore"]
|
|
|
|
[dapps]
|
|
disable = false
|
|
port = 8080
|
|
interface = "local"
|
|
hosts = ["none"]
|
|
path = "$HOME/.parity/dapps"
|
|
# authorization:
|
|
user = "test_user"
|
|
pass = "test_pass"
|
|
|
|
[secretstore]
|
|
disable = false
|
|
disable_http = false
|
|
acl_contract = "registry"
|
|
service_contract = "none"
|
|
service_contract_srv_gen = "none"
|
|
service_contract_srv_retr = "none"
|
|
service_contract_doc_store = "none"
|
|
service_contract_doc_sretr = "none"
|
|
server_set_contract = "registry"
|
|
nodes = []
|
|
http_interface = "local"
|
|
http_port = 8082
|
|
interface = "local"
|
|
port = 8083
|
|
path = "$HOME/.parity/secretstore"
|
|
|
|
[ipfs]
|
|
enable = false
|
|
port = 5001
|
|
interface = "local"
|
|
cors = ["null"]
|
|
hosts = ["none"]
|
|
|
|
[mining]
|
|
author = "0xdeadbeefcafe0000000000000000000000000001"
|
|
engine_signer = "0xdeadbeefcafe0000000000000000000000000001"
|
|
force_sealing = true
|
|
reseal_on_txs = "all"
|
|
reseal_min_period = 4000
|
|
reseal_max_period = 60000
|
|
work_queue_size = 20
|
|
relay_set = "cheap"
|
|
min_gas_price = 0
|
|
usd_per_tx = "0.0001"
|
|
usd_per_eth = "auto"
|
|
price_update_period = "hourly"
|
|
gas_floor_target = "8000000"
|
|
gas_cap = "10000000"
|
|
tx_queue_size = 8192
|
|
tx_queue_gas = "off"
|
|
tx_queue_strategy = "gas_factor"
|
|
tx_queue_ban_count = 1
|
|
tx_queue_ban_time = 180 #s
|
|
tx_gas_limit = "10000000"
|
|
tx_time_limit = 100 #ms
|
|
tx_queue_no_unfamiliar_locals = false
|
|
extra_data = "Parity"
|
|
remove_solved = false
|
|
notify_work = ["http://localhost:3001"]
|
|
refuse_service_transactions = false
|
|
|
|
[footprint]
|
|
tracing = "auto"
|
|
pruning = "auto"
|
|
pruning_history = 64
|
|
pruning_memory = 500
|
|
cache_size_db = 64
|
|
cache_size_blocks = 8
|
|
cache_size_queue = 50
|
|
cache_size_state = 25
|
|
cache_size = 128 # Overrides above caches with total size
|
|
db_compaction = "ssd"
|
|
fat_db = "auto"
|
|
scale_verifiers = true
|
|
num_verifiers = 6
|
|
|
|
[snapshots]
|
|
disable_periodic = false
|
|
|
|
[misc]
|
|
logging = "own_tx=trace"
|
|
log_file = "/var/log/parity.log"
|
|
color = true
|
|
|
|
[whisper]
|
|
enabled = false
|
|
pool_size = 20
|