Add clap parameter for mainnet, or testnet #203
Labels
enhancement
Enhancement of existing code
good first contribution
Good for newcomers
help wanted
Extra attention is needed
Add a configuration option, which indicates, whether we are using the testnet (default), or the mainnet of Bitcoin.
Then, according to this setting, choose the correct code path (e.g. checking test net instead of mainnet on blockstream)
@mtbitcr Do we need to think about labelling, if bills/quotes etc. were created in testnet mode, or mainnet mode? If yes, we might have to put in a layer in the filesystem, where we differentiate (e.g. ./bills/testnet and ./bills/mainnet, or ./testnet/bills, ./mainnet/bills etc.)
The text was updated successfully, but these errors were encountered: