darkfid: moved all relative args under blockchain config args

This commit is contained in:
skoupidi
2024-06-20 15:10:55 +03:00
parent 563f04f963
commit 186e3302d3
14 changed files with 62 additions and 50 deletions

View File

@@ -6,19 +6,16 @@
## The default values are left commented. They can be overridden either by
## uncommenting, or by using the command-line.
# JSON-RPC listen URL
rpc_listen = "tcp://127.0.0.1:8340"
# Blockchain network to use
network = "testnet"
# Garbage collection task transactions batch size
txs_batch_size = 50
# Localnet blockchain network configuration
[network_config."localnet"]
# JSON-RPC listen URL
rpc_listen = "tcp://127.0.0.1:8240"
# Path to the blockchain database directory
database = "~/.local/darkfi/darkfid_blockchain_localnet"
database = "~/.local/darkfi/darkfid/localnet"
# Finalization threshold, denominated by number of blocks
threshold = 3
@@ -61,6 +58,9 @@ skip_fees = false
# Optional bootstrap timestamp
#bootstrap = 1712581283
# Garbage collection task transactions batch size
txs_batch_size = 50
## Localnet P2P network settings
[network_config."localnet".net]
# P2P accept addresses the instance listens on for inbound connections
@@ -120,8 +120,11 @@ localnet = true
# Testnet blockchain network configuration
[network_config."testnet"]
# JSON-RPC listen URL
rpc_listen = "tcp://127.0.0.1:8340"
# Path to the blockchain database directory
database = "~/.local/darkfi/darkfid_blockchain_testnet"
database = "~/.local/darkfi/darkfid/testnet"
# Finalization threshold, denominated by number of blocks
threshold = 6
@@ -159,6 +162,9 @@ skip_fees = false
# Optional bootstrap timestamp
#bootstrap = 1712581283
# Garbage collection task transactions batch size
txs_batch_size = 50
## Testnet P2P network settings
[network_config."testnet".net]
# P2P accept addresses the instance listens on for inbound connections
@@ -222,8 +228,11 @@ localnet = false
# Mainnet blockchain network configuration
[network_config."mainnet"]
# JSON-RPC listen URL
rpc_listen = "tcp://127.0.0.1:8440"
# Path to the blockchain database directory
database = "~/.local/darkfi/darkfid_blockchain_mainnet"
database = "~/.local/darkfi/darkfid/mainnet"
# Finalization threshold, denominated by number of blocks
threshold = 11
@@ -261,6 +270,9 @@ skip_fees = false
# Optional bootstrap timestamp
#bootstrap = 1712581283
# Garbage collection task transactions batch size
txs_batch_size = 50
## Mainnet P2P network settings
[network_config."mainnet".net]
# P2P accept addresses the instance listens on for inbound connections