Commit Graph

874 Commits

Author SHA1 Message Date
Christopher Jeffrey b934088f7a start implementing broadcastTx. 2014-09-25 12:05:39 -07:00
Christopher Jeffrey 9e49864413 implement block and tx objects. 2014-09-25 10:59:36 -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 01b3ee7ee8 use print for events. 2014-09-23 11:20:07 -07:00
Christopher Jeffrey 28216754df emit txs. 2014-09-23 11:17:25 -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 5a696ec535 better signal handling. 2014-09-22 14:37:51 -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 457b3f77ab cleanup. 2014-09-22 13:06:15 -07:00
Christopher Jeffrey bd8d938725 getTx working. 2014-09-22 13:05:55 -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 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