Commit Graph

207 Commits

Author SHA1 Message Date
Christopher Jeffrey
58259b6bb6
Revert "use buffers for nonces."
This reverts commit 404bdcd109.
2016-05-16 03:47:55 -07:00
Christopher Jeffrey
404bdcd109
use buffers for nonces. 2016-05-16 03:47:49 -07:00
Christopher Jeffrey
a5b8da17fc
services. 2016-05-15 18:33:54 -07:00
Christopher Jeffrey
5ac4621b0e
comments. docs. 2016-05-15 18:22:28 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
5eb3946e38
major refactor. 2016-05-13 09:24:04 -07:00
Christopher Jeffrey
9b2d80098a
orphan fork and notfound. 2016-05-06 23:10:31 -07:00
Christopher Jeffrey
5eed6081c7
fix handleGetAddr. 2016-05-04 16:38:32 -07:00
Christopher Jeffrey
270feadf74
move jsdoc types. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
f4c991ab77
mutable scripts. 2016-04-17 21:02:43 -07:00
Christopher Jeffrey
ea7fb8f476
minor refactor. 2016-04-17 16:32:12 -07:00
Christopher Jeffrey
d5bfb124cf
bloom filter. network. 2016-04-17 13:30:32 -07:00
Christopher Jeffrey
f3c2134dfa
deployments. 2016-04-17 12:09:30 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
0d7d8073a2
refactor. 2016-04-16 05:56:38 -07:00
Christopher Jeffrey
e3595906c9
no one can say i didn't write docs now. 2016-04-15 06:43:44 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -07:00
Christopher Jeffrey
5830cc044b
cleanup. 2016-04-06 14:21:57 -07:00
Christopher Jeffrey
d423e33e03 getutxos. arg parsing. 2016-04-04 20:29:46 -07:00
Christopher Jeffrey
4b20a87b4f db refactoring. 2016-04-04 18:57:34 -07:00
Christopher Jeffrey
849f1d842e more refactoring. 2016-04-04 17:37:53 -07:00
Christopher Jeffrey
9e61d0ee86 refactor. 2016-04-04 14:07:16 -07:00
Christopher Jeffrey
7b3b0695c3 serve merkleblocks. 2016-04-03 23:44:39 -07:00
Christopher Jeffrey
c5bcd44606 miner. network. serve blocks and mempool txs. 2016-04-03 21:43:50 -07:00
Christopher Jeffrey
b1d53adb6a locks. reject. 2016-03-30 22:47:31 -07:00
Christopher Jeffrey
d2767e4e34 refactoring. 2016-03-30 04:13:26 -07:00
Christopher Jeffrey
6655e57053 refactor maps. 2016-03-29 19:20:10 -07:00
Christopher Jeffrey
86efd59261 fixes. 2016-03-29 17:47:12 -07:00
Christopher Jeffrey
5dc7030ac4 broadcast witness txs correctly. 2016-03-29 16:19:33 -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
e1fd556ff6 misc. alert. 2016-03-27 13:57:35 -07:00
Christopher Jeffrey
6194c66d8f mempool work. accurate reject messages. 2016-03-26 03:37:06 -07:00
Christopher Jeffrey
e205c70f97 mempool. txdb. 2016-03-25 20:02:23 -07:00
Christopher Jeffrey
cc7004e43a peer handling. 2016-03-23 18:49:51 -07:00
Christopher Jeffrey
b792976586 fixes. refactor. 2016-03-21 18:41:06 -07:00
Christopher Jeffrey
5153e0e1f0 cleanup. 2016-03-19 10:03:55 -07:00
Christopher Jeffrey
89a8329a76 fix port. packets. 2016-03-15 14:59:17 -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
3953f392f6 peer version handling. 2016-03-14 22:21:28 -07:00
Christopher Jeffrey
bf8475afe1 buffer writer. buffer reader. 2016-03-14 16:04:28 -07:00
Christopher Jeffrey
2d028bb4b4 version packet handling. 2016-03-06 11:20:35 -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
7829ff3bea orphan soil. misc. 2016-02-28 19:15:15 -08:00
Christopher Jeffrey
4cea71fe65 keep all pending blocks off the heap. 2016-02-24 20:05:06 -08:00
Christopher Jeffrey
41c84c1937 drop relayedBy. 2016-02-24 17:47:35 -08:00
Christopher Jeffrey
0af709388c update getheaders sync. 2016-02-24 06:54:36 -08:00
Christopher Jeffrey
c5786e4932 add new block objects. 2016-02-24 06:45:47 -08:00
Christopher Jeffrey
95a5d2c47b getheaders. better pow test. 2016-02-23 04:37:13 -08:00
Christopher Jeffrey
78e9be11c3 switch to buffers. 2016-02-22 20:37:15 -08:00
Christopher Jeffrey
78098bcad5 fix getheaders sync. 2016-02-21 16:33:20 -08:00
Christopher Jeffrey
c81770c2b1 move some deps around. drop inherits. 2016-02-21 06:31:15 -08:00
Christopher Jeffrey
28274cdba4 rename methods. 2016-02-19 21:42:44 -08:00
Christopher Jeffrey
050d801849 standardness. chain. pool. 2016-02-18 15:26:03 -08:00
Christopher Jeffrey
d22dc02e8f wait for flush. 2016-02-17 19:40:56 -08:00
Christopher Jeffrey
5d9f106e2a event based system for chain error handling. 2016-02-17 15:30:33 -08:00
Christopher Jeffrey
9b1effdc66 pool improvements. 2016-02-17 05:08:19 -08:00
Christopher Jeffrey
f17575f864 queue 2016-02-17 02:53:43 -08:00
Christopher Jeffrey
d0d0378f3e queue. fixes. 2016-02-16 21:01:31 -08:00
Christopher Jeffrey
997f0acbb0 more refactoring. 2016-02-16 16:13:34 -08:00
Christopher Jeffrey
6cab97b265 listen on server socket for leech peers. 2016-02-08 18:46:09 -08:00
Christopher Jeffrey
2ec7989b6a no more dynamic heights. 2016-02-06 21:51:38 -08:00
Christopher Jeffrey
e0ab0ab88d minor changes/fixes. 2016-02-03 02:09:03 -08:00
Christopher Jeffrey
999cfefe54 more pool work. wallet.fill(). 2016-02-01 10:54:52 -08:00
Christopher Jeffrey
b0ee614432 misc sync fixes. 2016-01-31 00:50:13 -08:00
Christopher Jeffrey
8447790a84 remove peer backoff system. 2016-01-30 02:21:00 -08:00
Christopher Jeffrey
60c3db7cb9 better request handling. 2016-01-29 18:58:41 -08:00
Christopher Jeffrey
e8cb2102a3 work 2016-01-29 17:38:31 -08:00
Christopher Jeffrey
32c0f8ce3c do not request duplicate txs. 2016-01-29 14:44:43 -08:00
Christopher Jeffrey
07ddae9d33 misc fixes and improvements. 2016-01-27 19:43:24 -08:00
Christopher Jeffrey
f6dc42924b global debugging. script.isEncoded. 2016-01-20 12:25:19 -08:00
Christopher Jeffrey
47af5987ae better system to prevent DOSing. 2016-01-20 02:46:25 -08:00
Christopher Jeffrey
486c22d0e7 get rid of getStartHeight. 2016-01-19 20:36:48 -08:00
Christopher Jeffrey
27fd056316 minor. 2016-01-19 20:35:26 -08:00
Christopher Jeffrey
c11a651e9d better loader management. 2016-01-19 20:32:59 -08:00
Christopher Jeffrey
46b2983eb3 update preload. 2016-01-17 17:15:13 -08:00
Christopher Jeffrey
b1d46206a8 script fixes. 2016-01-15 19:28:17 -08:00
Christopher Jeffrey
4f8d24ba36 more int and packet work. 2016-01-13 18:31:07 -08:00
Christopher Jeffrey
10bd983899 version and addr packets. 2016-01-13 03:38:23 -08:00
Christopher Jeffrey
de455fa3e9 improve int functions and usage in parser and framer. 2016-01-12 18:13:32 -08:00
Christopher Jeffrey
df420a4a8b refactor. work. 2016-01-08 02:22:35 -08:00
Christopher Jeffrey
680bf01e98 add tx.isFinal. refactor chain usage. 2016-01-05 21:32:31 -08:00
Christopher Jeffrey
d0d5ab2c3b add mempool packet. miner refactor. 2016-01-05 12:46:30 -08:00
Christopher Jeffrey
2f618c961b fixes. peer improvements. 2016-01-05 02:28:06 -08:00
Christopher Jeffrey
019ecf4f2a switch to fullchain for both spv and fullnode. 2016-01-04 20:13:06 -08:00
Christopher Jeffrey
0f8819c78e minor fixes. refactor timestamps. 2016-01-04 04:12:26 -08:00
Christopher Jeffrey
a20cd7edbe refactor pool. improve chains. 2016-01-04 03:04:09 -08:00
Christopher Jeffrey
484b1f2817 use getheaders. 2016-01-03 06:47:27 -08:00
Christopher Jeffrey
350ca9c875 move all block sync logic to pool. 2015-12-29 18:40:31 -08:00
Christopher Jeffrey
a6e3024e9b peer address and port. 2015-12-22 03:19:27 -08:00
Christopher Jeffrey
52b653083c add features potentially useful for blockchain explorers. 2015-12-21 20:00:13 -08:00
Christopher Jeffrey
1db84a0528 wallet json and prefix. style. cleanup. 2015-12-20 01:43:09 -08:00
Christopher Jeffrey
cb2bcc21c6 prevent buffered _writes from binding thousands of events. 2015-12-19 02:52:51 -08:00
Christopher Jeffrey
a96f27682f style. fix addr timestamp. 2015-12-19 02:17:01 -08:00
Christopher Jeffrey
1e802c152f comments. more style consistency. 2015-12-18 22:53:31 -08:00
Christopher Jeffrey
5ece45091b style consistency. 2015-12-18 22:37:02 -08:00
Christopher Jeffrey
d1f8e9b5ff add chain.hasOrphan method. 2015-12-18 16:58:26 -08:00