Commit Graph

1134 Commits

Author SHA1 Message Date
Christopher Jeffrey
3d6892cbe9 mempool. constants. 2016-03-29 00:43:05 -07:00
Christopher Jeffrey
ea4d0dee03 opcodes. 2016-03-28 19:45:22 -07:00
Christopher Jeffrey
484db3568a add getSmall. 2016-03-28 18:37:38 -07:00
Christopher Jeffrey
93660e829a mem usage. 2016-03-28 17:54:56 -07:00
Christopher Jeffrey
a598a4850c no strings in scripting. 2016-03-28 16:50:59 -07:00
Christopher Jeffrey
2c9756f38b txdb orphan storage. 2016-03-28 15:45:47 -07:00
Christopher Jeffrey
2e0948faa5 network.height. 2016-03-28 15:26:02 -07:00
Christopher Jeffrey
46a47b5bf2 miner needs some love. 2016-03-28 14:05:16 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
96a92ae29b witness parsing. 2016-03-28 12:29:00 -07:00
Christopher Jeffrey
aff7c0e360 check sequence locks in mempool. 2016-03-28 03:18:44 -07:00
Christopher Jeffrey
e89ed67843 script errors. 2016-03-27 19:18:39 -07:00
Christopher Jeffrey
e9c0e24b21 more parsing. 2016-03-27 18:52:26 -07:00
Christopher Jeffrey
30148368a8 parsing. 64 bit ints. 2016-03-27 14:56:57 -07:00
Christopher Jeffrey
e1fd556ff6 misc. alert. 2016-03-27 13:57:35 -07:00
Christopher Jeffrey
85af68d2ef use native buffer methods if possible. 2016-03-26 06:11:58 -07:00
Christopher Jeffrey
661bd06e3e http. 2016-03-26 05:33:07 -07:00
Christopher Jeffrey
19f2af16d4 script: pushdata. 2016-03-26 05:27:05 -07:00
Christopher Jeffrey
430e917b79 mempool. 2016-03-26 05:11:37 -07:00
Christopher Jeffrey
5912d65fa8 fix mempool.countAncestors. 2016-03-26 05:06:07 -07:00
Christopher Jeffrey
55957c2271 refactor. test for segwitActive. 2016-03-26 05:01:23 -07:00
Christopher Jeffrey
63421ec411 only asign hidden values for nonstandard pushes. 2016-03-26 04:21:01 -07:00
Christopher Jeffrey
e5c353f083 script hashes. 2016-03-26 03:57:56 -07:00
Christopher Jeffrey
6194c66d8f mempool work. accurate reject messages. 2016-03-26 03:37:06 -07:00
Christopher Jeffrey
37c488c802 txdb and mempool work. 2016-03-26 01:29:04 -07:00
Christopher Jeffrey
e205c70f97 mempool. txdb. 2016-03-25 20:02:23 -07:00
Christopher Jeffrey
a52d62a71e varint. 2016-03-25 16:32:15 -07:00
Christopher Jeffrey
adb95e2a3a buffer reader. 2016-03-25 15:48:44 -07:00
Christopher Jeffrey
62a7dba556 rename intv. 2016-03-25 15:31:43 -07:00
Christopher Jeffrey
569016e752 refactor. numbers. 2016-03-25 15:17:43 -07:00
Christopher Jeffrey
6c238c844f refactor. coin/utxo. 2016-03-25 13:00:11 -07:00
Christopher Jeffrey
c91cf7571b refactor. 2016-03-25 02:07:47 -07:00
Christopher Jeffrey
513fe6b196 ldb 2016-03-24 19:17:47 -07:00
Christopher Jeffrey
2a75a39849 writeu64n 2016-03-24 17:20:18 -07:00
Christopher Jeffrey
6ce950d081 duck typing. 2016-03-24 14:18:24 -07:00
Christopher Jeffrey
1db0954c83 misc. 2016-03-24 03:45:00 -07:00
Christopher Jeffrey
b4b4e8b6cc reject packets. 2016-03-23 19:03:50 -07:00
Christopher Jeffrey
81be92b1ba remove old getSeed. 2016-03-23 18:51:47 -07:00
Christopher Jeffrey
cc7004e43a peer handling. 2016-03-23 18:49:51 -07:00
Christopher Jeffrey
cf9a62a75b coins and coinview. 2016-03-23 17:44:28 -07:00
Christopher Jeffrey
6d5e277629 reject packets. pool refactor. 2016-03-23 15:46:07 -07:00
Christopher Jeffrey
5023c7efe4 add locker. refactor. 2016-03-23 03:52:11 -07:00
Christopher Jeffrey
3efdc904e7 refactor. tests. 2016-03-22 19:52:33 -07:00
Christopher Jeffrey
0b1b6fdb33 remove old parser. 2016-03-22 19:28:36 -07:00
Christopher Jeffrey
baf5e50016 recursive worker packet parsing. 2016-03-22 19:25:50 -07:00
Christopher Jeffrey
f0bf9c8602 mempool 2016-03-22 19:24:56 -07:00
Christopher Jeffrey
b4d40ca098 minor refactor. 2016-03-22 18:14:19 -07:00
Christopher Jeffrey
17df9b41ce more mempool stuff. 2016-03-22 17:36:58 -07:00
Christopher Jeffrey
43923e3201 use bn.toBuffer. 2016-03-21 21:57:20 -07:00
Christopher Jeffrey
304bd9f786 more parsing. 2016-03-21 21:47:21 -07:00
Christopher Jeffrey
f564ef5735 more parsing. 2016-03-21 21:22:03 -07:00
Christopher Jeffrey
ce0294f4bf remove json parsing. 2016-03-21 21:15:05 -07:00
Christopher Jeffrey
5e10d28e82 remove old parsing method. 2016-03-21 21:09:41 -07:00
Christopher Jeffrey
c543d205c0 workers parsing. 2016-03-21 21:06:29 -07:00
Christopher Jeffrey
b792976586 fixes. refactor. 2016-03-21 18:41:06 -07:00
Christopher Jeffrey
eb569ae12d add locks to txdb. 2016-03-21 17:31:24 -07:00
Christopher Jeffrey
2797cd2f44 rewrite mempool. 2016-03-21 16:29:02 -07:00
Christopher Jeffrey
d7bb115609 experiment with workers for tx verification. 2016-03-21 05:54:57 -07:00
Christopher Jeffrey
59777baf71 fixes for script and tx. 2016-03-21 05:54:34 -07:00
Christopher Jeffrey
93efe376a6 refactor. isSigned. 2016-03-21 02:16:56 -07:00
Christopher Jeffrey
0e15723acd refactor. fixes. 2016-03-20 10:55:37 -07:00
Christopher Jeffrey
6136434959 refactor. 2016-03-20 09:19:43 -07:00
Christopher Jeffrey
a019e9cfc7 remove debug code. 2016-03-19 13:13:49 -07:00
Christopher Jeffrey
5153e0e1f0 cleanup. 2016-03-19 10:03:55 -07:00
Christopher Jeffrey
bd54b42dc4 fixing memleak. so far so good. 2016-03-19 09:36:16 -07:00
Christopher Jeffrey
6fdfd2ab6b more db wrapper improvements. 2016-03-19 08:56:50 -07:00
Christopher Jeffrey
800f5a5448 db wrapper. fix memleak. consistency. 2016-03-19 08:24:22 -07:00
Christopher Jeffrey
131e546fb3 fix backend selection. 2016-03-19 00:49:56 -07:00
Christopher Jeffrey
aaafe6eeb7 db backend. 2016-03-18 21:47:05 -07:00
Christopher Jeffrey
d690c9ea5a ldb. 2016-03-18 20:12:34 -07:00
Christopher Jeffrey
4f805ce52a lru. buffer reader zeroCopy. utils.wrap. 2016-03-18 20:12:17 -07:00
Christopher Jeffrey
ca4fe76fae remove old half-assed versionbits. 2016-03-15 16:38:33 -07:00
Christopher Jeffrey
d009b1cf48 raw tx. 2016-03-15 15:54:02 -07:00
Christopher Jeffrey
7b3fffb26c cleanup. 2016-03-15 15:27:14 -07:00
Christopher Jeffrey
836a2357d6 more parsing. 2016-03-15 15:18:16 -07:00
Christopher Jeffrey
f5142046a9 destroy buffers. 2016-03-15 15:05:58 -07:00
Christopher Jeffrey
e31a4527b4 fix sighash v1. 2016-03-15 15:01:31 -07:00
Christopher Jeffrey
89a8329a76 fix port. packets. 2016-03-15 14:59:17 -07:00
Christopher Jeffrey
c1aeb5c07f fix sighash. 2016-03-15 14:46:58 -07:00
Christopher Jeffrey
1b3eb64998 more writers and readers. 2016-03-15 14:44:37 -07:00
Christopher Jeffrey
41eab6e27c sighashing. 2016-03-15 14:14:53 -07:00
Christopher Jeffrey
b356790136 move reader and writer. 2016-03-15 13:48:36 -07:00
Christopher Jeffrey
5fb16d29e6 refactor. 2016-03-15 13:31:54 -07:00
Christopher Jeffrey
3495b6fbf9 more linting. 2016-03-15 05:01:48 -07:00
Christopher Jeffrey
5da21fd6e8 new script.js. 2016-03-15 05:00:15 -07:00
Christopher Jeffrey
f0edd2c944 remove old script.js. 2016-03-15 04:59:52 -07:00
Christopher Jeffrey
c445fcd1bd more linting. 2016-03-15 04:59:39 -07:00
Christopher Jeffrey
2e37b1e7ad lint. 2016-03-15 04:37:17 -07:00
Christopher Jeffrey
8edebc8bb5 remove old preload. 2016-03-15 03:31:30 -07:00
Christopher Jeffrey
4b1e055a05 script encoding. 2016-03-15 03:00:36 -07:00
Christopher Jeffrey
94b20355ea more framing and parsing. 2016-03-15 02:36:55 -07:00
Christopher Jeffrey
c1a9655943 framer using bufferwriter. 2016-03-15 01:51:02 -07:00
Christopher Jeffrey
6e6b1bd054 buffer writer. 2016-03-15 00:56:11 -07:00
Christopher Jeffrey
3953f392f6 peer version handling. 2016-03-14 22:21:28 -07:00
Christopher Jeffrey
1da30562c4 not framing witness txs correctly. 2016-03-14 21:36:49 -07:00
Christopher Jeffrey
38ce14270a witness improvements. 2016-03-14 21:09:04 -07:00
Christopher Jeffrey
30f4a0e7ec add script2.js 2016-03-14 20:44:26 -07:00
Christopher Jeffrey
0f296394a5 add witness object. 2016-03-14 20:33:15 -07:00
Christopher Jeffrey
b528965912 new scripting system. 2016-03-14 19:45:11 -07:00
Christopher Jeffrey
bf8475afe1 buffer writer. buffer reader. 2016-03-14 16:04:28 -07:00
Christopher Jeffrey
d0a5ae7aa4 no slices. 2016-03-14 13:51:44 -07:00
Christopher Jeffrey
00dfad25da memleak work. 2016-03-14 13:25:02 -07:00
Christopher Jeffrey
18145ad541 datastore fixes. 2016-03-13 17:49:12 -07:00
Christopher Jeffrey
b88fc5b0ed cleanup chaindb. 2016-03-13 04:40:07 -07:00
Christopher Jeffrey
39265bfb6b chaindb. 2016-03-13 04:23:04 -07:00
Christopher Jeffrey
68e40200e2 framer and datastore. 2016-03-13 04:02:48 -07:00
Christopher Jeffrey
f4a1ca3eaf better pruning. use datastore only in node. 2016-03-12 06:07:42 -08:00
Christopher Jeffrey
bb306c3547 better pruning. data store improvements. 2016-03-12 04:59:56 -08:00
Christopher Jeffrey
f79d2cfa89 experimental flat file datastore. 2016-03-12 02:58:01 -08:00
Christopher Jeffrey
3564052340 disconnection fix. 2016-03-11 23:17:33 -08:00
Christopher Jeffrey
ac266fc295 options. 2016-03-11 23:09:07 -08:00
Christopher Jeffrey
fb6787e5ed fix pruning. 2016-03-11 23:01:05 -08:00
Christopher Jeffrey
9b90111a0a refactor. 2016-03-11 22:58:01 -08:00
Christopher Jeffrey
dc05362ad1 remove blockdb. 2016-03-11 22:53:03 -08:00
Christopher Jeffrey
908ddc8254 cleanup. 2016-03-11 22:47:55 -08:00
Christopher Jeffrey
8f85f0b5c9 chaindb. 2016-03-11 15:53:15 -08:00
Christopher Jeffrey
2c861aff82 implement pruning. 2016-03-11 02:00:44 -08:00
Christopher Jeffrey
4f0289f5ab use global ldb cache. 2016-03-10 18:33:02 -08:00
Christopher Jeffrey
ef3519761c lru. blockdb. 2016-03-10 16:46:37 -08:00
Christopher Jeffrey
f09a4dc8f7 blockdb improvements. 2016-03-10 14:39:37 -08:00
Christopher Jeffrey
419ba83058 refactor. drop dumbcache. 2016-03-10 14:14:19 -08:00
Christopher Jeffrey
7058611456 improve hd key perf. 2016-03-10 14:06:49 -08:00
Christopher Jeffrey
28e105c16e avoid using pbkdf2 when loading wallet. improve spvnode. 2016-03-10 03:25:48 -08:00
Christopher Jeffrey
c844cf1c4b move nodes around. 2016-03-10 02:40:33 -08:00
Christopher Jeffrey
c2aa7b3727 more http things. 2016-03-10 02:33:53 -08:00
Christopher Jeffrey
ed420e0769 move http. add request module. 2016-03-09 15:19:51 -08:00
Christopher Jeffrey
cee8b65989 http features. 2016-03-09 15:11:36 -08:00
Christopher Jeffrey
9f56efe0d7 more chainblock refactoring. 2016-03-08 14:36:01 -08:00
Christopher Jeffrey
27214676bc chainblock methods. 2016-03-08 13:47:41 -08:00
Christopher Jeffrey
7c6f71b785 chainblock methods. version bits deployment checking. 2016-03-08 02:12:21 -08:00
Christopher Jeffrey
adeee1eb67 checksequenceverify. scripting improvements. 2016-03-07 23:08:47 -08:00
Christopher Jeffrey
3dc0f4d412 checksequenceverify. 2016-03-07 21:55:26 -08:00
Christopher Jeffrey
aa101a16e8 misc improvements. 2016-03-07 19:00:03 -08:00
Christopher Jeffrey
862a412418 drop references to block buffer. less mem usage. fixes. 2016-03-07 16:56:43 -08:00
Christopher Jeffrey
0104aae9c0 witness json. 2016-03-06 12:43:47 -08:00
Christopher Jeffrey
c2baa09b1f more serialization. 2016-03-06 12:36:07 -08:00
Christopher Jeffrey
132798e898 rename toSmall/fromSmall. 2016-03-06 12:30:19 -08:00
Christopher Jeffrey
c9d8ae9f4a more serialization. 2016-03-06 12:22:59 -08:00
Christopher Jeffrey
2b1a822823 drop toCompact/fromCompact. 2016-03-06 12:09:59 -08:00
Christopher Jeffrey
cc1f423e3f cleanup address handling in blockdb. 2016-03-06 12:02:16 -08:00
Christopher Jeffrey
b5f8f7291a db refactor. 2016-03-06 11:56:50 -08:00
Christopher Jeffrey
40f9c62b6e request timeout. 2016-03-06 11:41:24 -08:00
Christopher Jeffrey
960ede9db4 fix syncHeight. 2016-03-06 11:22:13 -08:00
Christopher Jeffrey
2d028bb4b4 version packet handling. 2016-03-06 11:20:35 -08:00
Christopher Jeffrey
786aed49dd throw if async callback is executed twice. 2016-03-06 02:15:56 -08:00
Christopher Jeffrey
99f927665a timeouts. 2016-03-06 02:08:32 -08:00
Christopher Jeffrey
f24d4aa938 more code cleanup. 2016-03-06 02:00:53 -08:00
Christopher Jeffrey
9c64b62078 remove old code. 2016-03-06 01:58:43 -08:00
Christopher Jeffrey
51b2e1f9a9 improve sync. misc fixes. 2016-03-06 01:41:07 -08:00
Christopher Jeffrey
30f454e184 minor. 2016-03-05 17:14:26 -08:00