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
Braydon Fuller
cf58b69bbf
Added message verification endpoint.
2015-09-17 16:57:03 -04:00
Patrick Nagurny
2ec8d1f447
use faster getAddressSummary()
2015-09-17 10:42:35 -04:00
Braydon Fuller
83c8f9c5ac
Merge pull request #365 from pnagurny/enhance/history-pagination
...
address history pagination
2015-09-16 14:02:55 -04:00
Patrick Nagurny
f359a96f9e
check for valid date
2015-09-16 12:08:41 -04:00
Patrick Nagurny
3d713224bf
no longer need to reverse
2015-09-15 18:23:27 -04:00
Patrick Nagurny
bc4672760c
get blocks by date
2015-09-15 16:51:54 -04:00
Patrick Nagurny
9485398879
address history pagination
2015-09-15 14:32:34 -04:00
Braydon Fuller
2ae1cdbec2
Merge pull request #359 from pnagurny/feature/main-chain
...
add isMainChain to block
2015-09-09 11:20:46 -04:00
Patrick Nagurny
1199618471
make bitcore node inv tx output match insight's
2015-09-09 11:15:37 -04:00
Patrick Nagurny
0e538f2e06
get block difficulty
2015-09-09 10:31:09 -04:00
Patrick Nagurny
300bf67414
add isMainChain to block
2015-09-09 10:21:04 -04:00
Patrick Nagurny
3bcb0426c3
get block reward
2015-09-04 14:06:04 -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
d67950145c
add status tests
2015-09-03 12:15:33 -04:00
Patrick Nagurny
6c276ada49
update path
2015-09-02 11:49:32 -04:00
Patrick Nagurny
54462019be
remove files
2015-09-02 11:45:51 -04:00
Matias Alejo Garcia
b9ad26ab7e
rm broken dontFillSpend option
2015-07-17 18:35:44 -03:00
Matias Alejo Garcia
90d5e57e7a
add firstSeenTs for sorting
2015-07-14 19:36:49 -03:00
Matias Alejo Garcia
71e3c1ba9c
enforce limit at POST /txs requests
2015-07-13 16:39:05 -03:00
Matias Alejo Garcia
3c34718774
add unconfirmed inputs banner
2015-07-10 17:40:54 -03:00
Matias Alejo Garcia
e67fe245f1
fix msg
2015-06-16 16:27:35 -03:00
Matias Alejo Garcia
7c0e34e6c3
allow tip block to be "burried" with 100 blocks in testnet
2015-06-16 16:23:25 -03:00
Matias Alejo Garcia
d0f99b9daa
differnt limit for testnet
2015-06-16 16:22:33 -03:00
Matias Pando
cfd66595c3
Checking INSIGHT_FORCE_RPC_SYNC
2015-03-11 11:54:03 -03:00
Matias Pando
94b6c3f9af
Checking bitcoind version
2015-03-10 17:11:04 -03:00
Rob Johnson
059731eea1
Fix for #63
...
fix for issue #63 In old bitcoind, .dat files seems to be bigger that the actual 128MB, which could cause errors on insight-api
2015-02-12 20:36:35 -06:00
Larry Ren
08a1ae9fab
Fix confirmation info for multiple spent attempts
...
Use the correct property when going over multiple spent attempts.
2014-11-19 21:23:24 +00:00
Matias Alejo Garcia
5ec09a493b
catch bad message keys
2014-11-18 15:47:04 -03:00
igarciaes
63db916f5d
Remove scriptSig.hex and scriptPubKey.hex delete lines as this
...
information would be useful for the tx API response
2014-11-07 19:00:57 +01:00
Rainer Koirikivi
70fc47f343
Friendlier error reporting for sendRawTransaction
2014-11-05 00:35:41 +02:00
Rainer Koirikivi
a10e2b4a43
Add support for verifymessage
...
/api/messages/verify accepts three parameters either via JSON POST data
or GET query parameters, pipes them to the bitcoin RPCs verifymessage
command, and returns the result for the user.
2014-11-05 00:35:41 +02:00
devlo
1224ac08d2
Bug fix for #199
...
Proper way of counting confirmed transactions is : Height of longest chain - Height of chain for the block containing the transaction + 1
2014-09-28 00:23:52 +02:00
Manuel Araoz
9f1da23e45
cleaner plugin: manual tests OK
2014-09-01 20:23:57 -03:00
Manuel Araoz
02659021d3
cleaner plugin: removeUpTo
2014-09-01 20:23:57 -03:00
Manuel Araoz
8dc4af654b
cleaner plugin: optimize getMessages
2014-09-01 20:23:57 -03:00
Manuel Araoz
fe682c173f
cleaner plugin: optimize getMessages
2014-09-01 20:23:57 -03:00
Manuel Araoz
c36c7d4ab4
starting with cleaner plugin
2014-09-01 20:23:57 -03:00
Manuel Araoz
0632d8870b
fix logging againw
2014-08-25 18:51:06 -03:00
Manuel Araoz
77df884adc
fix logging
2014-08-25 12:40:51 -03:00
Manuel Araoz
8de655eb2b
improve logging on Sync
2014-08-21 16:37:04 -04:00
Manuel Araoz
7a24d3bcd8
improve logging on HistoricSync
2014-08-21 16:37:04 -04:00
Manuel Araoz
4dcc246ea5
remove starting
2014-08-21 16:37:04 -04:00
Manuel Araoz
0ff490dbf3
make logging level configurable via env vars
2014-08-21 16:37:03 -04:00
Manuel Araoz
4628f20f9f
fix weird logging bug
2014-08-21 16:37:03 -04:00
Manuel Araoz
f1c3d7c498
fix logging and plugin
2014-08-21 16:37:03 -04:00
Manuel Araoz
a5fda98cdc
use winston for logging
2014-08-21 16:37:03 -04:00
Manuel Araoz
dfab8fecb8
some logs and example code
2014-08-20 10:55:00 -04:00
Manuel Araoz
9964f568b4
make sync work
2014-08-05 15:58:08 -03:00
Manuel Araoz
1d5af5bdad
add socket server test
2014-08-05 13:04:38 -03:00
Manuel Araoz
3977dc8443
fix tests and make it work with encryption & sigs
2014-08-04 15:43:38 -03:00
Manuel Araoz
93a227316e
working towards verifying message sigs
2014-08-01 19:05:05 -03:00
Manuel Araoz
fe2f6ec6c4
add example of websocket API use
2014-08-01 19:05:05 -03:00
Manuel Araoz
2174f3e4be
fix multiple handlers
2014-08-01 19:05:05 -03:00
Manuel Araoz
b825f51ce4
getMessages working
2014-08-01 19:05:05 -03:00
Manuel Araoz
7273776e55
linking socket with leveldb
2014-08-01 19:05:05 -03:00
Manuel Araoz
ac1c98f8d4
fix title print
2014-08-01 19:05:05 -03:00
Manuel Araoz
c39749c58e
add MessageDb
2014-08-01 19:05:04 -03:00
lordhelmut
496999644b
Watch for BITCOIND_P2P_HOST for different server than BITCOIND_HOST for RPC
2014-07-25 14:29:00 -07:00
Matias Alejo Garcia
3bfcb95e23
add test for backwars compat
2014-06-08 20:32:43 -03:00
Matias Alejo Garcia
9df1674577
fix error in scriptpubkey cache
2014-06-08 20:10:33 -03:00
Matias Alejo Garcia
7542138847
add startAt opts in sync
2014-06-08 16:24:17 -03:00
Matias Alejo Garcia
0a2c53aa66
fix ts in unspents
2014-06-05 17:14:55 -03:00
Matias Alejo Garcia
3dbfae11a3
modifies unspent interfase to be more clear
2014-06-05 17:07:54 -03:00
Matias Alejo Garcia
b249be4bdb
fixes in upgradev2 script
2014-06-04 10:48:57 -03:00
Matias Alejo Garcia
1ce15f619d
bug/fix-update-script
2014-06-03 23:14:42 -03:00
Matias Alejo Garcia
65a50936ae
updates reorg tests
2014-06-03 10:09:55 -03:00
Matias Alejo Garcia
a8ecdc7453
quick hack to handle blocks that arrive at the sametime
2014-06-02 20:09:48 -03:00
Matias Alejo Garcia
881c61c0c2
update dependencies
2014-06-01 09:04:18 -03:00
Matias Alejo Garcia
a766738383
fix fn name
2014-05-30 14:56:04 -03:00
Matias Alejo Garcia
985ca1ac39
add ignore Cache
2014-05-30 14:10:32 -03:00
Matias Alejo Garcia
69f7ee6aa7
remove console logs
2014-05-30 13:20:19 -03:00
Matias Alejo Garcia
4eb31758e4
fix double spent reports
2014-05-30 13:14:53 -03:00
Matias Alejo Garcia
4ac7165276
add pager to blocks within certain date
2014-05-30 11:50:43 -03:00
Matias Alejo Garcia
d538e154d6
update script and fixes
2014-05-29 23:37:26 -03:00
Matias Alejo Garcia
108a327d5a
fix blockdb check
2014-05-29 10:47:40 -03:00
Matias Alejo Garcia
e3c7440cf3
add ts to address key
2014-05-28 13:17:08 -03:00
Matias Alejo Garcia
b1261bbf3b
refactor addr update opts
2014-05-28 09:51:48 -03:00
Gustavo Maximiliano Cortez
172c2589d7
Merge pull request #99 from matiu/bug/fix-cache
...
Bug/fix cache
2014-05-28 09:42:55 -03:00
Gustavo Maximiliano Cortez
e9bfdba325
Merge pull request #98 from matiu/bug/fix-addr-broadcast
...
fix addr broadcast and sync info;
2014-05-28 09:40:14 -03:00
Matias Alejo Garcia
98130d3647
fix cache usage, and test
2014-05-28 08:17:47 -03:00
Matias Alejo Garcia
6a751e2a8f
fix addr broadcast and sync info;
2014-05-28 00:17:42 -03:00
Gustavo Maximiliano Cortez
b157257a92
Merge pull request #97 from matiu/bug/confirmed-balance
...
Bug/confirmed balance
2014-05-27 18:04:57 -03:00
Gustavo Maximiliano Cortez
342fe938fa
Merge pull request #95 from matiu/feature/scripts
...
Feature/scripts
2014-05-27 18:04:31 -03:00
Matias Alejo Garcia
3da0779d70
fix confirmed balance
2014-05-27 18:02:42 -03:00
Matias Alejo Garcia
ef7ec2328d
upgrade script
2014-05-27 16:14:44 -03:00
Gustavo Cortez
556361e970
Fixed BlockExtractor
2014-05-27 10:59:34 -03:00
Matias Alejo Garcia
c595d49a4e
db update script
2014-05-26 18:49:03 -03:00
Matias Alejo Garcia
c8e5b93aa3
add more warning on startup
2014-05-26 17:00:20 -03:00
Matias Alejo Garcia
eebc286825
add WARN is db version is old
2014-05-26 16:59:39 -03:00
Gustavo Cortez
0779dd6da7
Fix sync process by @matiu
2014-05-26 14:09:25 -03:00
Matias Alejo Garcia
bce9f7a0bb
refactor in Transaction db
2014-05-25 23:54:08 -03:00
Matias Alejo Garcia
b5ff9fa84b
add cache for balance and utxo
2014-05-25 17:34:49 -03:00
Matias Alejo Garcia
f0f936d2d8
refactor tdb and bdb
2014-05-23 21:23:44 -03:00