Commit Graph

415 Commits

Author SHA1 Message Date
Christopher Jeffrey
28cbb06c14 try to get previous output asynchronously. 2014-11-06 04:16:41 -08:00
Christopher Jeffrey
3b307e8ae5 add prev property. 2014-11-06 03:44:30 -08:00
Christopher Jeffrey
78c38743d8 add address to scriptSig. 2014-11-06 02:55:22 -08:00
Christopher Jeffrey
4c372133db whitespace 2014-11-06 01:22:46 -08:00
Christopher Jeffrey
1654923f12 fixes. 2014-11-05 17:27:51 -08:00
Christopher Jeffrey
7bee8fe176 parse raw leveldb for addr txs. 2014-11-05 12:01:24 -08:00
Christopher Jeffrey
da496dcbc7 getBlockHeight. getAddrTransactions. 2014-11-04 16:41:42 -08:00
Christopher Jeffrey
a02a672a22 add walletmove. fix callbacks. 2014-11-03 17:00:21 -08:00
Christopher Jeffrey
7c5da7e437 renaming own address works - changelabel. 2014-11-03 16:14:39 -08:00
Christopher Jeffrey
5fbcd57ccc all working except renaming own addresses - changelabel. 2014-11-03 16:10:46 -08:00
Christopher Jeffrey
8d4170a7b9 add recipients working. 2014-11-03 15:45:59 -08:00
Christopher Jeffrey
424e93ac2a more EMPTY macros. remove commented code. 2014-11-03 14:52:10 -08:00
Christopher Jeffrey
b8c608e58c add EMPTY macros. 2014-11-03 14:47:39 -08:00
Christopher Jeffrey
2e1c3620a5 more changelabel work. 2014-11-03 14:30:49 -08:00
Christopher Jeffrey
45d0945d19 add own addresses properly. 2014-11-03 14:06:25 -08:00
Christopher Jeffrey
f67d4aeac8 cannot create recipients. 2014-11-03 13:57:37 -08:00
Christopher Jeffrey
2d17a8a59e creating receive address works. 2014-11-03 13:49:55 -08:00
Christopher Jeffrey
17e2a8ff8e use SetAddressBook. 2014-11-03 13:35:35 -08:00
Christopher Jeffrey
d4f8277d75 fix build errors. 2014-11-03 13:19:32 -08:00
Christopher Jeffrey
015b971341 fix options->Set. 2014-11-03 13:09:49 -08:00
Christopher Jeffrey
a62382f56e potentially fix changelabel. 2014-11-03 13:06:30 -08:00
Christopher Jeffrey
a943cb888e attempt to fix ChangeLabel to setaccount behavior. 2014-10-31 17:41:15 -07:00
Christopher Jeffrey
00ee6cc18c fix walletdump. 2014-10-31 11:52:43 -07:00
Christopher Jeffrey
8e05e1aa3c fix percentage calculation. 2014-10-30 15:36:05 -07:00
Christopher Jeffrey
9cd8bd9ee5 rename methods. 2014-10-30 15:07:29 -07:00
Christopher Jeffrey
20301e4f4f fix build errors. improve GetRecipients(). 2014-10-30 14:42:16 -07:00
Christopher Jeffrey
9f5ac9ae40 clean up comments. 2014-10-30 14:35:32 -07:00
Christopher Jeffrey
ecf1229a3e add set, remove, and get recipient. 2014-10-30 14:34:50 -07:00
Christopher Jeffrey
1dbd16663d try adding getRecipients. fix progress. 2014-10-30 14:12:27 -07:00
Christopher Jeffrey
304d9d6e77 fix errors. fix compilation. 2014-10-29 15:07:25 -07:00
Christopher Jeffrey
98465d61e8 fix isEncrypted. 2014-10-29 12:56:39 -07:00
Christopher Jeffrey
ed9508740a return IsLocked and IsCrypted. 2014-10-29 11:33:07 -07:00
Christopher Jeffrey
73bc0083b8 refactor dumpprivkey. 2014-10-28 16:40:37 -07:00
Christopher Jeffrey
21fc1c5a74 implement WalletListTransactions. 2014-10-28 16:36:04 -07:00
Christopher Jeffrey
0ea619ff15 add received by address. 2014-10-28 15:40:36 -07:00
Christopher Jeffrey
f5b3d45b5c implement change label and delete account. 2014-10-28 15:22:46 -07:00
Christopher Jeffrey
b40e5a15ea implement GetMiningInfo() method. 2014-10-28 14:16:33 -07:00
Christopher Jeffrey
152c235d87 add get and set generate. 2014-10-28 14:09:55 -07:00
Christopher Jeffrey
349027d4b1 add dump and import wallet methods. 2014-10-28 13:57:06 -07:00
Christopher Jeffrey
a2283ae0cc massively improve GetProgress() method. 2014-10-28 13:27:04 -07:00
Christopher Jeffrey
0f59b31304 cleanup GetProgress(). 2014-10-28 13:01:58 -07:00
Christopher Jeffrey
50bcaf2918 add GetProgess() method. 2014-10-28 13:01:40 -07:00
Christopher Jeffrey
2f83b739f4 check isLocked. 2014-10-28 11:57:17 -07:00
Christopher Jeffrey
15ebf5253e add keypoolrefill method. 2014-10-28 11:52:03 -07:00
Christopher Jeffrey
b754237618 implement dumpprivkey. 2014-10-28 11:41:37 -07:00
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