Commit Graph

570 Commits

Author SHA1 Message Date
Christopher Jeffrey 665a87f680 allow to check whether wallet is encrypted. 2014-10-28 11:29:33 -07:00
Christopher Jeffrey 9d54277db1 add comment explaining is_allocated. 2014-10-27 17:34:08 -07:00
Christopher Jeffrey de392ca57c cleanup process_packets. don't LogPrintf. It's already been done. 2014-10-27 11:07:45 -07:00
Christopher Jeffrey 39bc4b9e63 refactor hook packets. 2014-10-27 10:59:52 -07:00
Christopher Jeffrey cbbfd712fa whitespace. 2014-10-23 16:27:52 -07:00
Christopher Jeffrey 323a7fb962 comment. issue. 2014-10-23 16:08:29 -07:00
Christopher Jeffrey 4fa5205235 cleanup comments. old code. 2014-10-23 15:55:48 -07:00
Christopher Jeffrey 61ee01f555 comment. misc. 2014-10-23 15:42:00 -07:00
Christopher Jeffrey acb577abe3 clean up previousblockhash. 2014-10-23 15:31:54 -07:00
Christopher Jeffrey 184cb690a4 better solution to previousblockhash. 2014-10-23 15:31:32 -07:00
Christopher Jeffrey 53e1044d8b free CBlockIndex if it is allocated. 2014-10-23 15:25:55 -07:00
Christopher Jeffrey 58e92d13e7 cleanup prevBlock code. 2014-10-23 15:11:00 -07:00
Christopher Jeffrey a07fe6fffb prevblock work. 2014-10-23 15:04:28 -07:00
Christopher Jeffrey 090eb9ab42 remove packet polling code. 2014-10-23 13:13:20 -07:00
Christopher Jeffrey 7190fc21aa improve packet polling. 2014-10-23 11:46:42 -07:00
Christopher Jeffrey 639463bb1b comments. 2014-10-22 22:26:02 -07:00
Christopher Jeffrey 99abd06b87 cleanup. 2014-10-22 19:22:06 -07:00
Christopher Jeffrey 1fd4c0ba4f fix cblock_to_jsblock segfault. 2014-10-22 19:19:16 -07:00
Christopher Jeffrey 8ec217d1e7 block segfault fixed. 2014-10-22 19:12:43 -07:00
Christopher Jeffrey 6c0cfd17c0 still segfaulting even with bitcoin source if statement. 2014-10-22 19:06:24 -07:00
Christopher Jeffrey b56b9186ee "filteradd", "filterclear", and "reject" not causing segfaults. 2014-10-22 19:00:35 -07:00
Christopher Jeffrey 8d0aad3dc4 "alert" and "filterload" not causing problems. 2014-10-22 18:58:39 -07:00
Christopher Jeffrey c68f7cd0be "pong" not causing segfault. 2014-10-22 18:56:11 -07:00
Christopher Jeffrey 4b4cbcc51f "ping" not causing segfault or coredump. 2014-10-22 18:53:58 -07:00
Christopher Jeffrey 6f8b8c67cc "block" causes segfault. 2014-10-22 18:49:32 -07:00
Christopher Jeffrey 7e43364f8d tx not causing a segfault. 2014-10-22 18:46:20 -07:00
Christopher Jeffrey c16c7d262a no segfault for getheaders. 2014-10-22 18:44:15 -07:00
Christopher Jeffrey 8aa289003f still no sigsegv yet. 2014-10-22 18:42:23 -07:00
Christopher Jeffrey 31de749b6c no segfault yet. 2014-10-22 18:39:46 -07:00
Christopher Jeffrey c34f2f67bf still no segfault. 2014-10-22 18:37:52 -07:00
Christopher Jeffrey 7eea05c71d rule out segfault. so far, so good. 2014-10-22 18:35:47 -07:00
Christopher Jeffrey c2041a05ce copy pfrom. 2014-10-22 18:32:16 -07:00
Christopher Jeffrey efad654e36 copy stream. 2014-10-22 18:30:15 -07:00
Christopher Jeffrey a766e381c3 revert to original method of linked list. 2014-10-22 18:08:35 -07:00
Christopher Jeffrey 8a221853e0 copy data stream in different manner. 2014-10-22 18:06:53 -07:00
Christopher Jeffrey 783ed11df7 experiment with copying data stream. 2014-10-22 18:05:17 -07:00
Christopher Jeffrey 2125c80676 "addr" compiling. all packets compile. 2014-10-22 17:11:19 -07:00
Christopher Jeffrey 38d33c1c97 all packets compiling. bloom filters still have issues. 2014-10-22 17:03:40 -07:00
Christopher Jeffrey ed11bc5352 "filterload" compiling with issues. 2014-10-22 17:01:40 -07:00
Christopher Jeffrey cddc43a30f "alert" compiling. work on filter packets. 2014-10-22 16:56:29 -07:00
Christopher Jeffrey 585bf5e5e9 "pong" compiled. 2014-10-22 16:41:56 -07:00
Christopher Jeffrey ed676d5140 "getaddr", "mempool", "ping" compiled. 2014-10-22 16:39:46 -07:00
Christopher Jeffrey 04d5452088 "block" compiling. 2014-10-22 16:38:43 -07:00
Christopher Jeffrey 0345ba1590 "tx" packet compiling. 2014-10-22 16:36:49 -07:00
Christopher Jeffrey 3d2d017221 "getheaders" compiling. 2014-10-22 16:35:26 -07:00
Christopher Jeffrey c09293bb4d "getblocks" compiling. 2014-10-22 16:34:28 -07:00
Christopher Jeffrey ae184ccd2f "gedata" compiling. 2014-10-22 16:32:13 -07:00
Christopher Jeffrey 44951223d7 get handlers compiling. 2014-10-22 16:25:10 -07:00
Christopher Jeffrey 7c454e8481 all packets finally implemented. 2014-10-22 16:13:46 -07:00
Christopher Jeffrey 9937724fac add "filteradd" packet. 2014-10-22 16:08:39 -07:00
Christopher Jeffrey 4a3d03dd75 add "filterload" handler. 2014-10-22 16:07:16 -07:00
Christopher Jeffrey 5068e5cf55 add "alert" handler. 2014-10-22 15:59:42 -07:00
Christopher Jeffrey 94ef4f3948 "pong" handler. 2014-10-22 15:54:45 -07:00
Christopher Jeffrey ddaa6b2698 add "getaddr", "mempool", and "ping" handlers. 2014-10-22 15:45:51 -07:00
Christopher Jeffrey 9af88ac459 comments. 2014-10-22 15:41:30 -07:00
Christopher Jeffrey f641c0b9b4 add "block" packet handler. 2014-10-22 15:41:14 -07:00
Christopher Jeffrey 5301b45fae add "tx" packet handler. 2014-10-22 15:39:17 -07:00
Christopher Jeffrey c1264839ba implement "getheaders" packet handling. 2014-10-22 15:36:03 -07:00
Christopher Jeffrey 58adf019e9 add "getblocks" packet handling. 2014-10-22 15:31:53 -07:00
Christopher Jeffrey 14a7afe98d add "getdata" packet. 2014-10-22 15:27:28 -07:00
Christopher Jeffrey eb980788d4 add "inv" packet. 2014-10-22 15:24:32 -07:00
Christopher Jeffrey 262507dfe0 implement "addr" packet. 2014-10-22 14:54:00 -07:00
Christopher Jeffrey 885c9d8e6c use just "block" 2014-10-22 12:40:07 -07:00
Christopher Jeffrey d28125d04a potentially parse version packet. 2014-10-22 12:39:09 -07:00
Christopher Jeffrey 1241bdecdd rename. create c++ string. 2014-10-21 19:40:17 -07:00
Christopher Jeffrey 28846a8b71 get rid of build warning. 2014-10-21 19:05:10 -07:00
Christopher Jeffrey 677df7f787 more packet polling. 2014-10-21 18:51:05 -07:00
Christopher Jeffrey 5c6b4e11fb another working packet poll. i still don't understand the nonsense of c++. 2014-10-21 18:32:40 -07:00
Christopher Jeffrey 2fc11cb8e3 packet polling still working. 2014-10-21 18:20:27 -07:00
Christopher Jeffrey 19a7c07c60 first working packet listener. 2014-10-21 18:06:17 -07:00
Christopher Jeffrey f3f0c0b852 style. 2014-10-21 16:03:54 -07:00
Christopher Jeffrey 3be1c53379 handle errors in start_node thread consistently. 2014-10-21 10:47:09 -07:00
Christopher Jeffrey b7bcedae94 potentially start using mapargs. 2014-10-20 11:51:44 -07:00
Christopher Jeffrey a5ba554c1f fix example. 2014-10-20 09:42:12 -07:00
Christopher Jeffrey 42c8dd934e clean up code. dispose callback. 2014-10-20 08:52:00 -07:00
Christopher Jeffrey 30621489db clean up GetAddresses(). 2014-10-17 16:13:26 -07:00
Christopher Jeffrey f0ebef4e8c add GetAddresses(). add "addr" event. 2014-10-17 16:12:57 -07:00
Christopher Jeffrey 6fadefe761 add "peer" and "version" event. 2014-10-17 14:23:19 -07:00
Christopher Jeffrey 6f6a596990 fix GetInfo() and GetPeerInfo(). 2014-10-17 14:05:08 -07:00
Christopher Jeffrey 965d419801 add GetPeerInfo(). fix GetInfo(). 2014-10-17 13:47:56 -07:00
Christopher Jeffrey 2ab5f33053 add GetInfo(). 2014-10-17 13:26:27 -07:00
Christopher Jeffrey e6e6dab798 argument refactor. 2014-10-17 12:38:41 -07:00
Christopher Jeffrey 624f543ec1 fix argument allocation. 2014-10-17 12:11:34 -07:00
Christopher Jeffrey a95ea74f15 allow rpc server as an option. 2014-10-17 12:06:40 -07:00
Christopher Jeffrey a09c735a9b datadir fixes. wait for wallet to load. 2014-10-16 15:14:44 -07:00
Christopher Jeffrey fd1e193106 fix build errors. 2014-10-16 11:24:21 -07:00
Christopher Jeffrey e2ad9320ff improve start_node and example. 2014-10-15 16:38:10 -07:00
Christopher Jeffrey 13604f1e07 bad javascript habits. 2014-10-15 15:42:21 -07:00
Christopher Jeffrey c54c031a6c minor. consistency. 2014-10-15 15:37:29 -07:00
Christopher Jeffrey 9febf7a2bd emphasize pid file. 2014-10-15 15:36:58 -07:00
Christopher Jeffrey 097a8538d4 allow start options. datadir. 2014-10-15 15:36:35 -07:00
Christopher Jeffrey 4d66b7f960 cleanup. 2014-10-15 15:27:14 -07:00
Christopher Jeffrey 5c154e9f56 drop tx debugging for now. 2014-10-15 15:23:17 -07:00
Christopher Jeffrey 5d603a4fc3 carefully remove all v0.9.0 code. 2014-10-15 15:22:57 -07:00
Christopher Jeffrey f05bd154d6 minor variable removal. 2014-10-13 15:49:05 -07:00
Christopher Jeffrey 502926e44a potential datadir option. 2014-10-13 14:16:43 -07:00
Christopher Jeffrey b0326acf09 cleanup debug code. 2014-10-13 14:00:11 -07:00
Christopher Jeffrey ea02fc05eb fix non v0.9.0 code. 2014-10-13 14:00:01 -07:00
Christopher Jeffrey cae809f8a3 readme. drop gyp defines. 2014-10-09 03:35:37 -07:00
Christopher Jeffrey d305b64887 update bitcoind.js to use the latest bitcoind api. 2014-10-07 19:26:28 -07:00
Christopher Jeffrey 487d78a644 update readme. finally write documentation. 2014-10-06 12:16:59 -07:00
Christopher Jeffrey 2a7d32bbf0 reorganize IsStopping() and IsStopped(). 2014-10-06 11:06:23 -07:00
Christopher Jeffrey cd104d0183 add comments and documentation. 2014-10-06 11:05:52 -07:00
Christopher Jeffrey 2577fa0229 minor changes. 2014-10-06 08:10:23 -07:00
Christopher Jeffrey 1eafe41bab add fromhex methods. 2014-10-03 18:29:29 -07:00
Christopher Jeffrey 0b56a4378a drop 0x 2014-10-03 18:00:17 -07:00
Christopher Jeffrey 41fe58077b tests passed. remove javascript conversions. 2014-10-03 17:59:46 -07:00
Christopher Jeffrey 106ff37179 work. try to get tx hashes working. 2014-10-03 16:39:26 -07:00
Christopher Jeffrey b69ef31007 start testing hashes and hex. major changes/fixes. 2014-10-03 14:21:37 -07:00
Christopher Jeffrey bb83e2ef6e start using proper conversions again for txs and blocks. 2014-10-03 11:23:04 -07:00
Christopher Jeffrey 1f4f3b9d69 fix poll mempool 2014-10-03 11:22:46 -07:00
Christopher Jeffrey e25ba1c85c fix tx.hash. 2014-10-02 20:18:37 -07:00
Christopher Jeffrey 06f973fb72 remove comment 2014-10-02 16:23:26 -07:00
Christopher Jeffrey 5dc8aae3a0 Revert "start using conversions properly."
This reverts commit 0261a6face.

