mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-05 21:24:19 -04:00
manage monero connections from ui #623
use tor for all monero connections by default renames from btc to xmr updated translations
This commit is contained in:
parent
1faedc8121
commit
06be2a4829
45 changed files with 681 additions and 663 deletions
|
@ -13,7 +13,7 @@ import java.nio.file.Path;
|
|||
|
||||
import static haveno.common.config.Config.APP_DATA_DIR;
|
||||
import static haveno.common.config.Config.APP_NAME;
|
||||
import static haveno.common.config.Config.BANNED_BTC_NODES;
|
||||
import static haveno.common.config.Config.BANNED_XMR_NODES;
|
||||
import static haveno.common.config.Config.CONFIG_FILE;
|
||||
import static haveno.common.config.Config.DEFAULT_CONFIG_FILE_NAME;
|
||||
import static haveno.common.config.Config.HELP;
|
||||
|
@ -200,9 +200,9 @@ public class ConfigTests {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void whenBannedBtcNodesOptionIsSet_thenBannedBtcNodesPropertyReturnsItsValue() {
|
||||
Config config = configWithOpts(opt(BANNED_BTC_NODES, "foo.onion:8333,bar.onion:8333"));
|
||||
assertThat(config.bannedBtcNodes, contains("foo.onion:8333", "bar.onion:8333"));
|
||||
public void whenBannedXmrNodesOptionIsSet_thenBannedXmrNodesPropertyReturnsItsValue() {
|
||||
Config config = configWithOpts(opt(BANNED_XMR_NODES, "foo.onion:8333,bar.onion:8333"));
|
||||
assertThat(config.bannedXmrNodes, contains("foo.onion:8333", "bar.onion:8333"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue