Skip to content
This repository was archived by the owner on Sep 15, 2023. It is now read-only.

Commit 41fcedc

Browse files
authored
Merge pull request #2 from scala-network/3.0.0.4
3.0.0.4
2 parents 521f89e + 37c7ebf commit 41fcedc

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

src-electron/main-process/modules/backend.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,8 @@ export class Backend {
108108
port: "20189"
109109
},
110110
{
111-
host: "daemons.cryptopool.space",
111+
host: "xlanode.com",
112112
port: "20189"
113-
},
114-
{
115-
host: "nodes.hashvault.pro",
116-
port: "22023"
117113
}
118114
]
119115

src-electron/main-process/modules/daemon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ export class Daemon {
2121
// Settings for timestamp to height conversion
2222
// These are initial values used to calculate the height
2323
this.PIVOT_BLOCK_HEIGHT = 119681
24-
this.PIVOT_BLOCK_TIMESTAMP = 1539676273
25-
this.PIVOT_BLOCK_TIME = 120
24+
this.PIVOT_BLOCK_TIMESTAMP = 1523976903
25+
this.PIVOT_BLOCK_TIME = 300
2626
}
2727

2828
checkVersion () {

src-electron/main-process/modules/wallet-rpc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1685,6 +1685,12 @@ export class WalletRPC {
16851685
}
16861686

16871687
quit () {
1688+
//Simple way to gracefully stop IPFS on exit
1689+
http.get('http://localhost:5001/api/v0/shutdown', (resp) => {
1690+
}).on("error", (err) => {
1691+
console.log("Error: " + err.message);
1692+
})
1693+
16881694
return new Promise((resolve, reject) => {
16891695
if (this.walletRPCProcess) {
16901696
this.closeWallet().then(() => {

0 commit comments

Comments
 (0)