Commit Graph

249 Commits

Author SHA1 Message Date
Christopher Jeffrey
4cd018c31a
fix sync. 2016-06-08 16:02:39 -07:00
Christopher Jeffrey
7791f7b21d
refactor pool. 2016-06-08 03:41:15 -07:00
Christopher Jeffrey
5357fd8567
rename compactblock to avoid confusion. 2016-06-07 11:32:52 -07:00
Christopher Jeffrey
f2bc10726b
relay alerts. 2016-06-07 10:33:07 -07:00
Christopher Jeffrey
f71aa44acc
spruce things up for the browser. 2016-06-05 08:20:27 -07:00
Christopher Jeffrey
bbec33591d
comments. 2016-06-03 12:15:17 -07:00
Christopher Jeffrey
6176b0d228
more pool and spv stuff. 2016-06-02 16:14:04 -07:00
Christopher Jeffrey
a1cabfb8bd
miner. improve workers. 2016-06-02 01:47:11 -07:00
Christopher Jeffrey
b16a8ed1c4
lint. 2016-05-31 04:43:44 -07:00
Christopher Jeffrey
1ef834ca3e
fixes for perf. 2016-05-26 04:40:52 -07:00
Christopher Jeffrey
e2817436de
improve address management. 2016-05-25 17:38:42 -07:00
Christopher Jeffrey
5ae0c441c1
move ip utils. 2016-05-25 14:39:54 -07:00
Christopher Jeffrey
284bba746a
use node-ip. 2016-05-25 13:23:27 -07:00
Christopher Jeffrey
f065179d69
fix banning in certain cases. 2016-05-25 03:15:00 -07:00
Christopher Jeffrey
afeb1d1d34
lint. 2016-05-25 01:39:08 -07:00
Christopher Jeffrey
c5fc69ee93
handle mempool. 2016-05-24 11:43:14 -07:00
Christopher Jeffrey
ee09a6d2d0
typo. 2016-05-24 11:41:21 -07:00
Christopher Jeffrey
7756fc2c73
ensure packets are served in order. 2016-05-24 11:39:48 -07:00
Christopher Jeffrey
1c2e1b8000
minor. 2016-05-23 19:55:53 -07:00
Christopher Jeffrey
e8cf4ea8be
ip and version. 2016-05-23 05:33:27 -07:00
Christopher Jeffrey
e968e1701e
stop requesting every tx in existence. 2016-05-23 03:51:35 -07:00
Christopher Jeffrey
ed08f36e07
fix block sync. improve announce vs. sendInv. 2016-05-23 03:11:31 -07:00
Christopher Jeffrey
013b59a9cc
fix typos. 2016-05-22 23:16:08 -07:00
Christopher Jeffrey
53dbac9c87
more relay fixes. 2016-05-22 19:14:20 -07:00
Christopher Jeffrey
e8f5be9830
workers. fix inv relaying. 2016-05-22 18:13:54 -07:00
Christopher Jeffrey
5537eb1995
optimize parsing and serialization. strict parsing. 2016-05-22 06:31:35 -07:00
Christopher Jeffrey
2c809e28fd
segwit activation for testnet. work around leveldown bug. 2016-05-21 16:41:30 -07:00
Christopher Jeffrey
c398564036
refactor peer and pool. 2016-05-21 09:51:33 -07:00
Christopher Jeffrey
14b2b528f3
switch back to rolling filters. 2016-05-20 16:11:17 -07:00
Christopher Jeffrey
381c1ca1f1
rolling bloom filter. 2016-05-20 14:40:36 -07:00
Christopher Jeffrey
8e5cdbdfcd
add rejects filter. 2016-05-20 07:09:24 -07:00
Christopher Jeffrey
d9d18f2be7
use bloom filters to avoid double sending to peers. 2016-05-20 06:11:28 -07:00
Christopher Jeffrey
72e5d5fbc7
better orphan handling. 2016-05-20 04:16:15 -07:00
Christopher Jeffrey
e97f1d0477
better ping system. 2016-05-19 22:34:27 -07:00
Christopher Jeffrey
bd3d17ef53
refactor. 2016-05-19 21:35:02 -07:00
Christopher Jeffrey
b4bfe53bfe
refactor utils. 2016-05-19 21:31:39 -07:00
Christopher Jeffrey
435f631f05
stop using hostname getter. 2016-05-19 20:34:34 -07:00
Christopher Jeffrey
cef88c6e4e
more pool work. 2016-05-19 16:08:56 -07:00
Christopher Jeffrey
f714bbf2c0
minor. remove sendBlock/sendTX. 2016-05-18 23:58:12 -07:00
Christopher Jeffrey
3154a1c914
add feefilter packet. misc. 2016-05-18 17:58:29 -07:00
Christopher Jeffrey
07517ecd04
rewrite broadcast system. 2016-05-18 15:01:19 -07:00
Christopher Jeffrey
c6e36353fa
block.addTX. 2016-05-18 05:02:03 -07:00
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