Commit Graph

138 Commits

Author SHA1 Message Date
Matias Alejo Garcia
ae4769555b support for new bitcore version ~0.1.6 2014-03-10 15:06:10 -03:00
Matias Alejo Garcia
e19cd9f2ba insight with soop. WIP 2014-03-05 23:03:56 -03:00
Matias Alejo Garcia
dbc2fe5c37 add scriptpubkey to utxo 2014-02-20 16:10:10 -03:00
Matias Alejo Garcia
c2221a9ece fix repeating TXs in addr pages 2014-02-18 19:31:23 -03:00
Matias Alejo Garcia
b8f95b7a0e refactor of historic sync. Handles all know scenarios 2014-02-18 03:40:55 -03:00
Matias Alejo Garcia
f69f210abf fix working for spent, also in var names 2014-02-16 13:38:34 -03:00
Matias Alejo Garcia
68b4342525 fix tests 2014-02-14 18:26:26 -03:00
Matias Alejo Garcia
09e3e1d32f new levelDB roots. test updated 2014-02-12 23:56:52 -03:00
Matias Alejo Garcia
a35fcc776d addr tx orderer by TS. keep unconfirmed balance. fix times in txs 2014-02-12 19:27:29 -03:00
Manuel Araoz
dad357c388 fixed address balances and tx 2014-02-11 18:18:23 -03:00
Manuel Araoz
605bda7da5 address tests 2014-02-11 18:18:23 -03:00
Manuel Araoz
e1da663726 fix peersync tests 2014-02-11 18:18:23 -03:00
Manuel Araoz
508eafa393 node sync integration test 2014-02-11 18:18:23 -03:00
Manuel Araoz
9f6e340364 block integration test fixed 2014-02-11 18:18:23 -03:00
Matias Alejo Garcia
3c317d700b Merge pull request #220 from matiu/feature/handle-double-spends
Feature/handle double spends
2014-02-10 18:15:31 -02:00
Matias Alejo Garcia
7496fc47de index for output spend matching (speeds ups tx api 2014-02-10 14:09:28 -03:00
Gustavo Cortez
c6d137f856 fixed: blocklist by date with limit. when arrive new block, reload last 5 blocks on homepage. The same for new txs. 2014-02-09 15:59:28 -03:00
Matias Alejo Garcia
b5ad5643b1 sync working embedded in http server 2014-02-08 20:09:54 -03:00
Matias Alejo Garcia
97e1903dd1 complete sync process from files working 2014-02-08 16:20:51 -03:00
Matias Alejo Garcia
9ebc70a3e4 reorg case 1) working and tested 2014-02-08 10:57:37 -03:00
Matias Alejo Garcia
94edb188d0 fix standalone p2p 2014-02-06 10:20:49 -03:00
Matias Alejo Garcia
52179a2f4e Merge branch 'feature/leveldb' of github.com:matiu/insight into feature/leveldb 2014-02-05 15:09:37 -03:00
Matias Alejo Garcia
2f98fe35b3 rpc on classtool 2014-02-05 15:08:39 -03:00
Gustavo Cortez
f1c52a97a0 added limit to method blocks by date 2014-02-05 14:17:19 -03:00
Matias Alejo Garcia
061e4e4b34 leveldb connection using classtool 2014-02-05 13:02:51 -03:00
Matias Alejo Garcia
a031941c62 fix time at block 2014-02-05 12:31:38 -03:00
Matias Alejo Garcia
58104707a2 Merge branch 'feature/leveldb' of github.com:matiu/insight into feature/leveldb 2014-02-05 11:24:20 -03:00
Matias Alejo Garcia
548572bfa3 all test working again with level DB 2014-02-05 11:23:41 -03:00
Gustavo Cortez
aebfdebfde fix test 2014-02-05 10:59:01 -03:00
Gustavo Cortez
e16fb98c91 fix conflicts 2014-02-05 10:26:37 -03:00
Matias Alejo Garcia
e4095cbf8e fix timestamp and rounding in TXs 2014-02-05 03:34:46 -03:00
Matias Alejo Garcia
71b27aede0 better remove in txDB 2014-02-05 02:48:54 -03:00
Matias Alejo Garcia
c516c113cb more fixes on sync 2014-02-04 23:50:18 -03:00
Matias Alejo Garcia
d9f6de4e0c sync fixes 2014-02-04 19:55:58 -03:00
Gustavo Cortez
fe8bb95e28 block test: list of hashes by date 2014-02-04 17:22:51 -03:00
Matias Alejo Garcia
fd4f6e82cc simple test for sync 2014-02-04 13:06:05 -03:00
Matias Alejo Garcia
d5d6bcd131 addr test working ~50% 2014-02-04 04:06:03 -03:00
Matias Alejo Garcia
65aad6d0ad 02 transaction tests passing 2014-02-04 03:41:32 -03:00
Matias Alejo Garcia
339f6f79fc mocha 01-txout passing 2014-02-04 03:22:58 -03:00
Matias Alejo Garcia
ddeaa5d835 blockExtractor class to read blocks from bitcoind .dat files 2014-02-01 22:45:08 -03:00
Matias Alejo Garcia
6f2ffeff04 new DB schema. test updated 2014-01-29 15:10:36 -03:00
Matias Alejo Garcia
7607651fd7 optimize fields in mongo for better storage 2014-01-27 17:10:03 -03:00
Matias Alejo Garcia
66e3dd977b refactor tx, update tests 2014-01-27 12:51:11 -03:00
Matias Alejo Garcia
8cc06142bc update test 2014-01-22 10:01:08 -03:00
Manuel Araoz
62d469be0c finished tests for PeerSync.js 2014-01-16 21:08:50 -03:00
Manuel Araoz
d51df9f087 handle_tx() tests 2014-01-16 16:47:06 -03:00
Manuel Araoz
0a94f2514b Merge branch 'master' of github.com:bitpay/mystery into test/test-p2p-sync
Conflicts:
	lib/Sync.js
