Skip to content

Commit

Permalink
Removing unnecessary config fields for sample configs
Browse files Browse the repository at this point in the history
  • Loading branch information
wileyj committed Jul 26, 2024
1 parent 696e78f commit afc9c32
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 27 deletions.
5 changes: 1 addition & 4 deletions testnet/stacks-node/conf/mainnet-follower-conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "0.0.0.0:20443"
p2p_bind = "0.0.0.0:20444"
bootstrap_node = "02196f005965cebe6ddc3901b7b1cc1aa7a88f305bb8c5893456b8f9a605923893@seed.mainnet.hiro.so:20444,02539449ad94e6e6392d8c1deb2b4e61f80ae2a18964349bc14336d8b903c46a8c@cet.stacksnodes.org:20444,02ececc8ce79b8adf813f13a0255f8ae58d4357309ba0cedd523d9f1a306fcfb79@sgt.stacksnodes.org:20444,0303144ba518fe7a0fb56a8a7d488f950307a4330f146e1e1458fc63fb33defe96@est.stacksnodes.org:20444"
Expand All @@ -9,9 +9,6 @@ prometheus_bind = "0.0.0.0:9153"
chain = "bitcoin"
mode = "mainnet"
peer_host = "bitcoin.hiro.so"
username = "hirosystems"
password = "hirosystems"
peer_port = 8333

# Used for sending events to a local stacks-blockchain-api service
# [[events_observer]]
Expand Down
12 changes: 6 additions & 6 deletions testnet/stacks-node/conf/mainnet-miner-conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "127.0.0.1:20443"
p2p_bind = "127.0.0.1:20444"
bootstrap_node = "02196f005965cebe6ddc3901b7b1cc1aa7a88f305bb8c5893456b8f9a605923893@seed.mainnet.hiro.so:20444,02539449ad94e6e6392d8c1deb2b4e61f80ae2a18964349bc14336d8b903c46a8c@cet.stacksnodes.org:20444,02ececc8ce79b8adf813f13a0255f8ae58d4357309ba0cedd523d9f1a306fcfb79@sgt.stacksnodes.org:20444,0303144ba518fe7a0fb56a8a7d488f950307a4330f146e1e1458fc63fb33defe96@est.stacksnodes.org:20444"
Expand All @@ -13,15 +13,15 @@ mine_microblocks = false # Disable microblocks (ref: https://github.com/stacks-n
chain = "bitcoin"
mode = "mainnet"
peer_host = "127.0.0.1"
username = "<USERNAME>"
password = "<PASSWORD>"
rpc_port = 8332
peer_port = 8333
username = "<Bitcoin RPC username>"
password = "<Bitcoin RPC password>"
rpc_port = <Bitcoin RPC port>
peer_port = <Bitcoin P2P port>
# Maximum amount (in sats) of "burn commitment" to broadcast for the next block's leader election
burn_fee_cap = 20000
# Amount (in sats) per byte - Used to calculate the transaction fees
satoshis_per_byte = 25
# Amount of sats to add when RBF'ing bitcoin tx (default: 5)
rbf_fee_increment = 5
# Maximum percentage to RBF bitcoin tx (default: 150% of satsv/B)
max_rbf = 150
max_rbf = 150
7 changes: 1 addition & 6 deletions testnet/stacks-node/conf/mainnet-mockminer-conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "0.0.0.0:20443"
p2p_bind = "0.0.0.0:20444"
miner = true
Expand All @@ -11,8 +11,3 @@ prometheus_bind = "0.0.0.0:9153"
chain = "bitcoin"
mode = "mainnet"
peer_host = "bitcoin.hiro.so"
username = "hirosystems"
password = "hirosystems"
rpc_port = 8332
peer_port = 8333
burn_fee_cap = 1
7 changes: 2 additions & 5 deletions testnet/stacks-node/conf/testnet-follower-conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "0.0.0.0:20443"
p2p_bind = "0.0.0.0:20444"
bootstrap_node = "029266faff4c8e0ca4f934f34996a96af481df94a89b0c9bd515f3536a95682ddc@seed.testnet.hiro.so:30444"
Expand All @@ -9,9 +9,6 @@ prometheus_bind = "0.0.0.0:9153"
chain = "bitcoin"
mode = "krypton"
peer_host = "bitcoin.regtest.hiro.so"
username = "hirosystems"
password = "hirosystems"
rpc_port = 18443
peer_port = 18444
pox_prepare_length = 100
pox_reward_length = 900
Expand Down Expand Up @@ -66,4 +63,4 @@ start_height = 6

[[burnchain.epochs]]
epoch_name = "3.0"
start_height = 2000701
start_height = 2000701
12 changes: 6 additions & 6 deletions testnet/stacks-node/conf/testnet-miner-conf.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[node]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]
# working_dir = "/dir/to/save/chainstate" # defaults to: /tmp/stacks-node-[0-9]*
rpc_bind = "0.0.0.0:20443"
p2p_bind = "0.0.0.0:20444"
bootstrap_node = "029266faff4c8e0ca4f934f34996a96af481df94a89b0c9bd515f3536a95682ddc@seed.testnet.hiro.so:30444"
Expand All @@ -9,10 +9,10 @@ prometheus_bind = "0.0.0.0:9153"
chain = "bitcoin"
mode = "krypton"
peer_host = "127.0.0.1"
username = "<USERNAME>"
password = "<PASSWORD>"
rpc_port = 18443
peer_port = 18444
username = "<Bitcoin RPC username>"
password = "<Bitcoin RPC password>"
rpc_port = <Bitcoin RPC port>
peer_port = <Bitcoin P2P port>
pox_prepare_length = 100
pox_reward_length = 900
# Maximum amount (in sats) of "burn commitment" to broadcast for the next block's leader election
Expand Down Expand Up @@ -74,4 +74,4 @@ start_height = 6

[[burnchain.epochs]]
epoch_name = "3.0"
start_height = 2000701
start_height = 2000701

0 comments on commit afc9c32

Please sign in to comment.