Corey
a32a292d4e
Merge pull request #8 from synonymdev/get-transaction-merkle
Get Transaction Merkle
2 years ago
Corey Phillips
206010a04c
Adds getTransactionMerkle method to helpers/index.js.
2 years ago
Corey
1515d57a61
Merge pull request #7 from synonymdev/update-peer-disconnect
Update Peer Disconnect
2 years ago
Corey Phillips
a98c5b182c
Updated disconnectFromPeer method in helpers/index.js.
Removed destroy from close method in Client class in lib/client.js.
Added subscribe check to onClose method in electrum_client.js.
Updated package-lock.json.
2 years ago
Corey
104e44c6c9
Merge pull request #6 from synonymdev/remove-data-object
fix(client): Removed Unused data Object
2 years ago
Corey Phillips
3ad29107a2
fix(client): Removed Unused data Object
Removed unused data object in makeRequest method in utils.js.
Bumped version to 0.0.8
2 years ago
Corey
672d13c63b
Merge pull request #5 from synonymdev/subscribe-address-update
fix(subscribe): Subscribe Address Fix
2 years ago
Corey Phillips
d2f701bb46
fix(subscribe): Subscribe Address Fix
Updated subscribe address method in index.js.
Added onAddressReceive to client.js.
2 years ago
Corey
ee0fb0575b
Merge pull request #4 from synonymdev/add-regtest
Added bitcoinRegtest server to peers.json.
3 years ago
Corey Phillips
596458d8bb
Added bitcoinRegtest server to peers.json.
Added bitcoinRegtest as needed throughout client.js.
3 years ago
Corey
7060a07f67
Merge pull request #3 from synonymdev/add-get-header
Added getHeader Method
3 years ago
Corey Phillips
5cd7535db0
Added getHeader method to helpers/index.js.
Removed deprecated methods from electrum_client.js.
3 years ago
Corey
5551bc896a
Merge pull request #2 from synonymdev/peer-info
Peer Info
3 years ago
Corey Phillips
7f73b8028f
Added getConnectedPeer method to helpers/index.js.
3 years ago
Corey
2ad24c99d7
Merge pull request #1 from synonymdev/tcp-socket
Replace @photon-sdk/react-native-tcp with react-native-tcp-socket
4 years ago
Corey Phillips
8cc26a41c6
Added net & tls as params throughout helpers/index.js as needed.
Updated connectResponse timeout in connectToPeer method in helpers/index.
Updated initSocket & getSocket in init_socket.js to work with and utilize the passed net & tls params.
4 years ago
Corey Phillips
d037dc1a18
Added net & tls to client constructor in client.js & electrum_client.js.
4 years ago
Corey Phillips
d69497085f
Replaced @photon-sdk/react-native-tcp with react-native-tcp-socket in package.json.
Updated package-lock.json accordingly.
4 years ago
Corey Phillips
b56823fb0e
Added broadcastTransaction to helpers/index.js
4 years ago
Corey Phillips
8f5903b3bb
Removed unresponsive peers in peers.json.
Improved peer connection handling in helpers/index.js.
4 years ago
Corey Phillips
a9548296c7
Updated getTransactions method helpers/index.js.
4 years ago
Corey Phillips
6000557684
Removed trailing comma in peers.json.
4 years ago
Corey Phillips
457e758b0c
Updated connectToPeer method in helpers/index.js.
Updated peers in peers.json.
4 years ago
Corey Phillips
0bf2aecdcf
Added pingServer check to connectToPeer in helpers/index.js.
Updated subscribeAddress method in helpers/index.js.
Updated _attemptToGetArray & _getTimeout in helpers/index.js.
4 years ago
Corey Phillips
b360cc67b7
Updated subscribe methods in helpers/index.js.
Added subscribedHeaders to helpers/clients.js.
Updated onMessage, onClose & onError methods in lib/client.js.
4 years ago
Corey Phillips
a1ebc0c0f2
Updated requestObjectBatch method in client.js.
Updated README.md.
4 years ago
Corey Phillips
158b9a826c
Added blockchainScripthash_getMempoolBatch to electrum_client.js.
Updated requestObjectBatch in client.js.
Updated getTimeout and added _attemptToGetArray methods to helpers/index.js.
Added listUnspentAddressScriptHashes, getAddressScriptHashesHistory, getAddressScriptHashesMempool & getTransactions methods to helpers/index.js.
4 years ago
Corey Phillips
431122bdb9
Created constants.js.
Added getAddressScriptHashBalancesTest to electrum-client-helpers-test.js.
Added getAddressScriptHashBalances to "Usage & Examples" section in README.md.
4 years ago
Corey Phillips
36d7a389a6
Added requestObjectBatch to client.js.
Added data param to makeRequest & createPromiseResultBatch methods in util.js.
4 years ago
Corey Phillips
0587aa27b5
Added getAddressScriptHashBalances to helpers/index.js.
4 years ago
Corey Phillips
3e64e965da
Updated onMessage method in client.js.
Removed onEnd method in client.js.
Cleaned up batch methods in electrum_client.js.
Removed timeout & end listeners in initSocket method in init_socket.js.
Removed timeout, end, secureconnect & onerror listeners in connect method in TlsSocketWrapper.js.
4 years ago
Corey Phillips
1301007a37
Created README.md and added an installation and usage/example section.
4 years ago
Corey Phillips
8aeb8a7454
Added pingTest, startRandomPeerTest, disconnectTest, startCustomPeerTest, getAddressScriptHashBalanceTest, getPeersTest, subscribeHeaderTest, subscribeAddressTest & getFeeEstimateTest tests to electrum-client-helpers-test.js.
4 years ago
Corey Phillips
624dfb1639
Added pingServer, getAddressScriptHashBalance, getPeers, subscribeHeader, subscribeAddress & getFeeEstimate methods to helpers/index.js.
4 years ago
Corey Phillips
73f40307fa
Added subscribedAddresses to clients.js.
4 years ago
Corey Phillips
7b2f275766
Added basic tests for the start/stop helpers methods.
4 years ago
Corey Phillips
a3a1a9a36d
Added some basic start/stop helper methods.
Added some default peers to connect to randomly.
4 years ago
Corey Phillips
0069ebf522
Initial merge of node-electrum-client & rn-electrum-client.
4 years ago
Corey
a1bc50fbb5
Initial commit
4 years ago