Commit Graph

420 Commits

Author SHA1 Message Date
Christopher Jeffrey
b16a8ed1c4
lint. 2016-05-31 04:43:44 -07:00
Christopher Jeffrey
d89b545604
fix misbehaving check. 2016-05-26 17:36:24 -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
6ab0b2636c
fix remoteAddress == undefined problem. 2016-05-25 11:46:39 -07:00
Christopher Jeffrey
4aca23e7e8
minor. 2016-05-25 05:16:25 -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
1de2df0c3a
ignore misbehaving leeches. 2016-05-24 16:24:03 -07:00
Christopher Jeffrey
499d0c6a7e
minor. 2016-05-23 06:01:52 -07:00
Christopher Jeffrey
e8cf4ea8be
ip and version. 2016-05-23 05:33:27 -07:00
Christopher Jeffrey
ae41e11ff3
do not ignore old orphans. 2016-05-23 03:54:15 -07:00
Christopher Jeffrey
e968e1701e
stop requesting every tx in existence. 2016-05-23 03:51:35 -07:00
Christopher Jeffrey
77e28d28f4
minor. 2016-05-23 03:28:16 -07:00
Christopher Jeffrey
7cf1f8802f
add orphan events to mempool. 2016-05-23 03:24:25 -07:00
Christopher Jeffrey
ed08f36e07
fix block sync. improve announce vs. sendInv. 2016-05-23 03:11:31 -07:00
Christopher Jeffrey
8cf9b8c480
less special treatment for loader peer. 2016-05-23 02:04:27 -07:00
Christopher Jeffrey
8c8b62a57f
headers sync. 2016-05-23 00:49:52 -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
d605af7ed8
fix race condition. 2016-05-22 07:23:37 -07:00
Christopher Jeffrey
5537eb1995
optimize parsing and serialization. strict parsing. 2016-05-22 06:31:35 -07:00
Christopher Jeffrey
5fb8727a80
fix lowlevelup and walletdb. 2016-05-21 23:01:53 -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
292e077550
optimization for rolling filter. 2016-05-20 16:42:34 -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
cd94217abd
pool: minor. 2016-05-19 21:09:11 -07:00
Christopher Jeffrey
712a445b99
utils and createServer callback. 2016-05-19 21:05:26 -07:00
Christopher Jeffrey
435f631f05
stop using hostname getter. 2016-05-19 20:34:34 -07:00
Christopher Jeffrey
e65da93ce1
more refactoring. 2016-05-19 18:07:37 -07:00
Christopher Jeffrey
9966718e9c
refactor loadrequest. 2016-05-19 16:53:17 -07:00
Christopher Jeffrey
5d1c39bf41
remove debug code. 2016-05-19 16:30:46 -07:00
Christopher Jeffrey
3be5655539
get bcoin working on windows. 2016-05-19 16:09:21 -07:00
Christopher Jeffrey
cef88c6e4e
more pool work. 2016-05-19 16:08:56 -07:00
Christopher Jeffrey
65125f7b4f
minor. 2016-05-19 12:04:11 -07:00
Christopher Jeffrey
ed1a8ef718
pool.listen. 2016-05-19 11:56:11 -07:00
Christopher Jeffrey
b83a4a6a2c
fix parseHost. 2016-05-19 01:39:28 -07:00
Christopher Jeffrey
3e2d4aa717
remove old getSeed code. 2016-05-19 00:44:06 -07:00
Christopher Jeffrey
f714bbf2c0
minor. remove sendBlock/sendTX. 2016-05-18 23:58:12 -07:00
Christopher Jeffrey
3c4d4c2724
remove old pool methods. readme. 2016-05-18 18:33:11 -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
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
86bc2227a4
get address working. 2016-05-13 13:38:18 -07:00
Christopher Jeffrey
6bf5554325
rename address. 2016-05-13 13:15:38 -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
15045bfb0b
fix notfound handler. 2016-05-09 09:49:28 -07:00
Christopher Jeffrey
4700990bcd
mempool locker hasPending. 2016-05-09 00:56:44 -07:00
Christopher Jeffrey
5c61760fef
minor. 2016-05-09 00:51:12 -07:00
Christopher Jeffrey
b85a98b4ca
broadcast option. 2016-05-07 00:52:55 -07:00
Christopher Jeffrey
41a864d130
block sync. 2016-05-07 00:27:46 -07:00
Christopher Jeffrey
7e3635bce6
minor. 2016-05-06 20:11:57 -07:00
Christopher Jeffrey
1bf606a22d
check orphan txs before requesting. 2016-05-06 14:10:01 -07:00
Christopher Jeffrey
3326078694
check mempool before requesting tx. 2016-05-06 14:03:50 -07:00
Christopher Jeffrey
2faf8513c4
add adding state to chain. 2016-05-05 03:08:20 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert. 2016-04-29 18:17:48 -07:00
Christopher Jeffrey
9468b00d1c
refactor. cleanup. 2016-04-28 23:01:34 -07:00
Christopher Jeffrey
1e0394cc0b
another tx test. minor. 2016-04-20 01:08:13 -07:00
Christopher Jeffrey
c95681ae3f
add date and time functions. 2016-04-19 20:42:46 -07:00
Christopher Jeffrey
4456e468af
misc fixes. tx.toExtended. 2016-04-19 19:54:34 -07:00
Christopher Jeffrey
a14299bdad
move adjusted time around. 2016-04-19 06:08:40 -07:00
Christopher Jeffrey
b9369412d2
implement GetAdjustedTime. 2016-04-19 05:47:47 -07:00
Christopher Jeffrey
949f8684b0
fixes. 2016-04-18 17:33:03 -07:00
Christopher Jeffrey
69ddca52a8
clean up utils. 2016-04-18 00:36:03 -07:00
Christopher Jeffrey
a62d249d8e
do not kill loader if we have pending blocks. 2016-04-17 23:20:25 -07:00
Christopher Jeffrey
f4c991ab77
mutable scripts. 2016-04-17 21:02:43 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
0f6c19bcd5
major refactor. 2016-04-16 20:03:00 -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
7c725c40aa
minor. 2016-04-08 14:42:09 -07:00
Christopher Jeffrey
0a7f118528
add environment. 2016-04-06 18:55:55 -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
7b3b0695c3 serve merkleblocks. 2016-04-03 23:44:39 -07:00
Christopher Jeffrey
3f0ac32334 add connect method. 2016-04-03 06:11:30 -07:00
Christopher Jeffrey
fb370eda1c mempool. fix sigop counting. 2016-03-31 03:38:28 -07:00
Christopher Jeffrey
b1d53adb6a locks. reject. 2016-03-30 22:47:31 -07:00
Christopher Jeffrey
4d2d9b328c verify error refactor. 2016-03-30 16:21:56 -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
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -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
af6ac736bf consistent naming. 2016-03-28 13:22:31 -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
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