Commit Graph

570 Commits

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