Temporarily reverting this until I write some tests.
2014-10-02 15:14:23 -07:00
Christopher Jeffrey 0261a6face start using conversions properly. 2014-10-02 15:14:16 -07:00
Christopher Jeffrey 8948576a8a remove hex strings to bitcoind objects. 2014-10-02 15:06:18 -07:00
Christopher Jeffrey 8e4255ec19 get conversions from js to bitcoind objects working. 2014-10-02 14:53:19 -07:00
Christopher Jeffrey 75e2369b09 notes. comments. 2014-10-02 13:32:21 -07:00
Christopher Jeffrey 62aa08b171 more consistency. 2014-10-02 13:29:16 -07:00
Christopher Jeffrey 4a968d02cc more conversion work. 2014-10-02 13:13:54 -07:00
Christopher Jeffrey 40dca54613 refactor. 2014-10-02 13:07:28 -07:00
Christopher Jeffrey 74ab8157f9 fix conversions. potentially enable. 2014-10-02 13:06:08 -07:00
Christopher Jeffrey e27c5fd912 wallet encrypt message. 2014-10-02 12:46:21 -07:00
Christopher Jeffrey 1913237a3f more promising conversion functions. 2014-10-01 16:50:31 -07:00
Christopher Jeffrey 8c411db79a conversion work. 2014-10-01 16:33:28 -07:00
Christopher Jeffrey bf75025a3a add importprivkey. 2014-10-01 16:01:34 -07:00
Christopher Jeffrey ba1b0a0784 remove bad conversion functions. 2014-10-01 15:38:13 -07:00
Christopher Jeffrey 0d9d4608f8 major fixes to latest wallet calls. 2014-10-01 15:14:20 -07:00
Christopher Jeffrey e3ae084e6b implement all missing wallet methods. 2014-10-01 14:24:07 -07:00
Christopher Jeffrey f2b8c96844 add unconfirmed balance. 2014-10-01 13:41:25 -07:00
Christopher Jeffrey 788fe1c363 add wallet.getbalance. 2014-10-01 13:37:18 -07:00
Christopher Jeffrey abff56b756 add multisig addresses. 2014-10-01 13:11:07 -07:00
Christopher Jeffrey ec20ee86a4 add signature verification. 2014-10-01 12:58:11 -07:00
Christopher Jeffrey c9ac2dd516 add message signing. 2014-10-01 12:53:40 -07:00
Christopher Jeffrey 53bffc378e more conversion work. 2014-10-01 12:46:41 -07:00
Christopher Jeffrey 932d0fd1a0 fix block polling and emitting blocks. 2014-10-01 12:05:18 -07:00
Christopher Jeffrey ffc26d93e7 switch back to linked list. 2014-10-01 11:51:01 -07:00
Christopher Jeffrey e9150dd3ca temporarily revert to blocking polling. 2014-10-01 11:47:49 -07:00
Christopher Jeffrey e7e827ff39 handle chain height. 2014-10-01 11:20:53 -07:00
Christopher Jeffrey ab4264b74c use linked list. 2014-10-01 11:03:27 -07:00
Christopher Jeffrey dd698b2374 when polling. do not do reads in _after. 2014-09-30 16:17:29 -07:00
Christopher Jeffrey 2caedcd812 remove all hooks 2014-09-30 16:14:44 -07:00
Christopher Jeffrey a8d7cd1835 hooks 2014-09-30 16:14:20 -07:00
Christopher Jeffrey 337991d33c remove hooks. 2014-09-30 16:11:18 -07:00
Christopher Jeffrey 70edf28235 attempt to use function hooks. 2014-09-30 15:53:13 -07:00
Christopher Jeffrey 057ab4da03 queue up signal handlers so they do not get overwritten. 2014-09-30 15:16:48 -07:00
Christopher Jeffrey af477c3bbf more conversion work. 2014-09-30 14:53:19 -07:00
Christopher Jeffrey c8377f7c08 cleanup fill transaction more. 2014-09-30 13:35:38 -07:00
Christopher Jeffrey 1bb9d1cebd use latest libbitcoind.so. 2014-09-30 13:35:21 -07:00
Christopher Jeffrey b5c96e752f clean up fill transaction. 2014-09-30 09:42:23 -07:00
Christopher Jeffrey 9d64341dd7 potentially include rpcwallet.h. 2014-09-29 17:03:20 -07:00
Christopher Jeffrey e6f33b2793 make dest output unsigned. 2014-09-29 16:49:34 -07:00
Christopher Jeffrey 898c89a5b2 refactor option parsing in fill transaction. 2014-09-29 16:47:44 -07:00
Christopher Jeffrey e65b7e8da3 fillTransaction: allow destination output choice. 2014-09-29 16:46:26 -07:00
Christopher Jeffrey 58e40ce1ba remove coinControl notes. 2014-09-29 16:34:18 -07:00
Christopher Jeffrey 054753e3e4 use global nTransactionFee. 2014-09-29 16:26:33 -07:00
Christopher Jeffrey 9e68e7608c coinControl work. 2014-09-29 16:15:30 -07:00
Christopher Jeffrey 351d1ebd83 add merkle tree building. fix filltx. 2014-09-29 16:06:49 -07:00
Christopher Jeffrey e363ed15cb add Transaction.sign and Transaction.fill. 2014-09-29 14:29:41 -07:00
Christopher Jeffrey eed2806629 more conversion work. 2014-09-29 14:08:56 -07:00
Christopher Jeffrey 85f30f6111 disable new conversions for now. 2014-09-29 13:49:13 -07:00
Christopher Jeffrey 810b9aa9c7 add inverse conversions. 2014-09-29 13:40:11 -07:00
Christopher Jeffrey 84e6ef72a8 prefix all wallet methods. 2014-09-29 12:26:46 -07:00
Christopher Jeffrey 759748018d make things more consistent. refactor. 2014-09-29 12:18:29 -07:00
Christopher Jeffrey 3efada37cf make sendfrom asynchronous. 2014-09-29 12:15:59 -07:00
Christopher Jeffrey b3e6a1d998 make sendtoaddress async. 2014-09-29 11:59:57 -07:00
Christopher Jeffrey 9e0fccb2e0 fix race condition in a cleaner way. 2014-09-29 11:40:00 -07:00
Christopher Jeffrey 70b36ea84f clean up listaccounts. 2014-09-26 15:45:54 -07:00
Christopher Jeffrey 7283d1bc22 wallet work. listaccounts is now extremely useful. 2014-09-26 15:43:55 -07:00
Christopher Jeffrey 0d1497a4c7 implement sendfrom and sendtoaddress. 2014-09-26 13:18:23 -07:00
Christopher Jeffrey 7f8ea209ab rpc calls. now embedded. 2014-09-26 12:42:04 -07:00
Christopher Jeffrey 6d2afb252b start implementing wallet. 2014-09-26 12:20:00 -07:00
Christopher Jeffrey ecadec5878 refactor verification. 2014-09-26 11:39:44 -07:00
Christopher Jeffrey e2a8b95651 VerifyTransaction 2014-09-26 11:34:55 -07:00
Christopher Jeffrey 41c0cb5a4e bitcoindjs.verifyBlock. 2014-09-26 11:23:21 -07:00
Christopher Jeffrey 4b6fceee37 fix getTx. 2014-09-26 10:16:10 -07:00
Christopher Jeffrey f691072e33 fallback for getTx. 2014-09-26 10:13:39 -07:00
Christopher Jeffrey 27a137022c remove unused conversions. 2014-09-25 15:33:37 -07:00
Christopher Jeffrey 58cea89bab add utils.copy. debug hex generation. 2014-09-25 14:12:09 -07:00
Christopher Jeffrey 5f21978a44 return tx on broadcast. 2014-09-25 14:01:50 -07:00
Christopher Jeffrey 2b2d56dfea fix Transaction::broadcast. comments. 2014-09-25 13:54:20 -07:00
Christopher Jeffrey aa06d48a1b fix typo. cleanup. 2014-09-25 13:40:39 -07:00
Christopher Jeffrey b05ee032c5 successful tx broadcast. 2014-09-25 13:12:28 -07:00
Christopher Jeffrey 547bd02ba3 successfully compile broadcastTx. 2014-09-25 12:38:42 -07:00
Christopher Jeffrey b934088f7a start implementing broadcastTx. 2014-09-25 12:05:39 -07:00
Christopher Jeffrey 9eb7eefe0f fix. cleanup. 2014-09-23 14:01:10 -07:00
Christopher Jeffrey 288cac6e63 poll mempool. 2014-09-23 13:57:49 -07:00
Christopher Jeffrey 09088d4a72 politely ask for inline functions. 2014-09-23 13:15:59 -07:00
Christopher Jeffrey f863d494ca remove output redirection. 2014-09-23 11:21:17 -07:00
Christopher Jeffrey 89246d85e6 emit full blocks. 2014-09-23 10:21:44 -07:00
Christopher Jeffrey adf1932c8e refactor block/tx conversions into their own functions. 2014-09-23 10:14:35 -07:00
Christopher Jeffrey 4017d88d13 emit events via height. 2014-09-22 18:34:38 -07:00
Christopher Jeffrey 4038258347 emit blocks. 2014-09-22 18:21:08 -07:00
Christopher Jeffrey f1fde6ee40 emit block events. 2014-09-22 17:58:59 -07:00
Christopher Jeffrey b194b9d8af events work 2014-09-22 17:16:27 -07:00
Christopher Jeffrey fdc49acedc start polling for events again. 2014-09-22 16:47:45 -07:00
Christopher Jeffrey fd34862c4c start implementing events. 2014-09-22 16:36:36 -07:00
Christopher Jeffrey 99b519418c cleanup object creation for GetBlock and GetTx. 2014-09-22 15:42:30 -07:00
Christopher Jeffrey 5c5e125a9c add GetTx template. 2014-09-22 15:31:56 -07:00
Christopher Jeffrey 2e6b618355 remove unnecessary externs to expose functions and global variables. 2014-09-22 15:28:18 -07:00
Christopher Jeffrey f69c49aba1 remove synchronous GetTx. 2014-09-22 13:22:16 -07:00
Christopher Jeffrey f2d5dcabe0 make GetTx asynchronous. 2014-09-22 13:21:42 -07:00
Christopher Jeffrey 4e0efdd1bb var names. 2014-09-22 12:59:09 -07:00
Christopher Jeffrey d10b29b9a4 proper usage. 2014-09-22 12:57:25 -07:00
Christopher Jeffrey bf60822601 remove GetTransaction_ 2014-09-22 12:56:15 -07:00
Christopher Jeffrey 3a135929b4 try to GetTransaction working. 2014-09-22 12:55:43 -07:00
Christopher Jeffrey efec93ac57 remove debug. 2014-09-22 12:42:56 -07:00
Christopher Jeffrey 7d46f7b8fc add todo 2014-09-22 12:41:27 -07:00
Christopher Jeffrey 113a395762 add strHex to tx. 2014-09-22 12:40:46 -07:00
Christopher Jeffrey 1d7ea5763a parse gettx. 2014-09-22 12:38:33 -07:00
Christopher Jeffrey be2bba94bd cleanup. allow no block hash. 2014-09-22 12:27:33 -07:00
Christopher Jeffrey 0fd0b7c7b6 more debugging. 2014-09-22 12:14:51 -07:00
Christopher Jeffrey 2a0f777dbd debug 2014-09-22 12:07:49 -07:00
Christopher Jeffrey 1138779bed refactor 2014-09-22 12:06:55 -07:00
Christopher Jeffrey 29cb630f67 cleanup tx notes. 2014-09-22 12:06:04 -07:00
Christopher Jeffrey a7c8695d9b getTx implemented. 2014-09-22 12:05:17 -07:00
Christopher Jeffrey da545489a6 more gettx notes. 2014-09-22 11:29:13 -07:00
Christopher Jeffrey da860fc705 first pass at GetTx. 2014-09-22 10:19:37 -07:00
Christopher Jeffrey e88f535815 remove event-based code for now. 2014-09-19 17:49:51 -07:00
Christopher Jeffrey dcb068d3b5 poll ideas. 2014-09-19 17:48:59 -07:00
Christopher Jeffrey da33403683 try to poll for blocks on separate thread. 2014-09-19 17:43:38 -07:00
Christopher Jeffrey 494f539f4e feeble attempt to wrap bitcoind functions. 2014-09-19 17:13:01 -07:00
Christopher Jeffrey 7d0c31363d major GetBlock cleanup. 2014-09-19 16:09:18 -07:00
Christopher Jeffrey 8584228a0a convert block to javascript object. 2014-09-19 15:39:05 -07:00
Christopher Jeffrey a4fcd348d4 make bitcoind.getBlock asynchronous. 2014-09-19 13:53:55 -07:00
Christopher Jeffrey 44bb54842f working getBlock 2014-09-18 17:14:17 -07:00
Christopher Jeffrey 5fd1f8614b add GetBlock method. 2014-09-18 15:32:19 -07:00
Christopher Jeffrey f533235070 make shutdownComplete volatile, just in case. 2014-09-18 15:08:45 -07:00
Christopher Jeffrey 699ee1896f fix compile warnings. 2014-09-18 14:57:03 -07:00
Christopher Jeffrey 84ea0890a8 output redirection work. 2014-09-17 15:33:21 -07:00
Christopher Jeffrey e3724414d4 change bitcoind.js prefix. 2014-09-17 14:31:20 -07:00
Christopher Jeffrey 3aacd0a089 no allocator error on shutdown. 2014-09-17 14:08:26 -07:00
Christopher Jeffrey 7c4b707387 more work. 2014-09-17 12:52:35 -07:00
Christopher Jeffrey da2d677a47 ripped down main->appinit->appinit2. 2014-09-17 12:14:20 -07:00
Christopher Jeffrey 29afe77700 fix parse logs again. 2014-09-17 11:31:10 -07:00
Christopher Jeffrey 22dee45e4f fix parse logs. 2014-09-17 11:30:39 -07:00
Christopher Jeffrey 8700cdabcb Revert "missing appinit2 code."
This reverts commit 164a2223c7.
2014-09-17 11:28:47 -07:00
Christopher Jeffrey 164a2223c7 missing appinit2 code. 2014-09-17 11:28:41 -07:00
Christopher Jeffrey 3b204885b2 function templates. 2014-09-17 11:23:38 -07:00
Christopher Jeffrey 9a65999b2f more start_node work. 2014-09-12 18:40:09 -07:00
Christopher Jeffrey 6a9e8f9721 AppInit and AppInit2. 2014-09-12 15:45:36 -07:00
Christopher Jeffrey 7525208b01 binding.gyp work. 2014-09-12 14:27:25 -07:00
Christopher Jeffrey 2de298bbc3 readme. bitcoindjs.stop. building. 2014-09-11 17:18:36 -07:00
Christopher Jeffrey a3cd9025fa linkage finally working. 2014-09-10 16:57:18 -07:00
Christopher Jeffrey 03ff3dba23 fix segfault in log parser. 2014-09-05 15:07:38 -07:00
Christopher Jeffrey 42ee738d07 add header file. 2014-09-04 15:17:39 -07:00
Christopher Jeffrey 3f8a6efaaf refactor error handling. 2014-09-04 15:16:32 -07:00
Christopher Jeffrey 4be0521058 fix: seg fault. unsure why. 2014-09-02 19:29:36 -07:00
Christopher Jeffrey a2437d16c8 upgrade nan. expose log pipe fd. 2014-09-02 19:28:20 -07:00
Christopher Jeffrey e7085e2beb log: start parse_logs() in separate thread. handle errors. 2014-09-02 19:13:33 -07:00
Christopher Jeffrey c0c523f11a log: deal with log pipes better to differentiate node and bitcoind logs. 2014-09-02 19:00:31 -07:00
Christopher Jeffrey 9d99174c9f fix thread pool parse_logs error. 2014-09-02 18:09:11 -07:00
Christopher Jeffrey 498f23d0be run parse_logs asynchronously. gitignore. misc. 2014-08-29 16:20:38 -07:00
Christopher Jeffrey 42dfdeb0ed remove debug comments. 2014-08-29 14:30:20 -07:00
Christopher Jeffrey 0cc34f5420 better warning solution;. fix nScriptCheckThreads. 2014-08-29 14:20:38 -07:00
Christopher Jeffrey 4523d857c1 get rid of warning. 2014-08-29 14:16:30 -07:00
Christopher Jeffrey 50e04c215e try to fix nScriptCheckThreads. 2014-08-29 14:12:19 -07:00
Christopher Jeffrey c5d9a2a672 debug comments 2014-08-29 14:09:36 -07:00
Christopher Jeffrey b6a3d3eb53 boost error comment 2014-08-29 13:57:37 -07:00
Christopher Jeffrey 61e957c77f add parse_logs function. re-enable start_node(). 2014-08-29 13:54:16 -07:00
Christopher Jeffrey 957bf97ade add StartNode() to externs. 2014-08-20 17:05:12 -07:00
Christopher Jeffrey 3f06092afa refactor. comments. 2014-08-20 17:00:16 -07:00
Christopher Jeffrey 8537ad3ebf comment 2014-08-20 16:50:03 -07:00
Christopher Jeffrey af2026aa50 pwalletMain. 2014-08-20 16:49:33 -07:00
Christopher Jeffrey f9eb3215e6 add start_node function to start up net.cpp threads. 2014-08-20 16:47:18 -07:00
Christopher Jeffrey 6498426268 get our module compiling with all the headers. 2014-08-19 17:35:24 -07:00
Christopher Jeffrey 9b225c293a bitcoind headers. link to bitcoind and leveldb. add include paths. 2014-08-19 17:11:35 -07:00
Christopher Jeffrey cbbc10144a remove old code. 2014-08-19 16:40:37 -07:00
Christopher Jeffrey f6c05021d2 start using the uv thread pool forn work. add example. 2014-08-19 16:40:19 -07:00
Christopher Jeffrey 3e355bd0fc bitcoind.js 2014-08-12 15:04:13 -04:00