Commit Graph

36 Commits

Author SHA1 Message Date
sairajzero
79ed3ad330 Adding websocket api calls
The following api now have ws support for large data transmission
- /addr/:addr/
- /addrs/:addrs/txs
2023-01-27 18:05:48 +05:30
OstlerDev
aafc5911f4 BTC -> Flo 2018-01-15 16:35:41 -08:00
Matias Alejo Garcia
5a61a2e34a translate address for inputs and outputs 2017-11-12 05:05:39 -03:00
Chris Kleeschulte
15fe096a07 wip on changing subsciption endpoints. 2017-11-09 11:42:57 -05:00
Chris Kleeschulte
d93fc791e3
Fixed tests. 2017-09-28 21:59:45 -04:00
Chris Kleeschulte
110ee2ded3
Added block listener back in. 2017-09-26 19:38:13 -04:00
Chris Kleeschulte
4f6eb68c50
Fixed transaction transformation. 2017-09-25 21:21:54 -04:00
Chris Kleeschulte
e31ec2f276
Chnaged ui to pull from p2p for txs and not the mempool service. 2017-09-25 16:18:17 -04:00
Chris Kleeschulte
c61490ed62 WIP changes for next version 2017-08-09 18:11:03 -04:00
Braydon Fuller
57e65010f1 index: add option to disable rate limiter entirely
for the case that insight-api is used in an internal network
where rate limiting isn't necessary
2016-06-07 11:02:58 -04:00
Braydon Fuller
b9c909ad40 index: configurable ratelimiter options 2016-06-01 15:02:11 -04:00
Braydon Fuller
77211dbaf7 index: respond 204 to OPTIONS requests 2016-05-31 12:31:06 -04:00
Braydon Fuller
667a38053b block: check block argument and fix caching
Checks that the argument sent to the endpoint for /block/ and /rawblock/ is
a 64 character hexadecimal string (blockHash), otherwise will return 404.

Uses a long cache header for for the /rawblock/ endpoint since the result will not
change, and a short cache header for the /block/ endpoint since this data references
other blocks in the chain that can change.
2016-05-26 11:21:36 -04:00
Braydon Fuller
2448ad1779 index: log remote connecting ip address 2016-05-25 17:16:11 -04:00
Braydon Fuller
4e54d195b9 blocks: add configurable option for caches 2016-05-09 17:54:57 -04:00
Braydon Fuller
7ded22fb2c block: add raw block endpoint 2016-04-11 15:40:55 -04:00
Braydon Fuller
19c5b617d1 block: only cache block summary with height if confirmed >= 6
- update api with changes in bitcore node
- add block event
2016-04-11 10:39:46 -04:00
Braydon Fuller
9d78188f64 index: add not found 2016-04-11 10:33:53 -04:00
Braydon Fuller
491a5cb846 index: start of rate limiter 2016-04-11 10:33:53 -04:00
Braydon Fuller
0957f2301e index: add compression to responses 2016-04-11 10:33:53 -04:00
Braydon Fuller
8280d7a628 index: added response logging 2016-04-11 10:33:53 -04:00
Braydon Fuller
de4a87e5f8 index: update bitcoind tx event handler 2016-04-11 10:33:53 -04:00
Braydon Fuller
e4f585ad15 general: updated controllers for new api from bitcoind 2016-04-11 10:28:49 -04:00
Braydon Fuller
27ee62b755 Fixed bug with parsing urlencoded post data. 2015-11-04 12:26:20 -05:00
Braydon Fuller
94f584f792 Added configurable caching. 2015-10-23 15:20:20 -04:00
Braydon Fuller
3dfc1bc9e3 Switch to use bitcore-lib. 2015-10-16 18:14:38 -04:00
Braydon Fuller
efdb2487e4 Add CORS support 2015-10-14 12:52:25 -04:00
Braydon Fuller
cc1cbc12ad Move undefined check to the constructor. 2015-10-13 11:15:46 -04:00
Braydon Fuller
db2ee2ab27 Added ability to configure HTTP route prefixes. 2015-10-13 10:52:02 -04:00
Braydon Fuller
f96d8f3f8b Added currency controller and endpoint. 2015-10-02 12:27:02 -04:00
Patrick Nagurny
9070b74653 expose estimateFee route 2015-09-18 13:58:46 -04:00
Braydon Fuller
cf58b69bbf Added message verification endpoint. 2015-09-17 16:57:03 -04:00
Patrick Nagurny
1199618471 make bitcore node inv tx output match insight's 2015-09-09 11:15:37 -04:00
Patrick Nagurny
546c4a3345 remove apiPrefix 2015-09-03 17:44:19 -04:00
Patrick Nagurny
69c536be7d fix date bug, add inv subscription 2015-09-03 16:40:23 -04:00
Patrick Nagurny
54462019be remove files 2015-09-02 11:45:51 -04:00