Commit Graph

693 Commits

Author SHA1 Message Date
Christopher Jeffrey 15a694d127 use leveldb to parse all blocks for txes. 2014-12-01 14:59:09 -08:00
Christopher Jeffrey e1722b0a63 remove unused leveldb code. 2014-12-01 14:57:55 -08:00
Christopher Jeffrey 4a6a3b1243 start parsing blocks in leveldb. 2014-12-01 14:55:42 -08:00
Christopher Jeffrey a4149fe101 link to now exposed functions. start using exposed leveldb. 2014-12-01 14:50:05 -08:00
Christopher Jeffrey cbda3b330a remove old and new comments. 2014-12-01 13:44:44 -08:00
Christopher Jeffrey d1d5d09ec5 update bitcoind.js for latest bitcoin upstream. 2014-12-01 13:38:24 -08:00
Christopher Jeffrey 2d9d922cb8 check the last 20000 blocks for addr txes. 2014-11-19 18:28:19 -08:00
Christopher Jeffrey de286968d0 fix GetBlock(). 2014-11-19 17:04:19 -08:00
Christopher Jeffrey 0335a128b8 fix workaround for addtxes. 2014-11-19 16:06:21 -08:00
Christopher Jeffrey 5382ecb5b0 cleanup blockhash. 2014-11-19 15:56:38 -08:00
Christopher Jeffrey 7767bdd828 fix bad return for addr txs. 2014-11-19 15:56:14 -08:00
Christopher Jeffrey 61856ab68d more leveldb work: use chainstate db. use Params().GenesisBlock(). 2014-11-19 15:47:33 -08:00
Christopher Jeffrey 97aaa9dbad leveldb does not like me. 2014-11-19 13:46:14 -08:00
Christopher Jeffrey d9231ef59b use CLevelDBWrapper. 2014-11-19 13:42:11 -08:00
Christopher Jeffrey 4341e487c0 work on ldb iteration. 2014-11-19 12:28:15 -08:00
Christopher Jeffrey d7641c173c potentially iterate all ldb values. 2014-11-19 11:29:18 -08:00
Christopher Jeffrey bf3983982f check is_mine differently. 2014-11-19 10:59:07 -08:00
Christopher Jeffrey 05c9d59636 comparator function. fix cwtx usage. 2014-11-19 10:54:03 -08:00
Christopher Jeffrey 918dc08ddc check whether tx is ours. add walletconflicts if so. 2014-11-19 10:08:02 -08:00
Christopher Jeffrey e11389bb54 force cached addrs to be async. 2014-11-18 17:14:18 -08:00
Christopher Jeffrey 136b0c4122 fix compiler warnings. 2014-11-18 17:10:17 -08:00
Christopher Jeffrey c988172dc4 unref garbage collector. 2014-11-18 16:57:04 -08:00
Christopher Jeffrey 0be9143e32 use other method for obtaining addr txs. cache them. 2014-11-18 16:55:24 -08:00
Christopher Jeffrey 0c19633da9 create addresses object. 2014-11-18 16:31:51 -08:00
Christopher Jeffrey 499c47aa34 fix mapBlockIndex segfault. use .count properly. 2014-11-18 16:26:42 -08:00
Christopher Jeffrey 5b15937d8f check pindex - fix segfault. 2014-11-18 15:51:43 -08:00
Christopher Jeffrey 87a6d89e25 revert misguided changes. refactor is_mine. 2014-11-18 15:47:17 -08:00
Christopher Jeffrey d50c103c00 check IsMine for tx conversions. 2014-11-18 15:42:15 -08:00
Christopher Jeffrey d8701332c0 fix tx properties. 2014-11-18 15:38:44 -08:00
Christopher Jeffrey b668cfbb0a add addrFlag. 2014-11-18 14:13:47 -08:00
Christopher Jeffrey 65e4ffddda comment. 2014-11-18 13:26:24 -08:00
Christopher Jeffrey 7fd22317e7 add function templates. 2014-11-17 16:43:50 -08:00
Christopher Jeffrey 513a7ae746 add rescan blockchain. 2014-11-17 16:42:08 -08:00
Christopher Jeffrey e18bfdd2fb fix v8 assertion failure on tx sending. 2014-11-17 16:05:31 -08:00
Christopher Jeffrey df62ac4e22 add `global` property to Bitcoin prototype. 2014-11-17 14:19:46 -08:00
Christopher Jeffrey 990084bd22 code fixes - typos. 2014-11-17 13:44:10 -08:00
Christopher Jeffrey 30ce2aaf4c use reference instead of pointer for genesis block. 2014-11-17 13:20:28 -08:00
Christopher Jeffrey bb8e43117c refactor. fix boolean cast. 2014-11-17 13:13:55 -08:00
Christopher Jeffrey a4e4b35c8d remove log pipe. 2014-11-17 13:09:05 -08:00
Christopher Jeffrey f647de9a32 comments. remove async packet parsing. 2014-11-17 13:07:15 -08:00
Christopher Jeffrey c781b0c297 potentially make packet parsing async. still can't figure out what is making blockchain download block the main thread. 2014-11-17 12:53:55 -08:00
Christopher Jeffrey 3f7c206bb9 cleanup importprivkey. 2014-11-17 11:29:06 -08:00
Christopher Jeffrey 8eb0e2d810 do not include parent block. 2014-11-14 15:01:10 -08:00
Christopher Jeffrey 2c0010a31f fix error. fix parent block. 2014-11-14 14:59:51 -08:00
Christopher Jeffrey 20faa1225b add parent block to each tx. 2014-11-14 14:52:18 -08:00
Christopher Jeffrey eb9d5d70bc better error messages. 2014-11-14 14:51:20 -08:00
Christopher Jeffrey d250d2a1cd add size to tx. 2014-11-13 17:18:56 -08:00
Christopher Jeffrey 7aaf4dce94 allow wallet transactions to lookup their real counterparts. 2014-11-13 16:46:05 -08:00
Christopher Jeffrey a9a5f7c4ad do not convert wallet txs for now. 2014-11-13 15:50:27 -08:00
Christopher Jeffrey 6d994454d5 always include hex in wallet transactions. convert to regular transactions. 2014-11-13 15:45:55 -08:00