SatoshiPortal / cyphernode

Modular Bitcoin full-node microservices API server architecture and utilities toolkit to build scalable, secure and featureful apps and services without trusted third parties
MIT License
364 stars 68 forks source link

Features/mine101 #262

Closed phillamy closed 2 years ago

phillamy commented 2 years ago

Added mining code after wallet creating in regtest. To go up to at least 101 blocks.

In regtest, bitcoin is ready (container_monitor) when the chain is GE to 101 blocks

Also modified proxy_docker/app/tests/mine.sh to call 'bitcoin-cli -generate numblocks' to simplify things