Chris Kleeschulte
3923f260e8
Minor fixes.
2017-10-06 14:50:32 -04:00
Chris Kleeschulte
fbef2d85fa
Removed console.log.
2017-10-04 18:08:21 -04:00
Chris Kleeschulte
b6b730ea2a
Fixing recently sent txs.
2017-10-04 08:33:42 -04:00
Chris Kleeschulte
d93fc791e3
Fixed tests.
2017-09-28 21:59:45 -04:00
Chris Kleeschulte
ed1ed7b8b9
Fixed incoming req.addrs checking.
2017-09-27 19:20:42 -04:00
Chris Kleeschulte
110ee2ded3
Added block listener back in.
2017-09-26 19:38:13 -04:00
Chris Kleeschulte
827470fd71
Fixed tests for network type.
2017-09-26 11:02:18 -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
ee1ea93195
Added performance tests.
...
Changed getInfo from header service to block service.
2017-09-07 18:59:15 -04:00
Chris Kleeschulte
4563a8ffaa
Fixed network for bcoin.
2017-08-29 16:09:31 -04:00
Chris Kleeschulte
07430955bd
Fixed totalsent.
2017-08-28 17:09:51 -04:00
Chris Kleeschulte
da8920c4dc
Fixed block responses.
2017-08-25 17:35:43 -04:00
Chris Kleeschulte
5e5a58db19
Fixed tests.
2017-08-24 09:38:07 -04:00
Chris Kleeschulte
a1ca054fb8
Fixed tests.
2017-08-21 17:13:49 -04:00
Chris Kleeschulte
794ae55610
Fixed status
2017-08-18 20:09:11 +00:00
Rob Riddle
2122b01023
Use transform stream instead of async for /blocks
2017-08-18 15:22:47 -04:00
Chris Kleeschulte
5bcfd8fcd8
Fixed current difficulty.
2017-08-15 17:05:04 -04:00
Chris Kleeschulte
21e30645cd
Various repairs.
2017-08-15 15:43:13 -04:00
Chris Kleeschulte
d866dd7a65
Retrofitting for new bitcore-node.
2017-08-15 13:31:42 -04:00
Chris Kleeschulte
b63a2208fc
Fixes to allow bcoin to work with Transaction controller.
2017-08-10 18:56:13 -04:00
Chris Kleeschulte
5a49f5c6c2
Added fixes for blocks route.
2017-08-09 19:41:50 -04:00
Chris Kleeschulte
c61490ed62
WIP changes for next version
2017-08-09 18:11:03 -04:00
Braydon Fuller
5eb32cf64c
test: address trim transform options
2016-07-20 10:54:28 -04:00
Braydon Fuller
67fc186293
test: address txs trim results
2016-07-20 10:38:43 -04:00
Braydon Fuller
38e061e0c5
address: include options to trim transaction results
2016-07-19 20:33:31 -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
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
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
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
Braydon Fuller
c83842eb60
addresses: parseInt from and to
2016-04-22 17:29:26 -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
c68b9e143e
test: update transaction tests
2016-04-15 14:56:54 -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
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
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
b18dc95755
address: update utxos
2016-04-11 10:33:53 -04:00
Braydon Fuller
78870fc56e
fixed bug that was removing transactions from the cached block
2016-04-11 10:33:53 -04:00
Braydon Fuller
3c355c30a9
blocks: added lru cache
2016-04-11 10:33:53 -04:00
Braydon Fuller
13efeec84b
blocks: fix for getBlockHashesByTimestamp
2016-04-11 10:29:50 -04:00
Braydon Fuller
e4f585ad15
general: updated controllers for new api from bitcoind
2016-04-11 10:28:49 -04:00
Joel Kaartinen
c42b8d9d91
Optimize block list page to not parse all transactions from a block when
...
the only data that is interesting is number of transactions. Fixes 100%
CPU while building block list.
2016-03-29 12:16:14 +03:00
Braydon Fuller
e790622df6
Fixed bug with sequence number for rbf
...
See: dfdeaba729 (commitcomment-14937962)
2016-01-28 14:42:16 -05:00
Matias Alejo Garcia
44014b5bcb
Merge pull request #434 from hyzhak/feature/block-height-in-transaction
...
add block height to transaction response
2016-01-07 14:20:14 -03:00
Matias Alejo Garcia
d9fe157f41
Merge pull request #422 from braydonf/urlencoded
...
Fixed bug with parsing urlencoded post data.
2016-01-07 14:16:44 -03:00
Ivan Socolsky
dfdeaba729
detect RBF transactions on 'tx' event
2015-11-30 13:58:06 -03:00
Eugene Krevenets
2282d231bd
add block height to transaction response
2015-11-25 23:37:30 +01: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
Patrick Nagurny
496349d4b5
fix sync percentage
2015-10-22 14:28:28 -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
85b51a378a
Switched to use Date.now()
2015-10-02 14:08:52 -04:00
Braydon Fuller
f96d8f3f8b
Added currency controller and endpoint.
2015-10-02 12:27:02 -04:00
Braydon Fuller
fe6a441a52
Added spentTxId and spentIndex
2015-10-01 23:49:28 -04:00
Braydon Fuller
dcabaeba8c
Include ASM in transaction endpoints.
2015-09-30 23:02:29 -04:00
Braydon Fuller
3f76e8a9dc
Fix bug with satoshis being returned instead of bitcoin.
2015-09-29 18:04:54 -04:00
Chris Kleeschulte
999a669c53
Removed unneeded and slow getTxOutSetInfo
2015-09-25 11:17:20 -04:00
Braydon Fuller
7b74045ff4
Fix bug with null in vouts array.
2015-09-24 18:20:37 -04:00
Braydon Fuller
c7054051e3
Include mining pool information.
2015-09-22 13:32:41 -04:00
Chris Kleeschulte
4a850e2758
Merge pull request #379 from braydonf/mempool-mined-time
...
Only include blocktime if transaction is in a block.
2015-09-22 13:03:34 -04:00
Chris Kleeschulte
52b02eda14
Merge pull request #376 from braydonf/bug/block-txs-paging
...
Fix bug where page 0 is falsy and pagination would not be enabled.
2015-09-22 12:45:51 -04:00
Chris Kleeschulte
778c09b96d
Merge pull request #377 from braydonf/feature/next-block
...
Added bindings for getNextBlockHash
2015-09-22 12:13:06 -04:00
Braydon Fuller
dc791a2f24
Only include blocktime if transaction is in a block.
2015-09-21 17:22:09 -04:00
Braydon Fuller
b49f1505eb
Added bindings for getNextBlockHash
2015-09-21 14:37:13 -04:00
Braydon Fuller
8a21f48d2a
Fix bug where page 0 is falsy and pagination would not be enabled.
2015-09-21 14:13:48 -04:00
Braydon Fuller
b32eeec4d6
Merge pull request #375 from pnagurny/feature/estimateFee
...
v0.3.0 add estimateFee route
2015-09-21 13:19:24 -04:00
Braydon Fuller
4b1b929cff
Merge pull request #371 from pnagurny/enhance/address-summary
...
v0.3.0 Faster address summary
2015-09-21 12:56:32 -04:00
Patrick Nagurny
9070b74653
expose estimateFee route
2015-09-18 13:58:46 -04:00
Patrick Nagurny
d869be5208
Merge pull request #372 from braydonf/message-verification
...
Added message verification endpoint.
2015-09-18 13:52:44 -04:00
Braydon Fuller
8c605047c3
Added handlers for getting status of the block chain.
...
- getTxOutSetInfo
- getLastBlockHash
- getBestBlockHash
2015-09-17 18:45:53 -04:00