citp / testchain-generator

Generate synthetic blockchains
GNU General Public License v3.0
8 stars 7 forks source link

Various fixes and improvements #4

Open erasmospunk opened 4 years ago

erasmospunk commented 4 years ago

Improvements:

  1. Use a prefix for the temp folders.
  2. When starting the node, wait for the RPC to be ready. Results if faster start of the script.
  3. When terminating the node, wait of the process to finish (kills it after a timeout). Results in faster termination of the script.

Fix crash in latest bitcoind:

When running the latest bitcoin 0.20.0, the script crashes when "Creating output with 0 BTC" because the node rejects the "dust" transaction.

Fix travis tests