Просмотр исходного кода

contrib/localnet: Additional script for cleanup.

parazyd 4 лет назад
Родитель
Сommit
381781ad61
3 измененных файлов с 11 добавлено и 4 удалено
  1. 4 0
      contrib/localnet/.gitignore
  2. 3 0
      contrib/localnet/clean.sh
  3. 4 4
      contrib/localnet/darkfid2.toml

+ 4 - 0
contrib/localnet/.gitignore

@@ -0,0 +1,4 @@
+faucetd/blockchain
+darkfid0
+darkfid1
+darkfid2

+ 3 - 0
contrib/localnet/clean.sh

@@ -0,0 +1,3 @@
+#!/bin/sh
+rm -rf darkfid0 darkfid1 darkfid2 faucetd/blockchain
+git checkout faucetd/wallet.db

+ 4 - 4
contrib/localnet/darkfid2.toml

@@ -22,19 +22,19 @@ database = "darkfid2/blockchain"
 rpc_listen = "tcp://127.0.0.1:8540"
 
 # Participate in the consensus protocol
-consensus = true
+consensus = false
 
 # P2P accept address for the consensus protocol
-consensus_p2p_accept = "tls://127.0.0.1:8541"
+#consensus_p2p_accept = "tls://127.0.0.1:8541"
 
 # P2P external address for the consensus protocol
-consensus_p2p_external = "tls://127.0.0.1:8541"
+#consensus_p2p_external = "tls://127.0.0.1:8541"
 
 # Connection slots for the consensus protocol
 #consensus_slots = 8
 
 # Connection slots for the consensus protocol
-consensus_p2p_seed = ["tls://127.0.0.1:8341"]
+#consensus_p2p_seed = ["tls://127.0.0.1:8341"]
 
 # Peers to connect to for the consensus protocol
 #consensus_p2p_peer = []