Procházet zdrojové kódy

localnet/darkfid-temp: Delete

parazyd před 3 roky
rodič
revize
403971b419

+ 0 - 59
contrib/localnet/darkfid-temp/README.md

@@ -1,59 +0,0 @@
-Some notes
-==========
-
-Start the nodes
-
-```
-$ ../../../faucetd -c ./faucetd_config.toml -v
-$ ../../../darkfid -c ./darkfid_config.toml -v
-```
-
-Wait for them to start up, then initialize wallet:
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 wallet --initialize
-$ ../../../drk -e tcp://127.0.0.1:18340 wallet --keygen
-```
-
-Subscribe to new blocks
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 subscribe
-```
-
-Airdrop some coins
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 airdrop 42.69 A7f1RKsCUUHrSXA7a9ogmwg8p3bs6F47ggsW826HD4yd
-```
-
-Wait and look at the subscription.
-
-Check balance
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 wallet --balance
-```
-
-Make a new key
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 wallet --keygen
-f00b4r
-```
-
-Create a tx to send some money to the new key
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 transfer 11.11 A7f1RKsCUUHrSXA7a9ogmwg8p3bs6F47ggsW826HD4yd f00b4r > tx
-```
-
-Broadcast the tx
-
-```
-$ ../../../drk -e tcp://127.0.0.1:18340 broadcast < tx
-```
-
-Now watch darkfid, it gets the transaction, simulates it, and broadcasts
-over p2p, but the consensus doesn't get it and so it doesn't get appended
-to the mempool.

+ 0 - 82
contrib/localnet/darkfid-temp/darkfid_config.toml

@@ -1,82 +0,0 @@
-## darkfid configuration file
-##
-## Please make sure you go through all the settings so you can configure
-## your daemon properly.
-##
-## The default values are left commented. They can be overridden either by
-## uncommenting, or by using the command-line.
-
-# Chain to use (testnet, mainnet)
-chain = "testnet"
-
-# Path to the wallet database
-wallet_path = "~/.config/darkfi/darkfid_wallet.db"
-
-# Password for the wallet database
-wallet_pass = "changeme"
-
-# Path to the blockchain database directory
-database = "~/.config/darkfi/darkfid_blockchain"
-
-# JSON-RPC listen URL
-rpc_listen = "tcp://127.0.0.1:18340"
-
-# Participate in the consensus protocol
-consensus = true
-
-# P2P accept addresses for the consensus protocol
-consensus_p2p_accept = ["tcp://127.0.0.1:8341"]
-
-# P2P external addresses for the consensus protocol
-consensus_p2p_external = ["tcp://127.0.0.1:8341"]
-
-# Connection slots for the consensus protocol
-consensus_slots = 0
-
-# Seed nodes to connect to for the consensus protocol
-#consensus_p2p_seed = []
-
-# Seed nodes JSON-RPC listen URL for clock synchronization
-#consensus_seed_rpc = []
-
-# Peers to connect to for the consensus protocol
-#consensus_p2p_peer = []
-
-# Peers JSON-RPC listen URL for clock synchronization
-#consensus_peer_rpc = []
-
-# Prefered transports of outbound connections for the consensus protocol
-#consensus_p2p_transports = ["tls", "tcp"]
-
-# P2P accept addresses for the syncing protocol
-sync_p2p_accept = ["tcp://127.0.0.1:18342"]
-
-# P2P external addresses for the syncing protocol
-sync_p2p_external = ["tcp://127.0.0.1:18342"]
-
-# Connection slots for the syncing protocol
-sync_slots = 0
-
-# Seed nodes to connect to for the syncing protocol
-#sync_p2p_seed = []
-
-# Peers to connect to for the syncing protocol
-sync_p2p_peer = ["tcp://127.0.0.1:9342"]
-
-# Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
-
-# Enable localnet hosts
-localnet = true
-
-# Enable channel log
-#channel_log = true
-
-# Whitelisted cashier addresses
-#cashier_pub = []
-
-# Whitelisted faucet addresses
-faucet_pub = ["6R86xQZMWpPkmevs4LTL7AGfXzFoH3ohpq2N35xd7nBH"]
-
-# Verify system clock is correct
-#clock_sync = true

+ 0 - 55
contrib/localnet/darkfid-temp/faucetd_config.toml

@@ -1,55 +0,0 @@
-## faucetd configuration file
-##
-## Please make sure you go through all the settings so you can configure
-## your daemon properly.
-##
-## The default values are left commented. They can be overridden either by
-## uncommenting, or by using the command-line.
-
-# Chain to use (testnet, mainnet)
-chain = "testnet"
-
-# Path to the wallet database
-wallet_path = "~/.config/darkfi/faucetd_wallet.db"
-
-# Password for the wallet database
-wallet_pass = "changeme"
-
-# Path to the blockchain database directory
-database = "~/.config/darkfi/faucetd_blockchain"
-
-# JSON-RPC listen URL
-rpc_listen = "tcp://127.0.0.1:8340"
-
-# P2P accept addresses for the syncing protocol
-sync_p2p_accept = ["tcp://127.0.0.1:9342"]
-
-# P2P external addresses for the syncing protocol
-sync_p2p_external = ["tcp://127.0.0.1:9342"]
-
-# Connection slots for the syncing protocol
-sync_slots = 0
-
-# Seed nodes to connect to for the syncing protocol
-#sync_p2p_seed = []
-
-# Peers to connect to for the syncing protocol
-#sync_p2p_peer = []
-
-# Prefered transports of outbound connections for the syncing protocol
-#sync_p2p_transports = ["tls", "tcp"]
-
-# Enable localnet hosts
-localnet = true
-
-# Enable channel log
-#channel_log = true
-
-# Airdrop timeout limit in seconds
-airdrop_timeout = 300
-
-# Airdrop amount limit
-airdrop_limit = "100"
-
-# Whitelisted faucet addresses
-faucet_pub = ["6R86xQZMWpPkmevs4LTL7AGfXzFoH3ohpq2N35xd7nBH"]

binární
contrib/localnet/darkfid-temp/faucetd_wallet.db