Commit Graph

1723 Commits

Author SHA1 Message Date
Braydon Fuller
77211dbaf7 index: respond 204 to OPTIONS requests 2016-05-31 12:31:06 -04:00
Braydon Fuller
ce7de0b63c Bump package version to 0.4.0 2016-05-27 14:27:57 -04:00
Chris Kleeschulte
692578fd12 Merge pull request #467 from braydonf/bitcoind
bitcoind address index
2016-05-27 14:20:40 -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
4317f67a2b addresses: add coverage to address controller show
covers bug fixed in commit 72fe25aff9
2016-05-26 09:17:01 -04:00
Braydon Fuller
2448ad1779 index: log remote connecting ip address 2016-05-25 17:16:11 -04:00
Braydon Fuller
72fe25aff9 Fix bug with var self = this; 2016-05-25 16:03:36 -04:00
Braydon Fuller
61f0c3063a bitcoind: fix error handling bug 2016-05-16 18:32:08 -04:00
Braydon Fuller
11874a1957 blocks: handle out of range height as 404 not found 2016-05-16 18:27:27 -04:00
Braydon Fuller
0465179a93 transaction: switch to use bitcore node getDetailedTransaction 2016-05-13 18:22:28 -04:00
Braydon Fuller
ae9f6a2c2f test: add ratelimiter middleware unit test 2016-05-11 14:17:47 -04:00
Braydon Fuller
9eacb3dedc docs: add notes about block order sorting 2016-05-11 13:36:27 -04:00
Braydon Fuller
285e3550f5 status: camelCase adjustments for bitcore node 2016-05-11 11:54:29 -04:00
Braydon Fuller
c6bd150bd9 blocks: camelCase adjustments for bitcore node 2016-05-11 11:54:08 -04:00
Braydon Fuller
351c315736 common: improve error logging 2016-05-10 19:26:10 -04:00
Braydon Fuller
ebcc3607c2 ratelimiter: rename every to interval and add tests 2016-05-10 17:40:07 -04:00
Braydon Fuller
98d5314ef2 transactions: switch to use req.param
so that the last argument is the next callback
2016-05-10 16:55:16 -04:00
Braydon Fuller
7973e2398a blocks: switch to use req.param
so that the last argument is the next callback
2016-05-10 16:50:28 -04:00
Braydon Fuller
310dd99086 blocks: rename moreTs -> moreTimestamp for clarity 2016-05-10 16:24:37 -04:00
Braydon Fuller
0ba78e7180 docs: update documentation with address endpoint query optinos 2016-05-10 15:57:38 -04:00
Braydon Fuller
29e96e83ae address: pass "from" and "to" options 2016-05-10 13:52:01 -04:00
Braydon Fuller
4e54d195b9 blocks: add configurable option for caches 2016-05-09 17:54:57 -04:00
Braydon Fuller
b446f6733c transaction: handle error 2016-05-09 17:54:08 -04:00
Matias Alejo Garcia
80549ff1a7 Merge pull request #464 from slush0/master
Update SlushPool entry
2016-05-05 09:21:05 -03:00
Braydon Fuller
87643fba45 docs: update upgrade notes with additional differences 2016-04-25 12:42:45 -04:00
Braydon Fuller
92ac2155d4 Merge pull request #478 from Gitju/master
sed -i 's#github.com/bitpay/insight#github.com/bitpay/insight-ui#g'
2016-04-25 10:07:00 -04:00
Cryptoanarchist
d104af895f sed -i 's#github.com/bitpay/insight#github.com/bitpay/insight-ui#g' 2016-04-24 15:59:16 +02:00
Braydon Fuller
c83842eb60 addresses: parseInt from and to 2016-04-22 17:29:26 -04:00
Braydon Fuller
f890daa108 docs: update readme to include blocks endpoint 2016-04-22 17:24:32 -04:00
Braydon Fuller
203df0d736 docs: fix confirmations in example for utxo 2016-04-22 15:30:58 -04:00
Braydon Fuller
2efa5562be docs: remove nolonger relevant noCache query from readme 2016-04-22 15:27:57 -04:00
Braydon Fuller
95b2a04937 docs: add rawblock endpoint to docs 2016-04-22 15:26:20 -04:00
Braydon Fuller
465b14a0dd docs: fix formatting in readme 2016-04-22 15:20:54 -04:00
Braydon Fuller
bc9bb10ea7 docs: remove json markdown 2016-04-22 15:15:07 -04:00
Braydon Fuller
36ad6ebbbe docs: include rawblock in readme 2016-04-22 15:13:44 -04:00
Braydon Fuller
3e40d71c51 addresses: update utxo response format 2016-04-22 14:46:51 -04:00
Braydon Fuller
6e5dbfd22a utils: update estimatefee 2016-04-20 14:07:29 -04:00
Braydon Fuller
e1df171f95 blocks: cache block header info with next block with 6 confirmations 2016-04-20 10:54:10 -04:00
Braydon Fuller
b686c5bea9 blocks: fix null prevhash issue 2016-04-15 15:50:14 -04:00
Braydon Fuller
6ec263692b test: run node v4 with travis ci 2016-04-15 15:02:28 -04:00
Braydon Fuller
c68b9e143e test: update transaction tests 2016-04-15 14:56:54 -04:00
Braydon Fuller
f87bdea8fb test: update status tests 2016-04-15 14:03:57 -04:00
Braydon Fuller
29faace44a test: standardize quote formatting and fix missing semis 2016-04-15 13:54:23 -04:00
Braydon Fuller
13532666c3 test: update block tests 2016-04-15 13:45:58 -04:00
Braydon Fuller
2ff77801b0 test: update address test and test upgrades 2016-04-15 13:14:52 -04:00
Braydon Fuller
bb901b91bc test: standardize indentation to two spaces 2016-04-15 12:05:44 -04:00
Braydon Fuller
332fd2a012 test: update address utxo test 2016-04-15 12:02:22 -04:00
Braydon Fuller
d47527e7d0 transaction: update error handling with codes 2016-04-15 11:48:56 -04:00
Braydon Fuller
04b0b39049 transaction: include height in spent info 2016-04-12 15:30:47 -04:00
Braydon Fuller
38bbbc07dc transaction: spent info api updates 2016-04-12 15:01:27 -04:00