Commit Graph

570 Commits

Author SHA1 Message Date
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