Skip to content

Commit

Permalink
reduce base config
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Sep 19, 2024
1 parent b978534 commit 8c4e538
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 39 deletions.
38 changes: 1 addition & 37 deletions zebra-rpc/qa/base_config.toml
Original file line number Diff line number Diff line change
@@ -1,48 +1,12 @@
[consensus]
checkpoint_sync = true

[mempool]
eviction_memory_time = "1h"
tx_cost_limit = 80000000

[metrics]

[mining]
debug_like_zcashd = true
miner_address = "t27eWDgjFYJGVXmzrXeVjnb5J3uXDM9xH9v"

[network]
cache_dir = true
crawl_new_peer_interval = "1m 1s"
initial_mainnet_peers = [ "dnsseed.z.cash:8233", "dnsseed.str4d.xyz:8233", "mainnet.seeder.zfnd.org:8233", "mainnet.is.yolo.money:8233",]
initial_testnet_peers = [ "dnsseed.testnet.z.cash:18233", "testnet.seeder.zfnd.org:18233", "testnet.is.yolo.money:18233",]
listen_addr = "127.0.0.1:0"
max_connections_per_ip = 1
network = "Regtest"
peerset_initial_target_size = 25

[rpc]
debug_force_finished_sync = false
parallel_cpu_threads = 0
listen_addr = "127.0.0.1:16264"
listen_addr = "127.0.0.1:0"

[state]
cache_dir = ""
delete_old_database = true
ephemeral = false

[sync]
checkpoint_verify_concurrency_limit = 1000
download_concurrency_limit = 50
full_verify_concurrency_limit = 20
parallel_cpu_threads = 0

[tracing]
buffer_limit = 128000
force_use_color = false
use_color = true
use_journald = false

[network.testnet_parameters.activation_heights]
NU5 = 1116001
NU6 = 1116002
2 changes: 0 additions & 2 deletions zebra-rpc/qa/rpc-tests/test_framework/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,6 @@ def update_zebrad_conf(datadir, rpc_port, p2p_port):
config_file['rpc']['listen_addr'] = '127.0.0.1:'+str(rpc_port)
config_file['network']['listen_addr'] = '127.0.0.1:'+str(p2p_port)
config_file['state']['cache_dir'] = datadir
config_file['state']['ephemeral'] = False
config_file['network']['network'] = 'Regtest'

with open(config_path, 'w') as f:
toml.dump(config_file, f)
Expand Down

0 comments on commit 8c4e538

Please sign in to comment.