First, make sure you have copied the example config to your current working directory. From the TLD of the repo, run cp
docs/HcNet_core_standalone.cfg ./bin/HcNet_core.cfg
By default HcNet_core waits to hear from the network for a ledger close before it starts emitting its own FBA messages. This works fine in the common case but when you want to start your own network you need to start FBA manually. this is done by:
That will set state in the DB and then exit. The next time you start HcNet FBA will start immediately rather than waiting.
Adding multiple nodes
For each node on your new network:
Optionally: Create databases for each to use–e.g., by using PostgreSQL’s createdb command.
Run:
If you need to restart the network after bringing it down.
Stop all nodes, and do the following on nodes that all have the same last ledger (NB: this set must form a quorum in order to reach consensus):
This will start from the last saved state of each server. After these servers sync you can start the other nodes in the cluster normally and they will catch up to the network.
Support Agent
*Powered by HashCash