Commit Graph

1702 Commits

Author SHA1 Message Date
Christopher Jeffrey
d89b545604
fix misbehaving check. 2016-05-26 17:36:24 -07:00
Christopher Jeffrey
e59cf312c6
prefix. profiler. 2016-05-26 17:10:21 -07:00
Christopher Jeffrey
2612d2cc5c
fill block coins. 2016-05-26 15:05:25 -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
e59feaf695
minor. 2016-05-25 14:20:07 -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
77d7916f1e
support hybrid keys. see indutny/elliptic#91. 2016-05-25 02:48:41 -07:00
Christopher Jeffrey
2738a4ed5d
merkle refactor. misc. 2016-05-25 02:01:16 -07:00
Christopher Jeffrey
afeb1d1d34
lint. 2016-05-25 01:39:08 -07:00
Christopher Jeffrey
dccfc91974
block tests. 2016-05-24 23:48:52 -07:00
Christopher Jeffrey
1de2df0c3a
ignore misbehaving leeches. 2016-05-24 16:24:03 -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
e2626c32f0
mkdirp. 2016-05-24 01:18:56 -07:00
Christopher Jeffrey
da701cbef4
refactor merkleblock. 2016-05-24 00:56:31 -07:00
Christopher Jeffrey
9afb141dce
minor. 2016-05-23 22:18:26 -07:00
Christopher Jeffrey
1011d1f824
directory structure. 2016-05-23 20:30:09 -07:00
Christopher Jeffrey
1c2e1b8000
minor. 2016-05-23 19:55:53 -07:00
Christopher Jeffrey
9c89630490
block tests. fix spv and bloom filters. 2016-05-23 19:38:06 -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
65278a3296
separate debug files. 2016-05-23 03:33:36 -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
cd4f6a71ae
ec.rand, again. 2016-05-23 02:23:34 -07:00
Christopher Jeffrey
62f5d6f803
fix ec.rand(). 2016-05-23 02:21:31 -07:00
Christopher Jeffrey
8cf9b8c480
less special treatment for loader peer. 2016-05-23 02:04:27 -07:00
Christopher Jeffrey
2b2a747eab
network for miner blocks. 2016-05-23 01:31:24 -07:00
Christopher Jeffrey
3f4e0f5040
refactor miner. 2016-05-23 01:04:55 -07:00
Christopher Jeffrey
8c8b62a57f
headers sync. 2016-05-23 00:49:52 -07:00
Christopher Jeffrey
373e474f59
remove service properties. 2016-05-22 23:49:34 -07:00
Christopher Jeffrey
013b59a9cc
fix typos. 2016-05-22 23:16:08 -07:00
Christopher Jeffrey
d85956b63f
parallelize mining. listen for worker pipe errors. 2016-05-22 21:21:18 -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
c71e7646d3
fix readvarint2. fix memUsage. 2016-05-22 17:57:06 -07:00
Christopher Jeffrey
26d3003a9d
parse errors. 2016-05-22 16:45:38 -07:00
Christopher Jeffrey
d605af7ed8
fix race condition. 2016-05-22 07:23:37 -07:00
Christopher Jeffrey
92e8a9c4bc
new varint2. 2016-05-22 06:54:36 -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
cf041e1fad
Revert "hash bloom"
This reverts commit f7dd8a6e8a.
2016-05-21 17:38:06 -07:00
Christopher Jeffrey
2c809e28fd
segwit activation for testnet. work around leveldown bug. 2016-05-21 16:41:30 -07:00
Christopher Jeffrey
f7dd8a6e8a
hash bloom 2016-05-21 16:37:48 -07:00
Christopher Jeffrey
c398564036
refactor peer and pool. 2016-05-21 09:51:33 -07:00
Christopher Jeffrey
3e2f43e178
use bloom filter for addresses in wallet db. 2016-05-20 17:12:00 -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
d8800632ea
optimize new generations with rolling filter. 2016-05-20 16:05:03 -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
d4f03f982e
fix issue with mutable scripts. 2016-05-20 04:53:15 -07:00
Christopher Jeffrey
f013ddb353
improve fee calculation. tests. 2016-05-20 04:17:05 -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
39a8ecc398
remove asserts. 2016-05-19 21:11:02 -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
29cac3515a
refactor binary search. 2016-05-19 19:37:11 -07:00
Christopher Jeffrey
a94a2a101d
fix big endian 64 bit ints. 2016-05-19 19:32:08 -07:00
Christopher Jeffrey
29c5203090
docs. 2016-05-19 18:43:31 -07:00
Christopher Jeffrey
8d5d6dbd88
update docs pertaining to address maps. 2016-05-19 18:27:27 -07:00
Christopher Jeffrey
1bc60a3e0e
docs 2016-05-19 18:20:30 -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
64830059d7
rename utils.slice. 2016-05-19 16:47:41 -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
3979e57acc
fix options for http. 2016-05-19 01:33:32 -07:00
Christopher Jeffrey
3e2d4aa717
remove old getSeed code. 2016-05-19 00:44:06 -07:00
Christopher Jeffrey
ae230cf294
refactor tx. 2016-05-19 00:17:01 -07:00
Christopher Jeffrey
f714bbf2c0
minor. remove sendBlock/sendTX. 2016-05-18 23:58:12 -07:00
Christopher Jeffrey
5f6aa10cbc
refactor aes. 2016-05-18 22:15:00 -07:00
Christopher Jeffrey
dd8c92d5fd
handle errors better in parser. 2016-05-18 18:56:35 -07:00
Christopher Jeffrey
17d9db5926
remove asserts. 2016-05-18 18:49:31 -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
ee3d3eaea1
drop utils.read/write. 2016-05-18 08:52:08 -07:00
Christopher Jeffrey
b9c7afa0ea
coin.fromTX. 2016-05-18 05:12:28 -07:00
Christopher Jeffrey
c6e36353fa
block.addTX. 2016-05-18 05:02:03 -07:00
Christopher Jeffrey
070af4643f
remove old mutable check from block.getSizes. 2016-05-18 04:42:38 -07:00
Christopher Jeffrey
b04d4e3be1
render block when getting size (optimization). 2016-05-18 04:32:20 -07:00
Christopher Jeffrey
6005f0f750
whole bunch of refactoring. 2016-05-18 04:23:05 -07:00
Christopher Jeffrey
a2ddb960f5
drop script.fromSymbolic. 2016-05-18 02:09:55 -07:00
Christopher Jeffrey
370b5aeb24
hd. 2016-05-17 15:25:39 -07:00
Christopher Jeffrey
559cb62889
varint. misc. 2016-05-17 15:17:39 -07:00
Christopher Jeffrey
ec21986062
optimize getProof. misc. 2016-05-17 14:50:09 -07:00
Christopher Jeffrey
a6727fd84e
add scrypt if we want to support bip38. 2016-05-16 21:31:29 -07:00
Christopher Jeffrey
6afee3cccb
speed up mempoolentry.toRaw. 2016-05-16 18:49:23 -07:00
Christopher Jeffrey
43f0ee2207
minor. 2016-05-16 18:39:57 -07:00
Christopher Jeffrey
eab9834103
utils.ip2array 2016-05-16 18:37:14 -07:00
Christopher Jeffrey
599bbffe1e
optimize getBalance. 2016-05-16 17:56:35 -07:00
Christopher Jeffrey
66569df692
fix writer.fill. 2016-05-16 17:32:15 -07:00
Christopher Jeffrey
92c5dd0832
Revert "refactor."
This reverts commit f0cc2f8c6c.
2016-05-16 17:14:12 -07:00
Christopher Jeffrey
e354dea283
varint assert. 2016-05-16 17:05:55 -07:00
Christopher Jeffrey
f0cc2f8c6c
refactor. 2016-05-16 16:02:28 -07:00
Christopher Jeffrey
3bb03c63fa
move sizePush. 2016-05-16 15:58:07 -07:00
Christopher Jeffrey
aa24f6facf
optimize writer. 2016-05-16 15:52:14 -07:00
Christopher Jeffrey
f0c73f41a6
refactor reader and writer. 2016-05-16 15:32:20 -07:00
Christopher Jeffrey
7e4ac9b0ed
fill and seek. 2016-05-16 15:27:33 -07:00
Christopher Jeffrey
6e97a7d431
add floats to reader and writer. 2016-05-16 15:17:51 -07:00
Christopher Jeffrey
052c18e091
Network.isNetwork. 2016-05-16 13:20:36 -07:00
Christopher Jeffrey
48f8edbe80
hd testing methods. 2016-05-16 13:17:04 -07:00
Christopher Jeffrey
9ac406aa2d
move checkInputs for accuracy. 2016-05-16 05:05:33 -07:00
Christopher Jeffrey
f48fa2b994
safe priority serialization. 2016-05-16 04:57:31 -07:00
Christopher Jeffrey
533e644284
priority calculation. 2016-05-16 04:55:39 -07:00
Christopher Jeffrey
8f3fae329d
refactor mempool. 2016-05-16 04:49:14 -07:00
Christopher Jeffrey
88a5b8a784
refactor mempool orphans. 2016-05-16 04:36:19 -07:00
Christopher Jeffrey
c37a069978
fix limitOrphans. 2016-05-16 04:07:18 -07:00
Christopher Jeffrey
0b6f86c9d5
refactor testTarget. 2016-05-16 03:59:42 -07:00
Christopher Jeffrey
9a962bb73a
fix force53 handling in read64n. 2016-05-16 03:53:25 -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
e74b163b9e
utils.nonce. 2016-05-16 03:41:50 -07:00
Christopher Jeffrey
56445cf562
script test. 2016-05-16 03:26:13 -07:00
Christopher Jeffrey
92d95c552c
minor optimizations. 2016-05-16 03:18:28 -07:00
Christopher Jeffrey
c598937e4c
minor. 2016-05-16 01:37:09 -07:00
Christopher Jeffrey
278ff82658
FindAndDelete again. 2016-05-15 23:51:18 -07:00
Christopher Jeffrey
6c997e20b5
remove alternative script num methods. 2016-05-15 22:33:20 -07:00
Christopher Jeffrey
c6ccb0fccf
faster negative script nums. 2016-05-15 22:18:33 -07:00
Christopher Jeffrey
ab68e23238
fix disabled opcodes comparison. 2016-05-15 21:58:54 -07:00
Christopher Jeffrey
1513f06bce
expose opcodes from script module. 2016-05-15 21:55:17 -07:00
Christopher Jeffrey
52541fe123
tests. block reward. 2016-05-15 21:47:39 -07:00
Christopher Jeffrey
39db4e065b
ldb: minor. 2016-05-15 21:29:15 -07:00
Christopher Jeffrey
4314d0cd6a
more tx tests. comments. 2016-05-15 20:32:34 -07:00
Christopher Jeffrey
be3b578267
ldb refactor. 2016-05-15 20:11:23 -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
e75e040d2b
remove comments. 2016-05-15 17:43:51 -07:00
Christopher Jeffrey
535b6a823e
utils and tests. 2016-05-15 17:41:45 -07:00
Christopher Jeffrey
6776c701e3
minor. 2016-05-15 16:18:13 -07:00
Christopher Jeffrey
d91a8b1086
add supersha. 2016-05-15 04:15:24 -07:00
Christopher Jeffrey
4b0519a073
more tests. utils. 2016-05-15 03:33:58 -07:00
Christopher Jeffrey
022de4a91d
cache values. 2016-05-15 00:59:29 -07:00
Christopher Jeffrey
a7f3d2aa8f
ints. 2016-05-15 00:40:21 -07:00
Christopher Jeffrey
dd5c9096a7
use js numbers for values. 2016-05-14 20:57:52 -07:00
Christopher Jeffrey
f38350ec14
fix address.toScript. 2016-05-14 16:10:41 -07:00
Christopher Jeffrey
a1c200356e
mempool: minor. 2016-05-14 14:57:32 -07:00
Christopher Jeffrey
d68509da1d
comments. refactor. 2016-05-14 14:53:40 -07:00
Christopher Jeffrey
31c4b4622a
workers: minor. 2016-05-14 14:44:06 -07:00
Christopher Jeffrey
3a9a0d9840
fix worker mining. 2016-05-14 14:30:59 -07:00
Christopher Jeffrey
7e8ac5e159
comments. 2016-05-14 14:13:19 -07:00
Christopher Jeffrey
493f0092e4
comments. refactor how module is exposed. 2016-05-14 13:22:43 -07:00
Christopher Jeffrey
86fbd64598
add network to new wallets. 2016-05-14 11:31:07 -07:00
Christopher Jeffrey
3cea8323b0
hd and ec refactor. 2016-05-14 10:54:00 -07:00
Christopher Jeffrey
6690991acb
more hd improvements. 2016-05-13 19:28:19 -07:00
Christopher Jeffrey
b164984307
hd refactor. 2016-05-13 18:38:36 -07:00
Christopher Jeffrey
6d55077818
fee work. 2016-05-13 17:21:13 -07:00
Christopher Jeffrey
6a45d693ee
rename chainblock for consistency. 2016-05-13 15:33:25 -07:00
Christopher Jeffrey
6c370e908f
fixes. 2016-05-13 15:32:04 -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
897e4ae662
hd refactor. 2016-05-13 13:04:55 -07:00
Christopher Jeffrey
8db6e1c9a6
store by hash. 2016-05-13 12:01:06 -07:00
Christopher Jeffrey
e51ae84f37
address object. 2016-05-13 11:07:24 -07:00
Christopher Jeffrey
fc22de77bf
tests passing. 2016-05-13 10:04:56 -07:00
Christopher Jeffrey
020d09a6fe
expose function. 2016-05-13 09:34:09 -07:00
Christopher Jeffrey
5eb3946e38
major refactor. 2016-05-13 09:24:04 -07:00
Christopher Jeffrey
5193e3533a
halflife. 2016-05-13 05:53:51 -07:00
Christopher Jeffrey
361134029f
move some chaindb stuff around. 2016-05-13 04:52:35 -07:00
Christopher Jeffrey
f4be7651cd
refactor txdb and chaindb db usage. 2016-05-13 04:49:21 -07:00
Christopher Jeffrey
5a2834dcec
more mempool work. 2016-05-13 04:48:46 -07:00
Christopher Jeffrey
ced84ca25b
db. mempool. 2016-05-13 02:53:55 -07:00
Christopher Jeffrey
679d4194b1
random. 2016-05-12 17:25:56 -07:00
Christopher Jeffrey
72c2d25efc
entries. 2016-05-12 15:59:05 -07:00
Christopher Jeffrey
4ce1ed3046
Revert "require height."
This reverts commit c334d1f9d8.
2016-05-12 14:17:35 -07:00
Christopher Jeffrey
c334d1f9d8
require height. 2016-05-12 14:17:32 -07:00
Christopher Jeffrey
a5d72188c0
remove random orphans. 2016-05-12 13:18:47 -07:00
Christopher Jeffrey
9a42f86c2e
more mempool work. 2016-05-12 03:05:34 -07:00
Christopher Jeffrey
f4f4658390
mempool. remove spenders. 2016-05-11 23:25:23 -07:00
Christopher Jeffrey
67dc96ff5d
remove seenTX. 2016-05-11 19:26:34 -07:00
Christopher Jeffrey
299a49e76b
store mempool orphans in memory always. 2016-05-11 19:23:38 -07:00
Christopher Jeffrey
a940ea5158
mempool size. 2016-05-11 19:09:48 -07:00
Christopher Jeffrey
d3383499c0
mempool. fees. 2016-05-11 17:08:53 -07:00
Christopher Jeffrey
62bc8b077d
miner, chainblock, workers. 2016-05-10 12:18:36 -07:00
Christopher Jeffrey
45e84ff168
Revert "more accurate FindAndDelete."
This reverts commit 4b2219c71f.
2016-05-09 15:13:12 -07:00
Christopher Jeffrey
4b2219c71f
more accurate FindAndDelete. 2016-05-09 15:13:07 -07:00
Christopher Jeffrey
15045bfb0b
fix notfound handler. 2016-05-09 09:49:28 -07:00
Christopher Jeffrey
2189d79c47
optimization for checkFinal. 2016-05-09 09:35:41 -07:00
Christopher Jeffrey
d5c9c31534
fix spv again. 2016-05-09 09:29:50 -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