xmr-btc-swap/swap
Daniel Karzel 02974811ad
Activate mainnet for the ASB
To run the ASB on testnet, one actively has to provide the `--testnet` flag.
Mainnet and testnet data and config are separated into sub-folders, i.e. `{data/config-dir}/asb/testnet` and `{data-dir}/asb/mainnet`.
The initial setup is also per network. If (default) config for the network cannot be found the initial setup is triggered.
Startup includes network check to ensure the bitcoin/monero network in config file is the same as the one in the `env::Config`.

Note: Wallet initialization is done with the network set in the `env::Config`, the network saved in the config file is just to indicate what network the config file is for.
2021-05-20 12:58:39 +10:00
..
src Activate mainnet for the ASB 2021-05-20 12:58:39 +10:00
tests Log exchange rate at each state. 2021-05-11 15:27:49 +10:00
Cargo.toml Toggle json logs using commandline flag. 2021-05-11 15:28:25 +10:00