mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
add fulcrum.sethforprivacy.com public mainnet electrum server
This commit is contained in:
parent
bd1c6c076e
commit
e01f6b42b1
2 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ public enum PublicElectrumServer {
|
||||||
EMZY_DE("electrum.emzy.de", "ssl://electrum.emzy.de:50002", Network.MAINNET),
|
EMZY_DE("electrum.emzy.de", "ssl://electrum.emzy.de:50002", Network.MAINNET),
|
||||||
BITAROO_NET("electrum.bitaroo.net", "ssl://electrum.bitaroo.net:50002", Network.MAINNET),
|
BITAROO_NET("electrum.bitaroo.net", "ssl://electrum.bitaroo.net:50002", Network.MAINNET),
|
||||||
DIYNODES_COM("electrum.diynodes.com", "ssl://electrum.diynodes.com:50022", Network.MAINNET),
|
DIYNODES_COM("electrum.diynodes.com", "ssl://electrum.diynodes.com:50022", Network.MAINNET),
|
||||||
|
SETHFORPRIVACY_COM("fulcrum.sethforprivacy.com", "ssl://fulcrum.sethforprivacy.com:50002", Network.MAINNET),
|
||||||
TESTNET_ARANGUREN_ORG("testnet.aranguren.org", "ssl://testnet.aranguren.org:51002", Network.TESTNET);
|
TESTNET_ARANGUREN_ORG("testnet.aranguren.org", "ssl://testnet.aranguren.org:51002", Network.TESTNET);
|
||||||
|
|
||||||
PublicElectrumServer(String name, String url, Network network) {
|
PublicElectrumServer(String name, String url, Network network) {
|
||||||
|
|
|
@ -37,7 +37,7 @@ public class PublicElectrumDialog extends ServerProxyDialog {
|
||||||
url.setSelectedItem(PublicElectrumServer.fromServer(Config.get().getPublicElectrumServer()));
|
url.setSelectedItem(PublicElectrumServer.fromServer(Config.get().getPublicElectrumServer()));
|
||||||
url.addListener((selectedIndex, previousSelection, changedByUserInteraction) -> {
|
url.addListener((selectedIndex, previousSelection, changedByUserInteraction) -> {
|
||||||
if(selectedIndex != previousSelection) {
|
if(selectedIndex != previousSelection) {
|
||||||
Config.get().setPublicElectrumServer(PublicElectrumServer.values()[selectedIndex].getServer());
|
Config.get().setPublicElectrumServer(PublicElectrumServer.getServers().get(selectedIndex).getServer());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
mainPanel.addComponent(url);
|
mainPanel.addComponent(url);
|
||||||
|
|
Loading…
Reference in a new issue