-
Notifications
You must be signed in to change notification settings - Fork 282
Running multiple nodes locally isolated for manual testing
gz-c edited this page Oct 21, 2018
·
6 revisions
A way to run multiple nodes locally for testing:
-
Choose a unique port for each node you wish to run. e.g. 3 nodes with ports
6001
,6002
,6003
-
Create a file
localhost-peers.txt
, e.g.:
127.0.0.1:6001
127.0.0.1:6002
127.0.0.1:6003
-
Open a terminal shell for each node you wish to run.
-
Use the following invocation for each node:
PORT=6001; ./run-client.sh \
-localhost-only \
-disable-default-peers \
-custom-peers-file=localhost-peers.txt \
-download-peerlist=false \
-launch-browser=false \
-data-dir=/tmp/$PORT \
-web-interface-port=$(expr $PORT + 420) \
-port=$PORT
Replace PORT=
with the correct port number.
This will run a node on $PORT
with its own data-dir
of /tmp/$PORT
and expose the web API on $PORT + 420
(e.g. 6421
).
- Skycoin Blockchain/Wallet Technical Info
- Coin Hours
- Data directory and wallet folder locations
- Peer exchange
- Skycoin Concepts Guide
- Technical background of version 0 Skycoin addresses
- Transaction propagation and validation
- Transaction rates
- Wire Protocol
- Wire protocol user agent
- cipher package
- RNG Hardening
- Skycoin Binary Encoding Format
- Wallet File Formats and Types
- Deterministic Keypair Generation Method
- Skycoin Blockchain/Wallet Development Guides
- Developer Guides (All Skycoin Repos)
- Errata