Skip to content

Commit 0373f02

Browse files
committed
update seed nodes and --remote address
1 parent da38790 commit 0373f02

5 files changed

Lines changed: 36 additions & 30 deletions

File tree

cmd/dero-wallet-cli/main.go

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,36 @@ package main
1818

1919
/// this file implements the wallet and rpc wallet
2020

21-
import "io"
22-
import "os"
23-
import "fmt"
24-
import "time"
25-
import "sync"
26-
import "strings"
27-
import "strconv"
28-
import "runtime"
29-
30-
import "sync/atomic"
21+
import (
22+
"fmt"
23+
"io"
24+
"os"
25+
"runtime"
26+
"strconv"
27+
"strings"
28+
"sync"
29+
"sync/atomic"
30+
"time"
31+
32+
"github.com/chzyer/readline"
33+
"github.com/deroproject/derohe/config"
34+
"github.com/deroproject/derohe/globals"
35+
"github.com/deroproject/derohe/walletapi"
36+
"github.com/deroproject/derohe/walletapi/mnemonics"
37+
"github.com/docopt/docopt-go"
38+
"github.com/go-logr/logr"
39+
)
3140

3241
//import "io/ioutil"
3342
//import "bufio"
3443
//import "bytes"
3544
//import "net/http"
3645

37-
import "github.com/go-logr/logr"
38-
39-
import "github.com/chzyer/readline"
40-
import "github.com/docopt/docopt-go"
41-
4246
//import "github.com/vmihailenco/msgpack"
4347

4448
//import "github.com/deroproject/derosuite/address"
4549

46-
import "github.com/deroproject/derohe/config"
47-
4850
//import "github.com/deroproject/derohe/crypto"
49-
import "github.com/deroproject/derohe/globals"
50-
import "github.com/deroproject/derohe/walletapi"
51-
import "github.com/deroproject/derohe/walletapi/mnemonics"
5251

5352
//import "encoding/json"
5453

@@ -75,7 +74,7 @@ Usage:
7574
--restore-deterministic-wallet Restore wallet from previously saved recovery seed
7675
--electrum-seed=<recovery-seed> Seed to use while restoring wallet
7776
--socks-proxy=<socks_ip:port> Use a proxy to connect to Daemon.
78-
--remote use hard coded remote daemon https://rwallet.dero.live
77+
--remote use hard coded remote daemon (node.derofoundation.org:11012)
7978
--daemon-address=<host:port> Use daemon instance at <host>:<port> or https://domain
8079
--rpc-server Run rpc server, so wallet is accessible using api
8180
--rpc-bind=<127.0.0.1:20209> Wallet binds on this ip address and port

config/config.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616

1717
package config
1818

19-
import "github.com/satori/go.uuid"
19+
import (
20+
"github.com/deroproject/derohe/cryptography/crypto"
21+
uuid "github.com/satori/go.uuid"
22+
)
2023

2124
//import "github.com/caarlos0/env/v6"
22-
import "github.com/deroproject/derohe/cryptography/crypto"
2325

2426
// all global configuration variables are picked from here
2527

@@ -136,4 +138,4 @@ var Testnet = CHAIN_CONFIG{Name: "testnet", // testnet will always have last 3 b
136138
}
137139

138140
// mainnet has a remote daemon node, which can be used be default, if user provides a --remote flag
139-
const REMOTE_DAEMON = "89.38.99.117" // "https://rwallet.dero.live"
141+
const REMOTE_DAEMON = "node.derofoundation.org:11012" // "89.38.99.117" // "https://rwallet.dero.live"

config/seed_nodes.go

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,15 @@ package config
2121
// some seed nodes for mainnet (these seed node are not compliant with earlier protocols)
2222
// only version 2
2323
var Mainnet_seed_nodes = []string{
24-
"89.38.99.117:8443",
25-
"109.236.81.137:8080",
26-
"89.38.97.110:11011",
27-
"190.2.136.120:11011",
24+
// "89.38.99.117:8443",
25+
// "109.236.81.137:8080",
26+
// "89.38.97.110:11011",
27+
// "190.2.136.120:11011",
28+
"82.65.143.182:11011",
29+
"51.222.86.51:11011",
30+
"204.12.199.25:11011",
31+
"154.26.138.136:11011",
32+
"66.85.74.214:11011",
2833
}
2934

3035
// some seed node for testnet

config/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ import "github.com/blang/semver/v4"
2020

2121
// right now it has to be manually changed
2222
// do we need to include git commitsha??
23-
var Version = semver.MustParse("3.5.3-140.DEROHE.STARGATE+13062023")
23+
var Version = semver.MustParse("3.5.4-141.DEROHE.STARGATE+04052025")

walletapi/daemon_communication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ var Daemon_Endpoint_Active string
121121

122122
func get_daemon_address() string {
123123
if globals.Arguments["--remote"] == true && globals.IsMainnet() {
124-
Daemon_Endpoint_Active = config.REMOTE_DAEMON + fmt.Sprintf(":%d", config.Mainnet.RPC_Default_Port)
124+
Daemon_Endpoint_Active = config.REMOTE_DAEMON // + fmt.Sprintf(":%d", config.Mainnet.RPC_Default_Port)
125125
}
126126

127127
// if user provided endpoint has error, use default

0 commit comments

Comments
 (0)