flosight-api/lib
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
..
addresses.js Fix bug with var self = this; 2016-05-25 16:03:36 -04:00
blocks.js block: check block argument and fix caching 2016-05-26 11:21:36 -04:00
common.js common: improve error logging 2016-05-10 19:26:10 -04:00
currency.js Switched to use Date.now() 2015-10-02 14:08:52 -04:00
index.js block: check block argument and fix caching 2016-05-26 11:21:36 -04:00
messages.js common: improve error logging 2016-05-10 19:26:10 -04:00
ratelimiter.js ratelimiter: rename every to interval and add tests 2016-05-10 17:40:07 -04:00
service.js remove files 2015-09-02 11:45:51 -04:00
status.js status: camelCase adjustments for bitcore node 2016-05-11 11:54:29 -04:00
transactions.js transaction: switch to use bitcore node getDetailedTransaction 2016-05-13 18:22:28 -04:00
utils.js common: improve error logging 2016-05-10 19:26:10 -04:00