Commit Graph

2536 Commits

Author SHA1 Message Date
Christopher Jeffrey
3a99b23cb3
hd refactor. 2016-06-18 22:10:07 -07:00
Christopher Jeffrey
a1e31f02ae
refactor address. 2016-06-18 21:59:00 -07:00
Christopher Jeffrey
7422b46e75
refactor. 2016-06-18 20:59:34 -07:00
Christopher Jeffrey
3fd3d9bcff
prevout.isNull(). 2016-06-18 18:22:26 -07:00
Christopher Jeffrey
821f1175cc
minor. 2016-06-18 17:42:49 -07:00
Christopher Jeffrey
75aad4e771
chachapoly refactor. 2016-06-18 17:42:35 -07:00
Christopher Jeffrey
c02b93adae
lint. 2016-06-17 21:23:05 -07:00
Christopher Jeffrey
da3ce0b4a7
filterload. 2016-06-17 20:41:45 -07:00
Christopher Jeffrey
48b3b0b506
misc. 2016-06-17 20:10:35 -07:00
Christopher Jeffrey
d5529996ef
tests. 2016-06-17 17:54:23 -07:00
Christopher Jeffrey
c3774261b4
minor optimizations. 2016-06-17 16:25:27 -07:00
Christopher Jeffrey
7862418ccc
program. addresses. 2016-06-17 06:34:48 -07:00
Christopher Jeffrey
32e26446b1
sighashing. 2016-06-17 04:30:33 -07:00
Christopher Jeffrey
54d3b350e9
rename. fix testing functions. 2016-06-17 04:10:32 -07:00
Christopher Jeffrey
2d70636fb0
micro optimize. 2016-06-17 03:47:54 -07:00
Christopher Jeffrey
799c40136a
refactor. 2016-06-17 03:41:15 -07:00
Christopher Jeffrey
6216bcbd97
witsize. json. 2016-06-17 03:31:01 -07:00
Christopher Jeffrey
4b5697a615
more serialization work. 2016-06-17 02:26:48 -07:00
Christopher Jeffrey
16404a03ba
serialization... again. 2016-06-17 01:34:59 -07:00
Christopher Jeffrey
f494762a67
api: create address. 2016-06-16 15:37:22 -07:00
Christopher Jeffrey
edbd42b2c2
api fixes. 2016-06-16 15:26:32 -07:00
Christopher Jeffrey
1283e8bd2a
estimator serialization. 2016-06-16 03:41:31 -07:00
Christopher Jeffrey
79bc477476
more refactoring. 2016-06-16 02:51:50 -07:00
Christopher Jeffrey
8cfa46f943
minor. 2016-06-16 02:38:27 -07:00
Christopher Jeffrey
5008a5880c
more refactoring. 2016-06-16 02:27:35 -07:00
Christopher Jeffrey
36fc40ee7c
branch state. 2016-06-16 02:25:42 -07:00
Christopher Jeffrey
51f3d7120b
disabled ops. 2016-06-16 02:23:36 -07:00
Christopher Jeffrey
fca282acdb
script.fromString. 2016-06-16 02:16:29 -07:00
Christopher Jeffrey
9965f258e8
script fixes. 2016-06-16 01:13:06 -07:00
Christopher Jeffrey
b74b6e8b83
handle remove for block better. 2016-06-16 00:18:36 -07:00
Christopher Jeffrey
9d771fe0b6
fix leech peers. 2016-06-15 20:33:17 -07:00
Christopher Jeffrey
d38de71468
logs. 2016-06-15 20:08:44 -07:00
Christopher Jeffrey
6a4fce383e
floor rates and priority. 2016-06-15 18:03:42 -07:00
Christopher Jeffrey
aba92e4a7f
mempool. static int. 2016-06-15 17:50:49 -07:00
Christopher Jeffrey
7e2185dfd6
serialize mempool entries properly. 2016-06-15 17:44:07 -07:00
Christopher Jeffrey
6303530c4f
fees. mempool. createTX. 2016-06-15 17:04:04 -07:00
Christopher Jeffrey
7383971a75
signing checks. 2016-06-15 14:42:27 -07:00
Christopher Jeffrey
ac8a09a55c
allow sloppy scripts. 2016-06-14 19:32:01 -07:00
Christopher Jeffrey
f1e1873514
fix getCoinbaseHeight. 2016-06-14 19:06:17 -07:00
Christopher Jeffrey
3a18052f87
script work. 2016-06-14 18:13:51 -07:00
Christopher Jeffrey
27b18c0fd2
work. mutable scripts. 2016-06-14 16:26:26 -07:00
Christopher Jeffrey
5ae6a4e02c
always compile scripts. 2016-06-13 22:54:57 -07:00
Christopher Jeffrey
3f62a8ae42
scripting system. 2016-06-13 21:25:42 -07:00
Christopher Jeffrey
b088d3fb44
mempool. 2016-06-13 08:29:03 -07:00
Christopher Jeffrey
fc6feb2125
comment. 2016-06-13 08:04:26 -07:00
Christopher Jeffrey
0080c3e519
handle arguments better. 2016-06-13 03:17:28 -07:00
Christopher Jeffrey
87ce4e5583
remove delete calls. 2016-06-13 02:43:19 -07:00
Christopher Jeffrey
9a5f1c556d
strict mode. 2016-06-13 01:06:01 -07:00
Christopher Jeffrey
ce9fe104b3
add connect timeout. 2016-06-13 00:04:34 -07:00
Christopher Jeffrey
e8ee4d3c18
minor. 2016-06-12 23:53:36 -07:00
Christopher Jeffrey
b301fe5def
refactor. 2016-06-12 23:50:18 -07:00
Christopher Jeffrey
e51464f29b
refactor tx.verify. 2016-06-12 23:16:00 -07:00
Christopher Jeffrey
af8e3945b7
refactor. 2016-06-12 22:41:55 -07:00
Christopher Jeffrey
ebe3b3ed54
minor. 2016-06-12 22:34:58 -07:00
Christopher Jeffrey
896f1f989c
clean up script.js. 2016-06-12 14:27:29 -07:00
Christopher Jeffrey
dd57bba151
typos. 2016-06-12 14:14:21 -07:00
Christopher Jeffrey
c056b0d8ab
refactor. 2016-06-12 13:48:02 -07:00
Christopher Jeffrey
2549ffc4a8
fix horrible typo. 2016-06-12 13:17:05 -07:00
Christopher Jeffrey
07261da2e2
refactor. 2016-06-12 12:46:50 -07:00
Christopher Jeffrey
7e5b6a2ff7
minor optimization. 2016-06-12 12:09:23 -07:00
Christopher Jeffrey
408102949c
getHash enc. 2016-06-12 12:01:06 -07:00
Christopher Jeffrey
46fbaf9514
optimize keys. 2016-06-12 11:32:21 -07:00
Christopher Jeffrey
6053497c0c
fix mempool. 2016-06-12 10:26:18 -07:00
Christopher Jeffrey
becbba4aba
lint. optimize. 2016-06-12 10:17:29 -07:00
Christopher Jeffrey
e8130bd04c
refactor. 2016-06-12 10:07:00 -07:00
Christopher Jeffrey
f95f3e929b
optimize more. 2016-06-12 10:01:19 -07:00
Christopher Jeffrey
3e7f1cea42
refactor. 2016-06-12 09:51:34 -07:00
Christopher Jeffrey
9d19388162
minor perf. 2016-06-12 09:36:43 -07:00
Christopher Jeffrey
1e962a5594
optimize. 2016-06-12 09:30:06 -07:00
Christopher Jeffrey
6081998516
Revert "store undo coins in coinviews."
This reverts commit f2465c2caf.
2016-06-12 09:11:43 -07:00
Christopher Jeffrey
f2465c2caf
store undo coins in coinviews. 2016-06-12 09:11:40 -07:00
Christopher Jeffrey
247067291c
fixes. 2016-06-12 09:11:25 -07:00
Christopher Jeffrey
68d8a6f2d3
binary keys work. 2016-06-12 08:07:21 -07:00
Christopher Jeffrey
fd7a42a240
binary keys. 2016-06-12 08:07:21 -07:00
Christopher Jeffrey
0abf791bb7
deferred. 2016-06-12 08:07:21 -07:00
Christopher Jeffrey
95b62b4b65
deferred coin. 2016-06-12 08:07:21 -07:00
Christopher Jeffrey
e9c0dc7037
simple coin views. 2016-06-12 08:07:21 -07:00
Christopher Jeffrey
774fc92f99
minor. 2016-06-12 08:07:11 -07:00
Christopher Jeffrey
25db4cfe45
minor. 2016-06-12 08:06:15 -07:00
Christopher Jeffrey
18ff108a77
mempool address methods. 2016-06-12 07:48:08 -07:00
Christopher Jeffrey
f313b43414
alert handling. 2016-06-12 02:25:58 -07:00
Christopher Jeffrey
08f5865e78
set misbehavior for inv and headers. 2016-06-12 01:50:24 -07:00
Christopher Jeffrey
9ccac80ad6
ec: refactor. 2016-06-12 00:41:56 -07:00
Christopher Jeffrey
8471ce165d
filter header sending. 2016-06-11 23:23:53 -07:00
Christopher Jeffrey
84a04b33e5
fees refactor. 2016-06-11 23:20:57 -07:00
Christopher Jeffrey
927fb9c555
refactor block sync. fix fees. 2016-06-11 23:06:37 -07:00
Christopher Jeffrey
59f06bb06c
start estimating fees. 2016-06-11 15:45:26 -07:00
Christopher Jeffrey
84c1ec45c9
whitespace 2016-06-10 23:48:11 -07:00
Christopher Jeffrey
d4571b56bd
reenable hash limit. 2016-06-10 19:06:14 -07:00
Christopher Jeffrey
f120d4d68a
check for negatives and zero in testTarget. 2016-06-10 18:26:18 -07:00
Christopher Jeffrey
aa355feb25
pool fix. 2016-06-10 16:59:47 -07:00
Christopher Jeffrey
68159daf46
add fee estimator. 2016-06-09 17:10:49 -07:00
Christopher Jeffrey
e12a8bb21c
lint. 2016-06-09 16:26:18 -07:00
Christopher Jeffrey
ca3dade3b1
update links. 2016-06-09 16:19:14 -07:00
Christopher Jeffrey
c84175dee1
refactor aes. 2016-06-09 16:16:49 -07:00
Christopher Jeffrey
610ecde401
mempool: tx deps. 2016-06-09 05:43:23 -07:00
Christopher Jeffrey
9ff5ee82e7
consensus change for segwit.
See https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-June/012747.html
2016-06-09 03:21:31 -07:00
Christopher Jeffrey
1984bc178c
bip151: add chacha20 and poly1305. 2016-06-09 02:18:37 -07:00
Christopher Jeffrey
2cbe8ff411
coins and input. 2016-06-08 16:02:44 -07:00
Christopher Jeffrey
4cd018c31a
fix sync. 2016-06-08 16:02:39 -07:00
Christopher Jeffrey
3289a9388d
minor. 2016-06-08 13:31:15 -07:00
Christopher Jeffrey
4b1f2e1db0
siphash: minor. 2016-06-08 13:20:23 -07:00
Christopher Jeffrey
ab94bf07b3
pool: minor. 2016-06-08 12:21:31 -07:00
Christopher Jeffrey
7791f7b21d
refactor pool. 2016-06-08 03:41:15 -07:00
Christopher Jeffrey
287d718d51
comment. 2016-06-07 18:04:11 -07:00
Christopher Jeffrey
a5fc00d4a6
add siphash. 2016-06-07 17:57:09 -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
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
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
Christopher Jeffrey
24ff3fe6d4
profiler. 2016-05-08 12:12:55 -07:00
Christopher Jeffrey
cb6b43f0b6
check for indextx. 2016-05-07 17:03:19 -07:00
Christopher Jeffrey
db1f34c00d
sigops. redeem testing. input type testing. 2016-05-07 07:34:48 -07:00
Christopher Jeffrey
692f2c7cf0
catch all parse errors. 2016-05-07 04:47:44 -07:00
Christopher Jeffrey
9bf1c6de13
comment 2016-05-07 04:32:33 -07:00
Christopher Jeffrey
0e91da7a33
comment 2016-05-07 03:44:06 -07:00
Christopher Jeffrey
f171bb0668
fix spv option check. 2016-05-07 03:38:13 -07:00
Christopher Jeffrey
8860eb5894
refactor chain args. 2016-05-07 03:35:52 -07:00
Christopher Jeffrey
d1aaaefda1
fix spv. 2016-05-07 03:21:03 -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
6fb0689ce4
worker debug. 2016-05-06 23:56:08 -07:00
Christopher Jeffrey
9b2d80098a
orphan fork and notfound. 2016-05-06 23:10:31 -07:00
Christopher Jeffrey
f11f4091f5
ignore orphans. 2016-05-06 22:54:32 -07:00
Christopher Jeffrey
080dfb3a9f
minor. 2016-05-06 22:48:51 -07:00
Christopher Jeffrey
7e3635bce6
minor. 2016-05-06 20:11:57 -07:00
Christopher Jeffrey
81c8eb5f5b
fix witness error type. 2016-05-06 16:42:33 -07:00
Christopher Jeffrey
6a482af6d0
coinbase flags. 2016-05-06 15:34:36 -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
5d1e3e1034
add txs to mempool before removing. 2016-05-06 13:56:40 -07:00
Christopher Jeffrey
2b2598a892
remove getHashRange. 2016-05-06 13:08:21 -07:00
Christopher Jeffrey
9301cf89a2
getLocator again. 2016-05-06 13:07:58 -07:00
Christopher Jeffrey
c5181c272b
getLocator. optimize height lookup. 2016-05-06 04:10:27 -07:00
Christopher Jeffrey
198aee6560
fixes. 2016-05-06 02:00:26 -07:00
Christopher Jeffrey
4d937e642a
drop old caching mechanism. 2016-05-05 19:48:59 -07:00
Christopher Jeffrey
5fd44dbed8
check sequence locks. 2016-05-05 19:41:14 -07:00
Christopher Jeffrey
e2bcbcaba5
cache, again. 2016-05-05 18:57:34 -07:00
Christopher Jeffrey
625fb729f5
state caching. 2016-05-05 18:54:18 -07:00
Christopher Jeffrey
4af0372ca8
fix timedata. 2016-05-05 17:47:29 -07:00
Christopher Jeffrey
efe04e528a
refactor. 2016-05-05 17:09:34 -07:00
Christopher Jeffrey
8e65b43d40
assert. 2016-05-05 06:25:10 -07:00
Christopher Jeffrey
98774d0c0b
make witness scripts abide by max_element_size again. 2016-05-05 06:24:09 -07:00
Christopher Jeffrey
f5b4bb2bf6
move extended tx serialization. 2016-05-05 05:25:40 -07:00
Christopher Jeffrey
fe18352a4c
no default timeout. 2016-05-05 04:56:57 -07:00
Christopher Jeffrey
cb29feada8
worker timeout and listeners. 2016-05-05 04:52:37 -07:00
Christopher Jeffrey
3ae754722d
chain. verify async. 2016-05-05 04:45:34 -07:00
Christopher Jeffrey
eea25052b6
refactor hash and address handling in wallet. 2016-05-05 04:30:45 -07:00
Christopher Jeffrey
079d82e80c
do not store unspendable coins. 2016-05-05 03:41:22 -07:00
Christopher Jeffrey
2faf8513c4
add adding state to chain. 2016-05-05 03:08:20 -07:00
Christopher Jeffrey
019617162c
do not allow negative compact numbers. 2016-05-05 01:18:08 -07:00
Christopher Jeffrey
4802f409ca
chain logs. 2016-05-04 22:18:31 -07:00
Christopher Jeffrey
df3b246d60
utils.btc 2016-05-04 17:57:16 -07:00
Christopher Jeffrey
477c4f5dbb
set height on genesis block. 2016-05-04 17:21:09 -07:00
Christopher Jeffrey
aefe60b6d4
assert. 2016-05-04 16:42:05 -07:00
Christopher Jeffrey
5eed6081c7
fix handleGetAddr. 2016-05-04 16:38:32 -07:00
Christopher Jeffrey
a4b1bc5a23
add rpc port constants. 2016-05-04 16:08:49 -07:00
Christopher Jeffrey
1b3d2ddaaa
only update network height on orphan. 2016-05-04 04:25:14 -07:00
Christopher Jeffrey
5dc4edbda5
minor. 2016-05-04 03:51:58 -07:00
Christopher Jeffrey
a370bd74ed
remove old FindAndDelete. 2016-05-04 01:07:33 -07:00
Christopher Jeffrey
51ebcf999b
faster FindAndDelete. 2016-05-04 01:06:34 -07:00
Christopher Jeffrey
e67a16c2bd
docs. minor. 2016-05-03 21:16:29 -07:00
Christopher Jeffrey
f69563346d
exit listener for worker. 2016-05-03 19:05:51 -07:00
Christopher Jeffrey
9aa1e9b8f1
minor. 2016-05-03 14:36:25 -07:00
Christopher Jeffrey
aac2f629d0
docs. 2016-05-03 03:56:07 -07:00
Christopher Jeffrey
a5ad8dcbfa
refactor workers. add web workers. 2016-05-03 02:58:55 -07:00
Christopher Jeffrey
3ee5137851
rename method. 2016-05-01 21:47:08 -07:00
Christopher Jeffrey
bba94d4aaa
env variables. 2016-05-01 21:19:25 -07:00
Christopher Jeffrey
703c9aec3c
refactor database layout. 2016-05-01 20:45:36 -07:00
Christopher Jeffrey
0f4a591665
script: minor. 2016-04-30 21:08:32 -07:00
Christopher Jeffrey
8d38178b30
more utils refactoring. 2016-04-30 20:06:26 -07:00
Christopher Jeffrey
30abc9bc25
minor. 2016-04-30 19:53:48 -07:00
Christopher Jeffrey
74a5a39bf7
refactor utils. 2016-04-30 19:50:12 -07:00
Christopher Jeffrey
22680ff235
aes for browser and potentially bip38. 2016-04-30 17:21:18 -07:00
Christopher Jeffrey
afee09a935
utils refactor. 2016-04-30 16:20:40 -07:00
Christopher Jeffrey
aa3579c8cd
aes. 2016-04-30 04:22:11 -07:00
Christopher Jeffrey
839f915fb7
comments. 2016-04-30 02:43:12 -07:00
Christopher Jeffrey
96139ad31c
faster mnemonic creation. 2016-04-30 02:04:49 -07:00
Christopher Jeffrey
27d5f2370b
fix unicode mnemonics. 2016-04-30 00:54:39 -07:00
Christopher Jeffrey
65f99b736b
minor refactor 2016-04-29 23:35:48 -07:00
Christopher Jeffrey
57ceeabd95
add script asm. 2016-04-29 21:45:18 -07:00
Christopher Jeffrey
0b8101b756
minor. 2016-04-29 21:04:52 -07:00
Christopher Jeffrey
d89bd13f09
move errors around. assert. 2016-04-29 18:17:48 -07:00
Christopher Jeffrey
06171c5779
cleanup bufferreader. 2016-04-29 17:15:21 -07:00
Christopher Jeffrey
383014e754
faster strings for bufferwriter. 2016-04-29 17:09:13 -07:00
Christopher Jeffrey
5ef65a4129
mnemonic. undo coins. 2016-04-29 16:49:47 -07:00
Christopher Jeffrey
90790ac675
refactor parsing. 2016-04-29 07:23:30 -07:00
Christopher Jeffrey
f6b42ae5f3
do not store lang. 2016-04-29 06:11:54 -07:00
Christopher Jeffrey
9814dc32f7
mnemonic refactor. 2016-04-29 06:02:31 -07:00
Christopher Jeffrey
8e9f0d1bf7
support other languages. 2016-04-29 05:53:40 -07:00
Christopher Jeffrey
1d8c9e7c99
mnemonic improvements. 2016-04-29 05:49:10 -07:00
Christopher Jeffrey
845a987e00
undo coins. 2016-04-29 02:48:12 -07:00
Christopher Jeffrey
8344879a16
docs. coin selection. 2016-04-29 00:21:34 -07:00
Christopher Jeffrey
dcacd5e11b
more accurate fee calculation. 2016-04-28 23:22:19 -07:00
Christopher Jeffrey
9468b00d1c
refactor. cleanup. 2016-04-28 23:01:34 -07:00
Christopher Jeffrey
e4921af906
comments. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
37218092ab
expose uri. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
270feadf74
move jsdoc types. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
214a78acbf
do not connect the genesis block. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
f2a35c46c2
fix findanddelete. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
62bab2bf32
O(n) sighashing. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
fbeefe03c7
more accurate sighashing. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
e258755671
stop using vsize. switch to cost. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
c312550429
add uri parsing. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
f27cde4159
sigop counting. consensus stuff. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
6e2b58c16d
script and reader. 2016-04-28 15:01:53 -07:00
Christopher Jeffrey
381e2c52b9
lru. 2016-04-28 15:01:53 -07:00
Mark Vayngrib
fb0e962f30 fix args normalization in getHeightRangeHashes 2016-04-25 17:02:47 -04:00
Christopher Jeffrey
51a39c3a52
cache window. 2016-04-21 14:28:46 -07:00
Christopher Jeffrey
dbf21b2538
pending limit. 2016-04-21 14:14:33 -07:00
Christopher Jeffrey
80c6c5975e
lru cache. coin cache. 2016-04-21 13:33:43 -07:00
Christopher Jeffrey
690f1629c3
FindAndDelete. misc cleanup. 2016-04-21 10:48:55 -07:00
Christopher Jeffrey
64b92ab073
better script inspection. 2016-04-20 14:12:54 -07:00
Christopher Jeffrey
c1fd8bb285
test. fix sigops counting. 2016-04-20 13:46:56 -07:00
Christopher Jeffrey
11ef30b942
refactor and comments/explanation. 2016-04-20 13:08:42 -07:00
Christopher Jeffrey
1168f55cef
put isBadPush in execute. 2016-04-20 09:23:39 -07:00
Christopher Jeffrey
1d8a86838d
new way of handling script parsing. 2016-04-20 09:17:58 -07:00
Christopher Jeffrey
91acf2a607
new script decoder. 2016-04-20 09:01:10 -07:00
Christopher Jeffrey
fcf5af802e
update isStandardProgram. 2016-04-20 04:20:25 -07:00
Christopher Jeffrey
6dd5b936ef
minor. 2016-04-20 03:53:11 -07:00
Christopher Jeffrey
50cc693ae8
minor. 2016-04-20 03:51:43 -07:00
Christopher Jeffrey
7301cf044e
increment total block count on alternate chains. 2016-04-20 03:42:49 -07:00
Christopher Jeffrey
c572e61bbb
drop purgePending call. 2016-04-20 03:39:34 -07:00
Christopher Jeffrey
9cd2e5438b
add alert tests. 2016-04-20 03:01:05 -07:00
Christopher Jeffrey
bddf3f6909
add "slow height". 2016-04-20 01:29:16 -07:00
Christopher Jeffrey
1e0394cc0b
another tx test. minor. 2016-04-20 01:08:13 -07:00
Christopher Jeffrey
50ab39aafb
more errors for scripting system. 2016-04-19 22:57:25 -07:00
Christopher Jeffrey
ce0c6f4fc7
accurate scripting error messages. 2016-04-19 21:43:40 -07:00
Christopher Jeffrey
4d7124830a
mempool requireStandard defaults and miner block version. 2016-04-19 21:07:53 -07:00
Christopher Jeffrey
c95681ae3f
add date and time functions. 2016-04-19 20:42:46 -07:00
Christopher Jeffrey
64813d3de1
fix ec verification for high s values on non-historical data. 2016-04-19 20:10:22 -07:00
Christopher Jeffrey
4456e468af
misc fixes. tx.toExtended. 2016-04-19 19:54:34 -07:00
Christopher Jeffrey
4cfc0daaad
use adjusted time for mining. 2016-04-19 12:14:43 -07:00
Christopher Jeffrey
6d7e81080e
refactor tests. 2016-04-19 12:00:27 -07:00
Christopher Jeffrey
0cfbaf91b5
fixes. 2016-04-19 11:54:46 -07:00
Christopher Jeffrey
ed6b1e9072
rename methods. 2016-04-19 11:50:56 -07:00
Christopher Jeffrey
63a9c44762
asserts. consistency. 2016-04-19 11:39:55 -07:00
Christopher Jeffrey
99d8f4d928
more hd refactoring. 2016-04-19 10:49:08 -07:00
Christopher Jeffrey
c8e771d05b
refactor hd. 2016-04-19 10:39:15 -07:00
Christopher Jeffrey
608fb8777e
do not handle negative zero for twos compliment. 2016-04-19 08:41:24 -07:00
Christopher Jeffrey
1e7e9a2aa7
handle negative outputs. serialize int64 correctly. 2016-04-19 07:36:05 -07:00
Christopher Jeffrey
5bf0824000
minor. 2016-04-19 06:19:51 -07:00
Christopher Jeffrey
ed5cee5ce7
rename adjusted time. 2016-04-19 06:11:13 -07:00
Christopher Jeffrey
a14299bdad
move adjusted time around. 2016-04-19 06:08:40 -07:00
Christopher Jeffrey
42ede54e94
fix adjusted time offset. 2016-04-19 05:53:06 -07:00
Christopher Jeffrey
8b3db92bbf
add limit for adjusted time. 2016-04-19 05:49:05 -07:00
Christopher Jeffrey
b9369412d2
implement GetAdjustedTime. 2016-04-19 05:47:47 -07:00
Christopher Jeffrey
53fb6dc8d5
some consensus stuff. 2016-04-19 03:05:42 -07:00
Christopher Jeffrey
81d2e1b700
passing bitcoind tx tests. 2016-04-19 03:05:35 -07:00
Christopher Jeffrey
59704b63c7
get bitcoind script tests passing. 2016-04-19 01:30:16 -07:00
Christopher Jeffrey
397e1f7d0b
more accurate removeData. 2016-04-18 21:50:09 -07:00
Christopher Jeffrey
2775382691
more accurate multisig. misc fixes. 2016-04-18 19:55:24 -07:00
Christopher Jeffrey
949f8684b0
fixes. 2016-04-18 17:33:03 -07:00
Christopher Jeffrey
f8d49f0653
more utils cleanup. 2016-04-18 01:11:02 -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
1ea23577e4
server. one hash. 2016-04-17 22:26:11 -07:00
Christopher Jeffrey
6fc3c15c77
minimaldata. 2016-04-17 21:16:44 -07:00
Christopher Jeffrey
ec5c548fe1
fix coinbase height. 2016-04-17 21:11:52 -07:00
Christopher Jeffrey
f4c991ab77
mutable scripts. 2016-04-17 21:02:43 -07:00
Christopher Jeffrey
a4f0807c50
strict scripting. 2016-04-17 19:34:03 -07:00
Christopher Jeffrey
ea7fb8f476
minor refactor. 2016-04-17 16:32:12 -07:00
Christopher Jeffrey
cdddf06458
drop legacy IBD check. 2016-04-17 16:06:23 -07:00
Christopher Jeffrey
87d985fcdb
constants. network. docs. 2016-04-17 15:58:12 -07:00
Christopher Jeffrey
0cbc9b7338
constants. 2016-04-17 15:09:24 -07:00
Christopher Jeffrey
dee60da2e2
chain accuracy. 2016-04-17 14:46:40 -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
69436cfd16
refactor network. 2016-04-17 10:41:48 -07:00
Christopher Jeffrey
4960e48b48
disabled opcodes fixes. 2016-04-17 08:45:37 -07:00
Christopher Jeffrey
0a621238ba
refactor: rename constants. 2016-04-17 08:45:22 -07:00
Christopher Jeffrey
ad11d33038
more accurate script interpretation. 2016-04-17 06:39:31 -07:00
Christopher Jeffrey
e96e09493d
comments. 2016-04-17 03:32:52 -07:00
Christopher Jeffrey
c8ba1aaa51
improve spv. fix preloading. 2016-04-17 03:19:10 -07:00
Christopher Jeffrey
45115995f6
verify partial merkle tree lazily. 2016-04-17 03:06:25 -07:00
Christopher Jeffrey
1c7d3082dc
types. do not mark compactblocks as valid. 2016-04-17 02:53:02 -07:00
Christopher Jeffrey
45ac59330e
docs. 2016-04-16 21:21:52 -07:00
Christopher Jeffrey
81e978f51a
fix docs. 2016-04-16 21:11:33 -07:00
Christopher Jeffrey
3f56375ad7
rename some files. 2016-04-16 20:59:32 -07:00
Christopher Jeffrey
5909b813cc
mark reorganized invalid blocks as invalid. 2016-04-16 20:53:47 -07:00
Christopher Jeffrey
1c1c34e6a4
refactor prune. 2016-04-16 20:49:00 -07:00
Christopher Jeffrey
a484d290d2
remove asserts. 2016-04-16 20:22:54 -07:00
Christopher Jeffrey
d9761fbe16
fix loop. 2016-04-16 20:19:36 -07:00
Christopher Jeffrey
9fd3bbb827
improve coin selection. 2016-04-16 20:04:38 -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
0d75c8a621
validate sidechain's inputs after a reorg instead of before. 2016-04-16 01:38:07 -07:00
Christopher Jeffrey
8efef35828
minor. 2016-04-15 16:24:33 -07:00
Christopher Jeffrey
fbc8af9d94
fix docs. 2016-04-15 08:01:03 -07:00
Christopher Jeffrey
cb27964b3b
fix profiler. 2016-04-15 07:54:29 -07:00
Christopher Jeffrey
26b3d92acf
docs fixes. 2016-04-15 07:50:08 -07:00
Christopher Jeffrey
67f35296b2
docs fixes. 2016-04-15 07:32:44 -07:00
Christopher Jeffrey
72e907f81e
more fixes. cleanup. 2016-04-15 06:44: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
d93be7b3d7
walletdb args. 2016-04-09 04:53:41 -07:00
Christopher Jeffrey
2d83ce9579
wallet fixes. 2016-04-09 04:21:41 -07:00
Christopher Jeffrey
800d17278e
sort txs. 2016-04-09 03:56:36 -07:00
Christopher Jeffrey
096f71ba1a
cleanup. 2016-04-09 03:48:28 -07:00
Christopher Jeffrey
c33a88fb9e
more accurate sigop counting. 2016-04-09 03:36:29 -07:00
Christopher Jeffrey
9e0aa7acbb
minor. 2016-04-09 01:19:32 -07:00
Christopher Jeffrey
646b3c3028
improve block.getVirtualSize. 2016-04-09 00:55:22 -07:00
Christopher Jeffrey
044d54e12e
add total balance. 2016-04-08 18:15:50 -07:00
Christopher Jeffrey
2a47abd98a
have node.sendTX add to mempool. 2016-04-08 18:03:17 -07:00
Christopher Jeffrey
a166450335
sync on confirmations. 2016-04-08 17:58:59 -07:00
Christopher Jeffrey
94f7bf000b
http: add to mempool and broadcast. 2016-04-08 17:50:47 -07:00
Christopher Jeffrey
5a24103f62
disable avoid fee sniping for now. 2016-04-08 16:37:04 -07:00
Christopher Jeffrey
8b156d246e
fixes. 2016-04-08 16:33:15 -07:00
Christopher Jeffrey
d70ec29f4a
fix typo. 2016-04-08 16:09:50 -07:00
Christopher Jeffrey
9e830c4666
hack: temporarily disable socketio. 2016-04-08 16:04:43 -07:00
Christopher Jeffrey
407782122c
fix getInputType. 2016-04-08 15:32:28 -07:00
Christopher Jeffrey
21cae4224c
block size. 2016-04-08 15:26:41 -07:00
Christopher Jeffrey
34341e8b50
fixes. up pending limit. 2016-04-08 15:20:00 -07:00
Christopher Jeffrey
9a0af8a591
use leveldown staging. 2016-04-08 14:55:54 -07:00
Christopher Jeffrey
7c725c40aa
minor. 2016-04-08 14:42:09 -07:00
Christopher Jeffrey
61ea825ffe
move lowlevelup.js. 2016-04-07 22:00:59 -07:00
Christopher Jeffrey
d1d92b9b64
locker. options. 2016-04-07 14:30:52 -07:00
Christopher Jeffrey
1898b38c49
db option. 2016-04-07 03:03:28 -07:00
Christopher Jeffrey
a3720bd42d
more accurate segwit4 verification. misc. 2016-04-07 02:03:38 -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
12860920ea
readme. 2016-04-06 05:01:41 -07:00
Christopher Jeffrey
40cabd37fc
miner. 2016-04-05 18:49:20 -07:00
Christopher Jeffrey
9356a40e62 refactor. 2016-04-05 16:23:57 -07:00
Christopher Jeffrey
1afb9dbc27 minor. 2016-04-05 05:04:54 -07:00
Christopher Jeffrey
141dbcb65e cleanup 2016-04-05 02:58:53 -07:00
Christopher Jeffrey
86312d9241 more refactoring. 2016-04-04 23:53:05 -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
6062f1ce94 more refactoring. 2016-04-04 16:39:02 -07:00
Christopher Jeffrey
a8a506aae0 more refacting. 2016-04-04 16:08:37 -07:00
Christopher Jeffrey
e22d0c56b0 read hashes as hex. 2016-04-04 15:26:00 -07:00
Christopher Jeffrey
9e61d0ee86 refactor. 2016-04-04 14:07:16 -07:00
Christopher Jeffrey
79aa613662 refactor. 2016-04-04 02:53:55 -07:00
Christopher Jeffrey
c874b9f2af fail on large invs. 2016-04-04 00:23:45 -07:00
Christopher Jeffrey
8e06d737a4 fix miner. 2016-04-04 00:18:18 -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
8124b4de44 bst options. 2016-04-03 06:37:20 -07:00
Christopher Jeffrey
3f0ac32334 add connect method. 2016-04-03 06:11:30 -07:00
Christopher Jeffrey
ecaec7b5d9 fix script.array. 2016-04-03 05:47:06 -07:00
Christopher Jeffrey
f3b8b4cd80 fix createCommitment. 2016-04-03 05:23:30 -07:00
Christopher Jeffrey
1e0b585f10 do not allow coinbases in mempool on reorgs. 2016-04-03 05:11:38 -07:00
Christopher Jeffrey
fd6b315756 refactor. miner fixes. 2016-04-03 04:48:02 -07:00
Christopher Jeffrey
24060f04bb fix and improve miner. 2016-04-03 04:11:26 -07:00
Christopher Jeffrey
b26961d68a prevent infinite loop on circular references. 2016-04-03 03:32:27 -07:00
Christopher Jeffrey
c3e45a2a53 fix for locker. 2016-04-03 03:22:04 -07:00
Christopher Jeffrey
f45f3b1380 do not preload before chaindb is open. 2016-04-03 03:18:51 -07:00
Christopher Jeffrey
ad7ef10343 fix implicit global var in bst. 2016-04-03 03:05:08 -07:00
Christopher Jeffrey
2163e3965e minor. 2016-04-03 03:03:13 -07:00
Christopher Jeffrey
d329d6e92f add batch.clear to bst. 2016-04-03 03:02:19 -07:00
Christopher Jeffrey
32e94429d3 fix getLocks and wallet zapping. 2016-04-03 02:13:36 -07:00
Christopher Jeffrey
187137262e spvnode. readme. 2016-04-03 01:34:30 -07:00
Christopher Jeffrey
d87e301986 mempool. 2016-04-03 00:15:02 -07:00
Christopher Jeffrey
9b4f00ccfe rename mempool. 2016-04-02 23:12:41 -07:00
Christopher Jeffrey
0e831555b2 remove sync mempool. 2016-04-02 23:12:13 -07:00
Christopher Jeffrey
a58b566c69 switch back to leveldown mempool. 2016-04-02 23:12:01 -07:00
Christopher Jeffrey
eda31da3ea add a bst for mempool. 2016-04-02 21:23:54 -07:00
Christopher Jeffrey
ec5175ec9e minor. 2016-04-02 14:27:11 -07:00
Christopher Jeffrey
fca8778d35 minor. 2016-04-02 04:32:45 -07:00
Christopher Jeffrey
47160c1cfe parsing and serialization. 2016-04-02 04:12:50 -07:00
Christopher Jeffrey
8289544b81 fixes. 2016-04-01 22:12:05 -07:00
Christopher Jeffrey
4f03675b9f remotely add and remove keys. 2016-04-01 22:01:13 -07:00
Christopher Jeffrey
73832de55f bloom refactor. 2016-04-01 21:25:48 -07:00
Christopher Jeffrey
c9bdad9bdf hd rewrite. 2016-04-01 21:19:46 -07:00
Christopher Jeffrey
2dede909c3 hd. bcoin-cli. 2016-04-01 19:02:08 -07:00
Christopher Jeffrey
c030d2480d more http. 2016-04-01 17:02:14 -07:00
Christopher Jeffrey
d83a68523e http. 2016-04-01 15:34:40 -07:00
Christopher Jeffrey
90aa2d81a6 more base58. 2016-04-01 14:40:56 -07:00
Christopher Jeffrey
4af5ba2574 base58: minor. 2016-04-01 14:35:29 -07:00
Christopher Jeffrey
f3b7aee6fe throw error on bad base58. 2016-04-01 07:06:35 -07:00
Christopher Jeffrey
bbf7748fbe drop old base58 functions. 2016-04-01 06:36:55 -07:00
Christopher Jeffrey
e17e36d1a0 clean up base58. 2016-04-01 06:03:56 -07:00
Christopher Jeffrey
42e12f312f faster base58. 2016-04-01 05:13:47 -07:00
Christopher Jeffrey
9e0adcfec1 http. 2016-04-01 04:05:54 -07:00
Christopher Jeffrey
03589f1df1 fix countAncestors and fix fork warning. 2016-04-01 01:37:52 -07:00
Christopher Jeffrey
4d30c9428a fix binary index. 2016-04-01 01:12:22 -07:00
Christopher Jeffrey
3dddfcf7ea more mempool work. 2016-04-01 00:57:26 -07:00
Christopher Jeffrey
39417424a2 refactor. 2016-03-31 23:18:57 -07:00
Christopher Jeffrey
74b9b68f4c minor. 2016-03-31 22:02:58 -07:00
Christopher Jeffrey
bba77b4150 more mempool work. 2016-03-31 22:00:00 -07:00
Christopher Jeffrey
703a89cc59 more mempool work. 2016-03-31 20:39:47 -07:00
Christopher Jeffrey
46bbde9af7 mempool work. 2016-03-31 20:25:25 -07:00
Christopher Jeffrey
c30d19d3e0 in memory mempool. 2016-03-31 19:24:54 -07:00
Christopher Jeffrey
819c63b9b7 expose zapping. 2016-03-31 16:32:09 -07:00
Christopher Jeffrey
8346cccbcb balance. http. 2016-03-31 16:17:10 -07:00
Christopher Jeffrey
b0e6826232 txdb. 2016-03-31 14:36:39 -07:00
Christopher Jeffrey
3031c4cd5c no changeindex. 2016-03-31 07:06:28 -07:00
Christopher Jeffrey
4f86c86312 changeIndex in extended format. 2016-03-31 07:04:31 -07:00
Christopher Jeffrey
bb34a80f9d fix tx.toExtended. 2016-03-31 07:03:34 -07:00
Christopher Jeffrey
dda07e8eab minor. 2016-03-31 06:56:49 -07:00
Christopher Jeffrey
018ce13815 even more size calculation. 2016-03-31 06:45:53 -07:00
Christopher Jeffrey
6c69914da5 better maxSize calculation. 2016-03-31 05:46:31 -07:00
Christopher Jeffrey
3242f39972 more fill errors. refactor. 2016-03-31 05:29:09 -07:00
Christopher Jeffrey
f7bdcfdfb2 clone mtx properly. 2016-03-31 05:24:10 -07:00
Christopher Jeffrey
5cab304a59 more coin selection. 2016-03-31 05:14:54 -07:00
Christopher Jeffrey
e907f35267 coin selection. 2016-03-31 04:56:16 -07:00
Christopher Jeffrey
399052d95a fee calculation. 2016-03-31 04:47:41 -07:00
Christopher Jeffrey
af4e9921b9 priority calculation. 2016-03-31 04:29:48 -07:00
Christopher Jeffrey
fec9f2e308 verify pubkey. 2016-03-31 03:55:47 -07:00
Christopher Jeffrey
fb370eda1c mempool. fix sigop counting. 2016-03-31 03:38:28 -07:00
Christopher Jeffrey
a110ddab27 script json. 2016-03-31 02:55:19 -07:00
Christopher Jeffrey
d158918a14 script parsing. 2016-03-31 02:44:59 -07:00
Christopher Jeffrey
b084913680 refactor. script encoding checks. 2016-03-31 02:31:09 -07:00
Christopher Jeffrey
2b5c1369da refactor. strict isscripthash. 2016-03-31 02:08:11 -07:00
Christopher Jeffrey
7b1af73c46 address parsing. 2016-03-31 01:54:07 -07:00
Christopher Jeffrey
82ee87c0f5 refactor. 2016-03-31 01:04:30 -07:00
Christopher Jeffrey
1dc15922f6 segwit mining. 2016-03-31 00:30:46 -07:00
Christopher Jeffrey
b1d53adb6a locks. reject. 2016-03-30 22:47:31 -07:00
Christopher Jeffrey
17d2f1586b refactor. 2016-03-30 19:52:32 -07:00
Christopher Jeffrey
f62ceb8515 segnet4 2016-03-30 19:15:30 -07:00
Christopher Jeffrey
9b4e363a80 more chain refactoring. 2016-03-30 17:32:39 -07:00
Christopher Jeffrey
4d2d9b328c verify error refactor. 2016-03-30 16:21:56 -07:00
Christopher Jeffrey
945c2f9564 more standardness. 2016-03-30 14:43:06 -07:00
Christopher Jeffrey
0720c6c64a accurate hasStandardInputs. 2016-03-30 14:22:02 -07:00
Christopher Jeffrey
ae2a5fb702 chain.add: minor. 2016-03-30 05:17:10 -07:00
Christopher Jeffrey
9f88173881 chain refactoring. 2016-03-30 04:50:29 -07:00
Christopher Jeffrey
b352bfbe3d handle forks better. 2016-03-30 04:15:33 -07:00
Christopher Jeffrey
d2767e4e34 refactoring. 2016-03-30 04:13:26 -07:00
Christopher Jeffrey
359cef93a0 refactor. framer sizes. 2016-03-29 20:47:21 -07:00
Christopher Jeffrey
498944781e remove datastore and tx-pool.js 2016-03-29 19:31:26 -07:00
Christopher Jeffrey
6655e57053 refactor maps. 2016-03-29 19:20:10 -07:00
Christopher Jeffrey
126fb72644 fixes. refactor. 2016-03-29 18:08:33 -07:00
Christopher Jeffrey
dffff280f7 api 2016-03-29 17:54:54 -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
00e7fcc1ad script parsing. 2016-03-29 15:21:48 -07:00
Christopher Jeffrey
caf52c0579 refactor. close methods. 2016-03-29 13:25:03 -07:00
Christopher Jeffrey
3d6892cbe9 mempool. constants. 2016-03-29 00:43:05 -07:00
Christopher Jeffrey
ea4d0dee03 opcodes. 2016-03-28 19:45:22 -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
a598a4850c no strings in scripting. 2016-03-28 16:50:59 -07:00
Christopher Jeffrey
2c9756f38b txdb orphan storage. 2016-03-28 15:45:47 -07:00
Christopher Jeffrey
2e0948faa5 network.height. 2016-03-28 15:26:02 -07:00
Christopher Jeffrey
46a47b5bf2 miner needs some love. 2016-03-28 14:05:16 -07:00
Christopher Jeffrey
af6ac736bf consistent naming. 2016-03-28 13:22:31 -07:00
Christopher Jeffrey
96a92ae29b witness parsing. 2016-03-28 12:29:00 -07:00
Christopher Jeffrey
aff7c0e360 check sequence locks in mempool. 2016-03-28 03:18:44 -07:00
Christopher Jeffrey
e89ed67843 script errors. 2016-03-27 19:18:39 -07:00
Christopher Jeffrey
e9c0e24b21 more parsing. 2016-03-27 18:52:26 -07:00
Christopher Jeffrey
30148368a8 parsing. 64 bit ints. 2016-03-27 14:56:57 -07:00
Christopher Jeffrey
e1fd556ff6 misc. alert. 2016-03-27 13:57:35 -07:00
Christopher Jeffrey
85af68d2ef use native buffer methods if possible. 2016-03-26 06:11:58 -07:00
Christopher Jeffrey
661bd06e3e http. 2016-03-26 05:33:07 -07:00
Christopher Jeffrey
19f2af16d4 script: pushdata. 2016-03-26 05:27:05 -07:00
Christopher Jeffrey
430e917b79 mempool. 2016-03-26 05:11:37 -07:00
Christopher Jeffrey
5912d65fa8 fix mempool.countAncestors. 2016-03-26 05:06:07 -07:00
Christopher Jeffrey
55957c2271 refactor. test for segwitActive. 2016-03-26 05:01:23 -07:00
Christopher Jeffrey
63421ec411 only asign hidden values for nonstandard pushes. 2016-03-26 04:21:01 -07:00
Christopher Jeffrey
e5c353f083 script hashes. 2016-03-26 03:57:56 -07:00
Christopher Jeffrey
6194c66d8f mempool work. accurate reject messages. 2016-03-26 03:37:06 -07:00
Christopher Jeffrey
37c488c802 txdb and mempool work. 2016-03-26 01:29:04 -07:00
Christopher Jeffrey
e205c70f97 mempool. txdb. 2016-03-25 20:02:23 -07:00
Christopher Jeffrey
a52d62a71e varint. 2016-03-25 16:32:15 -07:00
Christopher Jeffrey
adb95e2a3a buffer reader. 2016-03-25 15:48:44 -07:00
Christopher Jeffrey
62a7dba556 rename intv. 2016-03-25 15:31:43 -07:00
Christopher Jeffrey
569016e752 refactor. numbers. 2016-03-25 15:17:43 -07:00
Christopher Jeffrey
6c238c844f refactor. coin/utxo. 2016-03-25 13:00:11 -07:00
Christopher Jeffrey
c91cf7571b refactor. 2016-03-25 02:07:47 -07:00
Christopher Jeffrey
513fe6b196 ldb 2016-03-24 19:17:47 -07:00
Christopher Jeffrey
2a75a39849 writeu64n 2016-03-24 17:20:18 -07:00
Christopher Jeffrey
6ce950d081 duck typing. 2016-03-24 14:18:24 -07:00
Christopher Jeffrey
1db0954c83 misc. 2016-03-24 03:45:00 -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
Christopher Jeffrey
cf9a62a75b coins and coinview. 2016-03-23 17:44:28 -07:00
Christopher Jeffrey
6d5e277629 reject packets. pool refactor. 2016-03-23 15:46:07 -07:00
Christopher Jeffrey
5023c7efe4 add locker. refactor. 2016-03-23 03:52:11 -07:00
Christopher Jeffrey
3efdc904e7 refactor. tests. 2016-03-22 19:52:33 -07:00
Christopher Jeffrey
0b1b6fdb33 remove old parser. 2016-03-22 19:28:36 -07:00
Christopher Jeffrey
baf5e50016 recursive worker packet parsing. 2016-03-22 19:25:50 -07:00
Christopher Jeffrey
f0bf9c8602 mempool 2016-03-22 19:24:56 -07:00
Christopher Jeffrey
b4d40ca098 minor refactor. 2016-03-22 18:14:19 -07:00
Christopher Jeffrey
17df9b41ce more mempool stuff. 2016-03-22 17:36:58 -07:00
Christopher Jeffrey
43923e3201 use bn.toBuffer. 2016-03-21 21:57:20 -07:00
Christopher Jeffrey
304bd9f786 more parsing. 2016-03-21 21:47:21 -07:00
Christopher Jeffrey
f564ef5735 more parsing. 2016-03-21 21:22:03 -07:00
Christopher Jeffrey
ce0294f4bf remove json parsing. 2016-03-21 21:15:05 -07:00
Christopher Jeffrey
5e10d28e82 remove old parsing method. 2016-03-21 21:09:41 -07:00
Christopher Jeffrey
c543d205c0 workers parsing. 2016-03-21 21:06:29 -07:00
Christopher Jeffrey
b792976586 fixes. refactor. 2016-03-21 18:41:06 -07:00
Christopher Jeffrey
eb569ae12d add locks to txdb. 2016-03-21 17:31:24 -07:00
Christopher Jeffrey
2797cd2f44 rewrite mempool. 2016-03-21 16:29:02 -07:00
Christopher Jeffrey
d7bb115609 experiment with workers for tx verification. 2016-03-21 05:54:57 -07:00
Christopher Jeffrey
59777baf71 fixes for script and tx. 2016-03-21 05:54:34 -07:00
Christopher Jeffrey
93efe376a6 refactor. isSigned. 2016-03-21 02:16:56 -07:00
Christopher Jeffrey
0e15723acd refactor. fixes. 2016-03-20 10:55:37 -07:00
Christopher Jeffrey
6136434959 refactor. 2016-03-20 09:19:43 -07:00
Christopher Jeffrey
a019e9cfc7 remove debug code. 2016-03-19 13:13:49 -07:00
Christopher Jeffrey
5153e0e1f0 cleanup. 2016-03-19 10:03:55 -07:00
Christopher Jeffrey
bd54b42dc4 fixing memleak. so far so good. 2016-03-19 09:36:16 -07:00
Christopher Jeffrey
6fdfd2ab6b more db wrapper improvements. 2016-03-19 08:56:50 -07:00
Christopher Jeffrey
800f5a5448 db wrapper. fix memleak. consistency. 2016-03-19 08:24:22 -07:00
Christopher Jeffrey
131e546fb3 fix backend selection. 2016-03-19 00:49:56 -07:00
Christopher Jeffrey
aaafe6eeb7 db backend. 2016-03-18 21:47:05 -07:00
Christopher Jeffrey
d690c9ea5a ldb. 2016-03-18 20:12:34 -07:00
Christopher Jeffrey
4f805ce52a lru. buffer reader zeroCopy. utils.wrap. 2016-03-18 20:12:17 -07:00
Christopher Jeffrey
ca4fe76fae remove old half-assed versionbits. 2016-03-15 16:38:33 -07:00
Christopher Jeffrey
d009b1cf48 raw tx. 2016-03-15 15:54:02 -07:00
Christopher Jeffrey
7b3fffb26c cleanup. 2016-03-15 15:27:14 -07:00
Christopher Jeffrey
836a2357d6 more parsing. 2016-03-15 15:18:16 -07:00
Christopher Jeffrey
f5142046a9 destroy buffers. 2016-03-15 15:05:58 -07:00
Christopher Jeffrey
e31a4527b4 fix sighash v1. 2016-03-15 15:01:31 -07:00
Christopher Jeffrey
89a8329a76 fix port. packets. 2016-03-15 14:59:17 -07:00
Christopher Jeffrey
c1aeb5c07f fix sighash. 2016-03-15 14:46:58 -07:00
Christopher Jeffrey
1b3eb64998 more writers and readers. 2016-03-15 14:44:37 -07:00
Christopher Jeffrey
41eab6e27c sighashing. 2016-03-15 14:14:53 -07:00
Christopher Jeffrey
b356790136 move reader and writer. 2016-03-15 13:48:36 -07:00
Christopher Jeffrey
5fb16d29e6 refactor. 2016-03-15 13:31:54 -07:00
Christopher Jeffrey
3495b6fbf9 more linting. 2016-03-15 05:01:48 -07:00
Christopher Jeffrey
5da21fd6e8 new script.js. 2016-03-15 05:00:15 -07:00
Christopher Jeffrey
f0edd2c944 remove old script.js. 2016-03-15 04:59:52 -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
8edebc8bb5 remove old preload. 2016-03-15 03:31:30 -07:00
Christopher Jeffrey
4b1e055a05 script encoding. 2016-03-15 03:00:36 -07:00
Christopher Jeffrey
94b20355ea more framing and parsing. 2016-03-15 02:36:55 -07:00
Christopher Jeffrey
c1a9655943 framer using bufferwriter. 2016-03-15 01:51:02 -07:00
Christopher Jeffrey
6e6b1bd054 buffer writer. 2016-03-15 00:56:11 -07:00
Christopher Jeffrey
3953f392f6 peer version handling. 2016-03-14 22:21:28 -07:00
Christopher Jeffrey
1da30562c4 not framing witness txs correctly. 2016-03-14 21:36:49 -07:00
Christopher Jeffrey
38ce14270a witness improvements. 2016-03-14 21:09:04 -07:00
Christopher Jeffrey
30f4a0e7ec add script2.js 2016-03-14 20:44:26 -07:00
Christopher Jeffrey
0f296394a5 add witness object. 2016-03-14 20:33:15 -07:00
Christopher Jeffrey
b528965912 new scripting system. 2016-03-14 19:45:11 -07:00
Christopher Jeffrey
bf8475afe1 buffer writer. buffer reader. 2016-03-14 16:04:28 -07:00
Christopher Jeffrey
d0a5ae7aa4 no slices. 2016-03-14 13:51:44 -07:00
Christopher Jeffrey
00dfad25da memleak work. 2016-03-14 13:25:02 -07:00
Christopher Jeffrey
18145ad541 datastore fixes. 2016-03-13 17:49:12 -07:00
Christopher Jeffrey
b88fc5b0ed cleanup chaindb. 2016-03-13 04:40:07 -07:00
Christopher Jeffrey
39265bfb6b chaindb. 2016-03-13 04:23:04 -07:00
Christopher Jeffrey
68e40200e2 framer and datastore. 2016-03-13 04:02:48 -07:00
Christopher Jeffrey
f4a1ca3eaf better pruning. use datastore only in node. 2016-03-12 06:07:42 -08:00
Christopher Jeffrey
bb306c3547 better pruning. data store improvements. 2016-03-12 04:59:56 -08:00
Christopher Jeffrey
f79d2cfa89 experimental flat file datastore. 2016-03-12 02:58:01 -08:00
Christopher Jeffrey
3564052340 disconnection fix. 2016-03-11 23:17:33 -08:00
Christopher Jeffrey
ac266fc295 options. 2016-03-11 23:09:07 -08:00
Christopher Jeffrey
fb6787e5ed fix pruning. 2016-03-11 23:01:05 -08:00
Christopher Jeffrey
9b90111a0a refactor. 2016-03-11 22:58:01 -08:00
Christopher Jeffrey
dc05362ad1 remove blockdb. 2016-03-11 22:53:03 -08:00
Christopher Jeffrey
908ddc8254 cleanup. 2016-03-11 22:47:55 -08:00
Christopher Jeffrey
8f85f0b5c9 chaindb. 2016-03-11 15:53:15 -08:00
Christopher Jeffrey
2c861aff82 implement pruning. 2016-03-11 02:00:44 -08:00
Christopher Jeffrey
4f0289f5ab use global ldb cache. 2016-03-10 18:33:02 -08:00
Christopher Jeffrey
ef3519761c lru. blockdb. 2016-03-10 16:46:37 -08:00
Christopher Jeffrey
f09a4dc8f7 blockdb improvements. 2016-03-10 14:39:37 -08:00
Christopher Jeffrey
419ba83058 refactor. drop dumbcache. 2016-03-10 14:14:19 -08:00
Christopher Jeffrey
7058611456 improve hd key perf. 2016-03-10 14:06:49 -08:00
Christopher Jeffrey
28e105c16e avoid using pbkdf2 when loading wallet. improve spvnode. 2016-03-10 03:25:48 -08:00
Christopher Jeffrey
c844cf1c4b move nodes around. 2016-03-10 02:40:33 -08:00
Christopher Jeffrey
c2aa7b3727 more http things. 2016-03-10 02:33:53 -08:00
Christopher Jeffrey
ed420e0769 move http. add request module. 2016-03-09 15:19:51 -08:00
Christopher Jeffrey
cee8b65989 http features. 2016-03-09 15:11:36 -08:00
Christopher Jeffrey
9f56efe0d7 more chainblock refactoring. 2016-03-08 14:36:01 -08:00
Christopher Jeffrey
27214676bc chainblock methods. 2016-03-08 13:47:41 -08:00
Christopher Jeffrey
7c6f71b785 chainblock methods. version bits deployment checking. 2016-03-08 02:12:21 -08:00
Christopher Jeffrey
adeee1eb67 checksequenceverify. scripting improvements. 2016-03-07 23:08:47 -08:00
Christopher Jeffrey
3dc0f4d412 checksequenceverify. 2016-03-07 21:55:26 -08:00
Christopher Jeffrey
aa101a16e8 misc improvements. 2016-03-07 19:00:03 -08:00
Christopher Jeffrey
862a412418 drop references to block buffer. less mem usage. fixes. 2016-03-07 16:56:43 -08:00
Christopher Jeffrey
0104aae9c0 witness json. 2016-03-06 12:43:47 -08:00
Christopher Jeffrey
c2baa09b1f more serialization. 2016-03-06 12:36:07 -08:00
Christopher Jeffrey
132798e898 rename toSmall/fromSmall. 2016-03-06 12:30:19 -08:00
Christopher Jeffrey
c9d8ae9f4a more serialization. 2016-03-06 12:22:59 -08:00
Christopher Jeffrey
2b1a822823 drop toCompact/fromCompact. 2016-03-06 12:09:59 -08:00
Christopher Jeffrey
cc1f423e3f cleanup address handling in blockdb. 2016-03-06 12:02:16 -08:00
Christopher Jeffrey
b5f8f7291a db refactor. 2016-03-06 11:56:50 -08:00
Christopher Jeffrey
40f9c62b6e request timeout. 2016-03-06 11:41:24 -08:00
Christopher Jeffrey
960ede9db4 fix syncHeight. 2016-03-06 11:22:13 -08:00
Christopher Jeffrey
2d028bb4b4 version packet handling. 2016-03-06 11:20:35 -08:00
Christopher Jeffrey
786aed49dd throw if async callback is executed twice. 2016-03-06 02:15:56 -08:00
Christopher Jeffrey
99f927665a timeouts. 2016-03-06 02:08:32 -08:00
Christopher Jeffrey
f24d4aa938 more code cleanup. 2016-03-06 02:00:53 -08:00
Christopher Jeffrey
9c64b62078 remove old code. 2016-03-06 01:58:43 -08:00