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

Commit

Permalink
Merge pull request #2 from scala-network/3.0.0.4
Browse files Browse the repository at this point in the history
3.0.0.4
  • Loading branch information
hayzamjs authored Jan 9, 2020
2 parents 521f89e + 37c7ebf commit 41fcedc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src-electron/main-process/modules/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,8 @@ export class Backend {
port: "20189"
},
{
host: "daemons.cryptopool.space",
host: "xlanode.com",
port: "20189"
},
{
host: "nodes.hashvault.pro",
port: "22023"
}
]

Expand Down
4 changes: 2 additions & 2 deletions src-electron/main-process/modules/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class Daemon {
// Settings for timestamp to height conversion
// These are initial values used to calculate the height
this.PIVOT_BLOCK_HEIGHT = 119681
this.PIVOT_BLOCK_TIMESTAMP = 1539676273
this.PIVOT_BLOCK_TIME = 120
this.PIVOT_BLOCK_TIMESTAMP = 1523976903
this.PIVOT_BLOCK_TIME = 300
}

checkVersion () {
Expand Down
6 changes: 6 additions & 0 deletions src-electron/main-process/modules/wallet-rpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,12 @@ export class WalletRPC {
}

quit () {
//Simple way to gracefully stop IPFS on exit
http.get('http://localhost:5001/api/v0/shutdown', (resp) => {
}).on("error", (err) => {
console.log("Error: " + err.message);
})

return new Promise((resolve, reject) => {
if (this.walletRPCProcess) {
this.closeWallet().then(() => {
Expand Down

0 comments on commit 41fcedc

Please sign in to comment.