Commit Graph
139 Commits
Author SHA1 Message Date
Rosco Kalis fd3fd43800 Add /block/headers GET/POST endpoints + tests and mock data 2020-08-26 12:32:32 +02:00
Chris Troutner e4a427788f Merge branch 'master' into 5-electrum-tx-data 2020-08-17 10:31:08 -07:00
Chris Troutner 27a2825a43 fix(Electrumx): Adding get tx details endpoints 2020-08-17 10:31:05 -07:00
Chris Troutner 3d453c335f Merge pull request #17 from rkalis/electrumx-p2sh
Enable P2SH addresses to be used with the ElectrumX endpoints
2020-08-17 08:17:50 -07:00
Chris Troutner 443fb233ae fix(util): Fixed failing integration test 2020-08-17 08:08:54 -07:00
Rosco Kalis 63b8168c45 Add get transaction details from Electrum
- Add functions for getting a single transaction details or bulk
- Add GET and POST routes for these functions
- Add tests +mock data for these functions

- Add test helper function for stubbing a method for unit tests
- Add test helper function for asserting an API error
2020-08-16 19:43:12 +02:00
Rosco Kalis 1e5dae56af Enable P2SH addresses to be used with the ElectrumX endpoints 2020-08-14 12:15:26 +02:00
Chris Troutner b383312ec0 fix(unconfirmed tests): Not easy to test, so skipping for integration test 2020-07-31 08:47:11 -07:00
Stoyan Zhekov 14ac642bdb Bulk mempool response format fixed 2020-07-29 00:10:26 +09:00
Stoyan Zhekov 1e53a42efd GET and POST endpoints for unconfirmed utxos 2020-07-28 23:39:16 +09:00
Chris Troutner 695072dfbf fix(generateSendOpReturn): returns hex string now 2020-07-18 19:40:17 -07:00
Chris Troutner 6553560c56 Linting 2020-07-18 18:37:56 -07:00
Daniel Gonzalez 95789903f0 feat(endpoint): Added new /generateSendOpReturn POST endpoint 2020-07-14 01:45:07 -04:00
Chris Troutner 9e743db57b fix(integration): fixed integration tests 2020-06-20 11:54:28 -07:00
Chris Troutner 76434aa970 less noisy integration tests 2020-05-13 08:32:33 -07:00
Chris Troutner 7ce8a0632a Updated tokenstats endpoint 2020-05-12 17:40:42 -07:00
Chris Troutner 299945df0d finished unit tests for tokenStats 2020-05-12 13:27:02 -07:00
Chris Troutner dec6aed638 Pausing work on txsByAddressSingle() 2020-05-12 09:33:29 -07:00
Chris Troutner cc17916022 fix(tokenStats): Added generateCredentials() to tokenStats SLP method 2020-05-11 21:13:48 -07:00
Chris Troutner 40cf87fa62 Added additional tests for GET publickey 2020-05-03 15:57:21 -07:00
Chris Troutner f44229afe3 fix(GET /encryption/publickey): Search blockchain for a public key associated with an address 2020-05-03 15:37:46 -07:00
Chris Troutner 72ef95abe6 Created Encryption route and tests 2020-05-03 14:12:12 -07:00
Chris Troutner 75a3cee7bd Adding getTxOut as a POST call 2020-04-23 21:49:31 -07:00
Chris Troutner 492e10b440 fix(POST electrumx/transactions): Implemented with unit and integration tests 2020-04-16 20:41:08 -07:00
Chris Troutner 9172c5ceb0 fix(POST electrumx/balance): Implemented with unit and integration tests 2020-04-16 20:26:54 -07:00
Chris Troutner 9cb33f96f8 fix(POST electrumx/utxos): Implemented with unit and integration tests 2020-04-16 19:57:41 -07:00
Chris Troutner 373f538c8d fix(/electrumx/transactions/:address): Implemented with unit and integration tests 2020-04-16 19:09:58 -07:00
Chris Troutner fb3641e7b2 fix(/electrumx/balance/:address): Implemented with unit and integration tests 2020-04-16 18:52:40 -07:00
Chris Troutner 7bb3741fa9 fix(ElectrumX): get methods for balance, utxos, and tx history compelte 2020-04-16 18:37:57 -07:00
Chris Troutner d6925164e0 ElecrumX tests are passing 2020-04-16 09:53:34 -07:00
Chris Troutner f4e90a0518 fix(electrumx integration): Fixed the integration tests by renaming file 2020-04-14 09:55:36 -07:00
Chris Troutner d43cf6cb80 Improved tests for electrumx lib 2020-04-12 19:15:45 -07:00
Chris Troutner 4eadea6d88 fix(electrumx config): Passing electrum server info as env var 2020-04-12 18:14:02 -07:00
Chris Troutner 85361c987c fix(electrumx): Added documentation and curl 2020-04-07 14:49:50 -07:00
Chris Troutner 381b89f9d8 Finished writing unit and integration tests for ElectrumX UTXO call 2020-04-07 12:12:36 -07:00
Chris Troutner 8910bfd33b Got first unit and integration tests for electrumx 2020-04-07 10:49:05 -07:00
Chris Troutner 708488d928 Created first unit tests for the elctrumx lib 2020-04-06 13:47:05 -07:00
Chris Troutner 0142dcc2eb fix(jwt token secret): Better handling when token secret is misconfigured 2020-04-05 08:11:57 -07:00
Chris Troutner 8b5325d955 fix(rate limits): Removing unneeded code 2020-03-27 13:43:29 -07:00
Chris Troutner 140e2b1cc1 Restored original jwt token handling 2020-03-27 10:21:09 -07:00
Chris Troutner f4fd9e4e45 Updating unit test mocks 2020-03-20 20:33:52 -07:00
Chris Troutner 10452bb47e fix(SLP list): Removing list endpoint, no scaleable 2020-03-20 20:28:50 -07:00
Chris Troutner ac4eb663a7 Fixing tests that broke in ABC 0.20.2 2020-03-20 20:20:49 -07:00
Chris Troutner c571290341 fixed merge conflict 2020-03-14 11:38:07 -07:00
danielhumgon d8578767d6 refactor(slp): Refactored SLP route library 2020-03-13 00:52:17 -04:00
danielhumgon 38cf7f4304 refactor(Blockbook): Refactored Blockbook route library 2020-03-10 22:38:00 -04:00
Chris Troutner b74a3335b0 fix(tests): Fixed several unit and integration tests 2020-03-07 10:43:55 -08:00
danielhumgon 161c31a397 refactor(libraries): Refactored control, mining and raw transactions 2020-03-04 20:33:20 -04:00
Chris Troutner 18812e0473 fix(rate limits): Duration was set to 1 second, not 1 minute. Fixed 2020-02-28 08:05:16 -08:00
Chris Troutner 01ec490a9b feat(slp): Updated balance endpoints for SLPDB v1 2020-02-16 19:07:35 -08:00