Commit Graph

1729 Commits

Author SHA1 Message Date
Christopher Jeffrey
f2bc10726b
relay alerts. 2016-06-07 10:33:07 -07:00
Christopher Jeffrey
fd01c23f4c
move setimmediate. 2016-06-06 23:16:27 -07:00
Christopher Jeffrey
4f98ccfbfb
prune keys. 2016-06-06 23:16:00 -07:00
Christopher Jeffrey
ea4e4b888d
fix state cache optimization. 2016-06-06 16:56:28 -07:00
Christopher Jeffrey
f59ecaeb7f
browser index.html. 2016-06-06 14:06:18 -07:00
Christopher Jeffrey
6ac90a929e
consistency. 2016-06-06 03:32:39 -07:00
Christopher Jeffrey
6a4beafa87
asyncify calls. 2016-06-05 17:48:39 -07:00
Christopher Jeffrey
d1695bf014
options. 2016-06-05 17:31:07 -07:00
Christopher Jeffrey
f71aa44acc
spruce things up for the browser. 2016-06-05 08:20:27 -07:00
Christopher Jeffrey
10efd549ce
consistency. 2016-06-04 19:37:15 -07:00
Christopher Jeffrey
af33e61031
txdb: fix double-spend handling. 2016-06-04 19:34:37 -07:00
Christopher Jeffrey
a6ca11611f
we now support all services. 2016-06-04 09:51:34 -07:00
Christopher Jeffrey
055e5665e3
minor fixes. 2016-06-03 15:22:28 -07:00
Christopher Jeffrey
a5945c1d98
lint. 2016-06-03 12:18:03 -07:00
Christopher Jeffrey
bbec33591d
comments. 2016-06-03 12:15:17 -07:00
Christopher Jeffrey
496b922f18
fix findLocator. 2016-06-03 12:02:07 -07:00
Christopher Jeffrey
c3822dbf70
improve mm3 perf slightly. 2016-06-03 11:29:11 -07:00
Christopher Jeffrey
819795b1ae
chainentry json. 2016-06-02 18:52:23 -07:00
Christopher Jeffrey
33f7b38433
minor improvements. 2016-06-02 17:28:42 -07:00
Christopher Jeffrey
2037060c35
reset chain after spv preload. 2016-06-02 16:45:05 -07:00
Christopher Jeffrey
648e46a252
remove old spv code. 2016-06-02 16:30:33 -07:00
Christopher Jeffrey
47f75c9957
add all addresses to bloom filter. 2016-06-02 16:26:25 -07:00
Christopher Jeffrey
6176b0d228
more pool and spv stuff. 2016-06-02 16:14:04 -07:00
Christopher Jeffrey
6872a18538
optimize target checking. 2016-06-02 14:47:24 -07:00
Christopher Jeffrey
283bf3e561
fix spv. clean up pool. 2016-06-02 12:39:46 -07:00
Christopher Jeffrey
e330317b5c
more http api. 2016-06-02 11:53:55 -07:00
Christopher Jeffrey
dd9fb535fa
fill coins before signing. 2016-06-02 11:38:29 -07:00
Christopher Jeffrey
29d79e57ad
sign created tx. 2016-06-02 11:28:52 -07:00
Christopher Jeffrey
1839bb5725
fix reorganize. 2016-06-02 08:37:45 -07:00
Christopher Jeffrey
5b1ce02324
events. http wallet. 2016-06-02 07:19:30 -07:00
Christopher Jeffrey
2f492dfc89
http wallet. 2016-06-02 05:25:14 -07:00
Christopher Jeffrey
aa163bce33
more refactoring. 2016-06-02 03:47:30 -07:00
Christopher Jeffrey
cde8fdafa6
refactor wallet and walletdb. 2016-06-02 03:34:13 -07:00
Christopher Jeffrey
ac21ebd151
socket.io fixes. 2016-06-02 02:46:39 -07:00
Christopher Jeffrey
a1cabfb8bd
miner. improve workers. 2016-06-02 01:47:11 -07:00
Christopher Jeffrey
71934a22f1
more accurate ComputeBlockVersion. 2016-06-01 23:34:42 -07:00
Christopher Jeffrey
a09c7365aa
fix commit hash caching. fix miner race conditon. 2016-06-01 23:21:55 -07:00
Christopher Jeffrey
b0c36d51dc
lint. 2016-06-01 22:45:40 -07:00
Christopher Jeffrey
712d7801b3
add scrypt to workers. 2016-06-01 22:28:28 -07:00
Christopher Jeffrey
1cc6727de5
fix removeKey. 2016-06-01 22:22:12 -07:00
Christopher Jeffrey
55369ca463
add async scrypt. 2016-06-01 21:20:12 -07:00
Christopher Jeffrey
084568617b
wallet and test refactor. 2016-06-01 17:55:40 -07:00
Christopher Jeffrey
64af74fe4a
master key. use locks to avoid race conditions in wallet. 2016-06-01 14:59:23 -07:00
Christopher Jeffrey
c3ba9808b1
refactor account. 2016-06-01 10:44:22 -07:00
Christopher Jeffrey
4bdaf0ec74
minor. 2016-05-31 23:20:14 -07:00
Christopher Jeffrey
6d7602ddfa
optimize scrypt more. 2016-05-31 22:58:32 -07:00
Christopher Jeffrey
3a2d800ec1
faster scrypt. 2016-05-31 22:52:12 -07:00
Christopher Jeffrey
0c4df11cb6
consistency. chain test. 2016-05-31 22:17:36 -07:00
Christopher Jeffrey
293f9c5dc5
fix potential dos vectors. tests. 2016-05-31 22:10:06 -07:00
Christopher Jeffrey
e08b4cf563
balance. walletdb. 2016-05-31 18:25:39 -07:00
Christopher Jeffrey
5b3cc7c0d3
misc. error handling. 2016-05-31 15:39:30 -07:00
Christopher Jeffrey
f4b0d029df
docs. 2016-05-31 13:30:44 -07:00
Christopher Jeffrey
a567a61b41
rename. 2016-05-31 06:47:48 -07:00
Christopher Jeffrey
d4b840065f
return error on bad passphrase. 2016-05-31 06:47:05 -07:00
Christopher Jeffrey
59755841f9
improve path getting. 2016-05-31 06:45:32 -07:00
Christopher Jeffrey
2e5df5514a
change passphrase. 2016-05-31 06:42:12 -07:00
Christopher Jeffrey
4058bba907
coin filling. 2016-05-31 06:10:42 -07:00
Christopher Jeffrey
512f3de412
scanning. local. etc. 2016-05-31 05:59:19 -07:00
Christopher Jeffrey
b16a8ed1c4
lint. 2016-05-31 04:43:44 -07:00
Christopher Jeffrey
60d33ce9db
txdb and walletdb work. scanning. 2016-05-31 04:37:46 -07:00
Christopher Jeffrey
74f5a8916f
more wallet work. 2016-05-31 03:01:56 -07:00
Christopher Jeffrey
976fd46da5
accounts. 2016-05-31 00:46:01 -07:00
Christopher Jeffrey
79d2471a33
mapping. 2016-05-30 19:09:05 -07:00
Christopher Jeffrey
cbd7f06aba
stop using paths. 2016-05-29 12:12:22 -07:00
Christopher Jeffrey
390af13b14
wallets, now with reference counting. 2016-05-29 07:00:36 -07:00
Christopher Jeffrey
ab9301ce7e
serialization. refactor. 2016-05-29 03:04:28 -07:00
Christopher Jeffrey
663e62639d
ser 2016-05-28 21:31:47 -07:00
Christopher Jeffrey
1002c222a6
refactor. 2016-05-28 12:02:39 -07:00
Christopher Jeffrey
14088e5b0c
async wallet cwallet. 2016-05-28 08:33:53 -07:00
Christopher Jeffrey
420d72d647
async wallet. 2016-05-28 05:48:50 -07:00
Christopher Jeffrey
7bb67aa449
more wallet work. 2016-05-27 16:20:11 -07:00
Christopher Jeffrey
3480b8c679
more wallet work. 2016-05-27 14:26:40 -07:00
Christopher Jeffrey
9c747cde42
drop provider from wallet. 2016-05-27 05:04:00 -07:00
Christopher Jeffrey
b7bc1cfe77
more socket.io things. 2016-05-27 01:07:43 -07:00
Christopher Jeffrey
0e31719d13
Revert "simple coin views."
This reverts commit 5074e3100d.
2016-05-27 00:27:09 -07:00
Christopher Jeffrey
5074e3100d
simple coin views. 2016-05-26 23:47:54 -07:00
Christopher Jeffrey
2884a794c3
coins 2016-05-26 23:47:41 -07:00
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