This repository was archived by the owner on Sep 15, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed
src-electron/main-process/modules Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ( ) {
Original file line number Diff line number Diff 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 ( ( ) => {
You can’t perform that action at this time.
0 commit comments