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
362 stars 68 forks source link

Add Bitcoin Network to Welcome app #268

Closed Kexkey closed 2 years ago

Kexkey commented 2 years ago

It would be very useful to know if we're running regtest, testnet or mainnet in the Bitcoin Core Node section of the Welcome app.

phillamy commented 2 years ago

I saw it in the features/cam branch here https://github.com/SatoshiPortal/cyphernode/blob/features/cam/cyphernodeconf_docker/lib/app.js. If I'm not mistaken, @schulterklopfer added this. Would you like to see the port # and network name ?

app.js: 490: port: (this.config.net === 'regtest') ? 18444 : ((this.config.net === 'testnet') ? 18333 : 8333)

Kexkey commented 2 years ago

Thanks @phillamy ! Merged to dev!