mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-23 05:41:07 -05:00
02974811ad
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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |