-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded build gradle to 3.3.2. Added pingServer & getTransactions to electrum.js, main.js & electrumUtils.js. Updated connectToRandomPeer in electrumUtils.js to account for and utilize peers acquired from the getPeers method. Added updatePeersList to settings.js action. Added peers object to settings reducer. Added UPDATE_PEERS_LIST to settings.js & ProjectData.json. Swapped out getVersion method for pingServer in electrumKeepAlive in utils/electrum.js. coin is now passed to every method in electrum.js to prevent any lagging method from updating the current state with a previously selected coin's state. Updated shim.js. Added SweepPrivateKey.js component. Added api.js to nodejs-project. Removed createAddresses from electrum.js, main.js & electrumUtils.js. Removed persist/REHYDRATE case in user reducer. Updated dependencies in package.json and updated yarn.lock accordingly.
- Loading branch information
1 parent
27fa969
commit fa42b60
Showing
49 changed files
with
3,111 additions
and
1,501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module.exports = { | ||
presets: ["module:metro-react-native-babel-preset"] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
class API { | ||
constructor() { | ||
this.coin = "bitcoin"; | ||
this.mainClient = { | ||
bitcoin: false, | ||
litecoin: false, | ||
bitcoinTestnet: false, | ||
litecoinTestnet: false | ||
}; | ||
this.peer = { | ||
bitcoin: {}, | ||
litecoin: {}, | ||
bitcoinTestnet: {}, | ||
litecoinTestnet: {} | ||
}; | ||
this.peers = { | ||
bitcoin: [], | ||
litecoin: [], | ||
bitcoinTestnet: [], | ||
litecoinTestnet: [] | ||
}; | ||
} | ||
|
||
updateCoin(coin) { | ||
this.coin = coin; | ||
}; | ||
|
||
updateMainClient(mainClient) { | ||
this.mainClient = mainClient; | ||
} | ||
|
||
updatePeer(peer) { | ||
this.peer = peer; | ||
} | ||
|
||
} | ||
|
||
module.exports = new API(); |
Oops, something went wrong.