Commit Graph

1035 Commits

Author SHA1 Message Date
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 4410d9b9e9 fix shutdown. sigint/sighup handlers. 2014-09-19 16:45:46 -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 1f0413e262 fix process.exit and uncaughtException code. 2014-09-18 14:54:08 -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 a9d124c058 fix callback order. 2014-09-17 14:25:19 -07:00
Christopher Jeffrey 7f7ef196f4 fix shutdown loop. 2014-09-17 14:21:28 -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 49acbfc113 process title. 2014-09-12 18:56:31 -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 75d2b11227 binding.gyp 2014-09-12 14:39:37 -07:00
Christopher Jeffrey 3aeed05215 refactor binding.gyp. 2014-09-12 14:30:03 -07:00
Christopher Jeffrey e2acef83c5 remove old binding.gyp. 2014-09-12 14:27:40 -07:00
Christopher Jeffrey 7525208b01 binding.gyp work. 2014-09-12 14:27:25 -07:00
Christopher Jeffrey 551e84de65 remove deps. 2014-09-11 18:23:20 -07:00
Christopher Jeffrey 7717bb182d remove work and notes. 2014-09-11 18:18:29 -07:00
Christopher Jeffrey 2de298bbc3 readme. bitcoindjs.stop. building. 2014-09-11 17:18:36 -07:00
Christopher Jeffrey ea706e329b add note for Shutdown. 2014-09-10 17:02:00 -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 ad0d61c18a try to compile bitcoind as a shared object. 2014-09-02 18:01:46 -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 ba45d19d8c drop pthread linkage 2014-08-29 14:27:01 -07:00