2014-01-16 16:43:37 -03:00
Manuel Araoz
1df72a818c handle_inv tests 2014-01-16 16:12:32 -03:00
Manuel Araoz
8c2e118f76 Merge branch 'master' of github.com:bitpay/mystery into test/test-p2p-sync 2014-01-16 15:39:51 -03:00
Gustavo Cortez
ab85012bdf replaced getBestBlockHash for bot method (getBlockCount + getBlockHash) to get the last block hash. 2014-01-16 15:33:33 -03:00
Manuel Aráoz
6c3968869b Merge pull request #61 from matiu/bug/05sync
Bug/05sync
2014-01-16 08:03:26 -08:00
Manuel Araoz
3ab958eab2 Merge branch 'master' of github.com:bitpay/mystery into test/test-p2p-sync 2014-01-16 13:03:16 -03:00
Manuel Araoz
b689fd1c51 test skeleton 2014-01-16 13:01:10 -03:00
Mario Colque
ffce4526a6 Merge pull request #59 from cmgustavo/feature/status_api
wow!
2014-01-16 06:35:21 -08:00
Matias Alejo Garcia
2aefe7119d fix hash in block historical sync 2014-01-16 11:01:01 -03:00
Gustavo Cortez
b2d4e3c327 added getbestblockhash to Status class 2014-01-15 18:27:06 -03:00
Gustavo Cortez
c96b6a7598 method: getTxOutInfo 2014-01-15 18:05:02 -03:00
Gustavo Cortez
80f438fbc5 fix getInfo. new method getDifficulty 2014-01-15 17:39:11 -03:00
Gustavo Cortez
5ddddb520d Status API: getInfo 2014-01-15 17:15:14 -03:00
Manuel Araoz
e59a7b0a0b added sinon and basic test 2014-01-15 12:53:44 -03:00
Matias Alejo Garcia
d13f9ce3bd add reward to block api 2014-01-14 12:58:45 -03:00
Matias Alejo Garcia
801651d494 all addr test OK 2014-01-13 20:38:51 -03:00
Matias Alejo Garcia
5290314bd0 addr tests work from simple txs 2014-01-13 19:59:31 -03:00
Matias Alejo Garcia
f957a57de8 addr tests work from simple txs 2014-01-13 19:57:13 -03:00
Matias Alejo Garcia
868f22cf2b api working WIP 2014-01-13 18:13:02 -03:00
Matias Alejo Garcia
5a97c96d6e test working with values stored in satoshis 2014-01-13 18:12:57 -03:00
Matias Alejo Garcia
1324d8c183 Address class working from some address :) 2014-01-13 18:12:51 -03:00
Matias Alejo Garcia
fa52ce878c fix pay-to-pubkey transaction inputs 2014-01-13 18:12:45 -03:00
Matias Alejo Garcia
c1d5296618 better txitem test 2014-01-13 18:11:22 -03:00
Matias Alejo Garcia
5e68c8c7ed test for txitem explode 2014-01-13 18:11:16 -03:00
Matias Alejo Garcia
9193ae1746 test for txitem explode 2014-01-13 18:11:12 -03:00
Matias Alejo Garcia
b5234cc2d0 test for addr 2014-01-13 18:10:40 -03:00
Matias Alejo Garcia
0700cd1cd9 simple Address model class created 2014-01-13 18:08:16 -03:00
Matias Alejo Garcia
3fb4383287 test for Addr API. Go TDD! 2014-01-13 18:08:04 -03:00
Manuel Aráoz
3c22a323c9 Merge pull request #19 from maraoz/feature/p2p-import
p2p block and transaction importing
2014-01-10 11:21:03 -08:00
Manuel Araoz
5576dacf69 jsbeautify 2014-01-10 16:33:01 -03:00
Manuel Araoz
ead58e1e52 Merge branch 'master' of github.com:bitpay/mystery into feature/p2p-import
Conflicts:
	app/controllers/transactions.js
	app/models/Transaction.js
	config/env/development.js
	lib/Sync.js
	test/model/block.js
2014-01-10 16:12:11 -03:00
Manuel Araoz
df397936ea p2p block and transaction importing 2014-01-10 16:02:33 -03:00
Matias Alejo Garcia
2082f66938 fix issue with strange TX 2014-01-10 15:51:19 -03:00
Matias Alejo Garcia
c41446b131 Enhacements in gruntfile 2014-01-09 19:49:48 -03:00
Matias Alejo Garcia
4de5c5dd00 omit feeds + valueIn in coinbase TXs 2014-01-09 18:35:14 -03:00
Matias Alejo Garcia
50485ce18e fix coinbase TXs in inputs 2014-01-09 18:18:47 -03:00
Matias Alejo Garcia
35d5be894f more information added to TX API: values and IN addresses. Test updated 2014-01-09 17:30:29 -03:00
Matias Alejo Garcia
5509e941ba mocha test for transaction 2014-01-08 17:04:45 -03:00
Matias Alejo Garcia
848b485658 simple test for block thin model 2014-01-08 16:46:56 -03:00
Matias Alejo Garcia
08f106aa0c testing thin models 2014-01-08 16:29:39 -03:00
Gustavo Cortez
6c4e476555 mocha testing 2014-01-06 19:36:47 -03:00
Gustavo Cortez
ade4053e01 mocha support! 2014-01-06 18:38:30 -03:00