Commit Graph

4242 Commits

Author SHA1 Message Date
Mokhtar Naamani
e1147cdf3d pool: fix BroadcastItem multiple reject methods 2017-01-25 21:20:16 +02:00
Christopher Jeffrey
64114460ad
socks: refactor addr parsing. 2017-01-25 02:31:40 -08:00
Christopher Jeffrey
00dccf0d5d
socks: minor. 2017-01-25 02:01:45 -08:00
Christopher Jeffrey
c6aad6448c
socks: error handling. 2017-01-25 01:20:58 -08:00
Christopher Jeffrey
b8cd9893fb
net: fix socket and dns callbacks. 2017-01-24 18:34:01 -08:00
Christopher Jeffrey
32fd1d6dba
dns: fix tor resolution. 2017-01-24 18:30:47 -08:00
Christopher Jeffrey
5073c1508f
net: tor support for outgoing conns. 2017-01-24 18:25:44 -08:00
Christopher Jeffrey
5288e8a619
socks: refactor errors. 2017-01-24 18:21:41 -08:00
Christopher Jeffrey
3a0b7d07d3
socks: fix no auth and proxying. 2017-01-24 06:03:27 -08:00
Christopher Jeffrey
a87484f2e8
socks: misc fixes. 2017-01-24 05:17:52 -08:00
Christopher Jeffrey
0de1302ca9
socks: fix state handling. 2017-01-24 03:58:18 -08:00
Christopher Jeffrey
6c9dd723cd
net: add socks proxy. 2017-01-24 03:52:08 -08:00
Mokhtar Naamani
38e5a0f615 add option to disable bip69 in Wallet.send 2017-01-24 10:10:25 +02:00
Christopher Jeffrey
b8324e0b09
ip: rename some functions. 2017-01-23 23:08:21 -08:00
Christopher Jeffrey
07c3177227
ip: better tor support. 2017-01-23 22:44:17 -08:00
Christopher Jeffrey
2c0f8ce226
peer: block type fix for compact blocks. 2017-01-23 21:23:01 -08:00
Christopher Jeffrey
caf8043dcb
peer: fix handleDrain. 2017-01-23 21:21:05 -08:00
Christopher Jeffrey
592191c44c
peer: less aggresive stall behavior. 2017-01-23 20:43:17 -08:00
Christopher Jeffrey
cfeafb6273
net: wait for peer drain on block serving. 2017-01-23 20:30:02 -08:00
Christopher Jeffrey
658120de6d
netaddr: fix isIPv6. 2017-01-23 19:58:06 -08:00
Christopher Jeffrey
e6dd78abe1
minor: lint. 2017-01-23 19:43:19 -08:00
Christopher Jeffrey
016d0da096
ip/netaddress: better ip parsing. 2017-01-23 19:36:19 -08:00
Christopher Jeffrey
2d49e38580
chain: coin cache. 2017-01-23 15:18:25 -08:00
Christopher Jeffrey
2a6ee729a0
pool: disable bip37 by default. 2017-01-23 15:06:20 -08:00
Christopher Jeffrey
c6b439f21c
chain/pool: remove witness option. 2017-01-23 14:51:40 -08:00
Christopher Jeffrey
1e9ebcc0d1
config: cleanup. 2017-01-23 13:44:11 -08:00
Christopher Jeffrey
c44fc3bcef
pool: disable checkpoints properly. rename prop for consistency. 2017-01-23 13:40:29 -08:00
Christopher Jeffrey
e7413aabb7
chain/pool: disable checkpoints on checkpoint failure. see #121. 2017-01-23 13:25:01 -08:00
Christopher Jeffrey
77032f758d
chain: different checkpoints handling. 2017-01-23 12:41:07 -08:00
Christopher Jeffrey
3374bffd14
invitem: rename witness flag for consistency. 2017-01-23 05:34:05 -08:00
Christopher Jeffrey
30ab5c2a88
http/pool: more options fixes. 2017-01-23 03:58:47 -08:00
Christopher Jeffrey
dc9f31f36f
pool: fix port for options. 2017-01-23 03:50:54 -08:00
Christopher Jeffrey
a52db227e3
network: fix/improve some chain params. 2017-01-23 03:42:50 -08:00
Christopher Jeffrey
cbb45db801
config: rename useCheckpoints. allow implicit noAuth on localhost. 2017-01-23 03:19:19 -08:00
Christopher Jeffrey
2fdbdfc087
network: remove witness field. 2017-01-23 03:03:38 -08:00
Christopher Jeffrey
86b7292c4a
node: enable workers by default. throw warnings if native bindings were not built. 2017-01-22 20:39:42 -08:00
Christopher Jeffrey
e32f521a43
packets: limit chain locators. 2017-01-22 20:05:07 -08:00
Christopher Jeffrey
00f24dc11e
peer: minor. change log level. 2017-01-22 19:57:37 -08:00
Christopher Jeffrey
1a2f29a360
walletdb: improve global resend. 2017-01-22 15:25:33 -08:00
Christopher Jeffrey
25899827fd
net: remove noDiscovery. exempt bip150 packets from lock. 2017-01-22 14:48:03 -08:00
Christopher Jeffrey
33fbdff127
mtx: call TX.getJSON in MTX.toJSON. see #120. 2017-01-22 14:41:11 -08:00
Christopher Jeffrey
6cca0aac1c
pool: minor fixes. 2017-01-21 17:27:15 -08:00
Christopher Jeffrey
d516035473
pool: minor. 2017-01-21 17:06:10 -08:00
Christopher Jeffrey
6e13fe57c0
pool: refactor header sync. 2017-01-21 16:59:20 -08:00
Christopher Jeffrey
219671c620
pool: do not emit tx if we have a mempool. 2017-01-21 15:38:39 -08:00
Christopher Jeffrey
51a25bf15f
net/nodeclient: always resend bloom filter. see #119. 2017-01-21 15:20:03 -08:00
Christopher Jeffrey
39b941516d
chainentry: minor. 2017-01-21 14:40:51 -08:00
Christopher Jeffrey
f3f585defc
pool: cleanup. 2017-01-21 13:59:13 -08:00
Christopher Jeffrey
b212eed282
net: handle public ip and port better. 2017-01-21 13:56:41 -08:00
Christopher Jeffrey
dc839062bf
pool: minor. 2017-01-21 13:20:44 -08:00
Christopher Jeffrey
545c0004e9
pool: minor. 2017-01-21 13:07:49 -08:00
Christopher Jeffrey
be4145e163
pool/peer: fixes. cleanup. 2017-01-21 13:03:53 -08:00
Christopher Jeffrey
58f8035add
pool: noncelist. 2017-01-21 12:57:01 -08:00
Christopher Jeffrey
f67eeee936
pool: minor. 2017-01-21 05:22:46 -08:00
Christopher Jeffrey
518a113e97
pool: fix error. 2017-01-21 05:19:53 -08:00
Christopher Jeffrey
44201193e8
pool: noncelist. 2017-01-21 05:18:18 -08:00
Christopher Jeffrey
3abfdb3770
pool: cleanup. 2017-01-21 04:15:16 -08:00
Christopher Jeffrey
9d580289ab
rpc: fix peer.hostname. 2017-01-21 04:12:39 -08:00
Christopher Jeffrey
59e73b24ca
parser: minor. 2017-01-21 03:56:30 -08:00
Christopher Jeffrey
4008caff51
peer: minor. 2017-01-21 03:49:44 -08:00
Christopher Jeffrey
26f6185097
spvnode: fix events. 2017-01-21 03:48:57 -08:00
Christopher Jeffrey
4692849593
peer: abstract all deps. 2017-01-21 03:43:26 -08:00
Christopher Jeffrey
6016d96202
pool: move sync method out of peer. 2017-01-20 22:24:45 -08:00
Christopher Jeffrey
de0a60340b
chain: add getProofTime. 2017-01-20 22:05:04 -08:00
Christopher Jeffrey
b60e0e20a4
pool: stricter standards for requests. 2017-01-20 20:51:36 -08:00
Christopher Jeffrey
7a5f4a1928
pool: fix spv. 2017-01-20 19:20:42 -08:00
Christopher Jeffrey
08b41a2dc4
peer: throw on destroyed write. 2017-01-20 17:40:06 -08:00
Christopher Jeffrey
f0f9f798c5
pool: fix inv. do not hold lock for bip151 msgs. 2017-01-20 17:23:14 -08:00
Christopher Jeffrey
cdcdb7bd52
pool: add forceInv for getdata. 2017-01-20 17:09:00 -08:00
Christopher Jeffrey
d035eb10eb
pool: getblocks fix again. 2017-01-20 17:01:51 -08:00
Christopher Jeffrey
4a45290f36
pool: fix getblocks. 2017-01-20 16:58:14 -08:00
Christopher Jeffrey
0c055ba236
pool: minor. 2017-01-20 16:49:55 -08:00
Christopher Jeffrey
170d9a1416
miner: share lock with chain. 2017-01-20 15:20:40 -08:00
Christopher Jeffrey
f8c82197a4
mempool: share lock with chain. 2017-01-20 15:14:07 -08:00
Christopher Jeffrey
3fb2150dc4
pool: allow use of headersFirst without checkpoints. 2017-01-20 15:04:13 -08:00
Christopher Jeffrey
fe52210c5e
pool: fix block logs. 2017-01-20 13:44:20 -08:00
Christopher Jeffrey
4b937de8a6
lock: remove nonsense from mutex. 2017-01-20 12:01:54 -08:00
Christopher Jeffrey
18c4a83ed3
pool: refactor and add compact block mode 1 support. 2017-01-20 09:39:58 -08:00
Christopher Jeffrey
7543049180
pool: refactor packet handling. 2017-01-19 17:31:38 -08:00
Christopher Jeffrey
2d952306e6
net: refactor packet handling. 2017-01-19 15:32:18 -08:00
Christopher Jeffrey
8cd951c994
pool: fix verify error handling. 2017-01-19 06:29:45 -08:00
Christopher Jeffrey
0a756aba34
pool: refactor logging. 2017-01-19 05:05:56 -08:00
Christopher Jeffrey
72e4ddc2b0
net: cleanup after removal. 2017-01-19 04:45:17 -08:00
Christopher Jeffrey
b6593adf75
net: remove alert system. 2017-01-19 04:41:58 -08:00
Christopher Jeffrey
e407c08668
net: drop getutxos impl. 2017-01-19 04:39:25 -08:00
Christopher Jeffrey
66ec0ae36e
net: better headers first. 2017-01-19 04:35:12 -08:00
Christopher Jeffrey
6bc016f313
wallet: fix resend. 2017-01-19 02:06:42 -08:00
Christopher Jeffrey
9c352c5d2b
net: better locks. 2017-01-19 01:18:57 -08:00
Christopher Jeffrey
05353e0e1a
peer: do not flush merkle blocks early. 2017-01-18 21:59:46 -08:00
Christopher Jeffrey
2ee6cea969
net: better dos protection for merkleblocks. 2017-01-18 21:54:35 -08:00
Christopher Jeffrey
4cba97a0a8
wallet/net: ensure low FPR of bloom filters. see #118. 2017-01-18 20:53:01 -08:00
Christopher Jeffrey
bbbe537574
script: minor. 2017-01-18 17:06:05 -08:00
Jason Dreyzehner
93e50dab3c
spvnode: fix incorrect function call. 2017-01-18 19:13:54 -05:00
Christopher Jeffrey
569c18241f
txdb: fix range queries. 2017-01-17 17:10:00 -08:00
Christopher Jeffrey
cdad00944c
pool: minor. 2017-01-17 08:15:41 -08:00
Christopher Jeffrey
e738a80988
walletdb: minor. 2017-01-16 23:20:13 -08:00
Christopher Jeffrey
4254b4359e
config: smaller fast defaults. 2017-01-16 19:37:05 -08:00
Christopher Jeffrey
1e3cc80e2d
networks: update testnet slowHeight. 2017-01-16 19:31:59 -08:00
Christopher Jeffrey
8f09755533
chaindb: remove useless object. 2017-01-16 17:29:10 -08:00
Christopher Jeffrey
ca3dea3470
writer: better failsafes. optimize. 2017-01-16 17:25:42 -08:00
Christopher Jeffrey
fcc3f52f72
chaindb: cleanup. 2017-01-16 16:14:08 -08:00
Christopher Jeffrey
bcde9d59a7
ip: handle ipv4-mapped ipv6 addr missing sections properly. 2017-01-16 14:42:36 -08:00
Christopher Jeffrey
e15ee2308d
bip152: fix size calculation. 2017-01-16 14:09:46 -08:00
Christopher Jeffrey
48399bb0cb
logger: fix stream. 2017-01-16 14:07:56 -08:00
Christopher Jeffrey
a1dcb8c381
script: do not clone for removeSeparators. 2017-01-16 13:57:14 -08:00
Christopher Jeffrey
d840144f3e
hostlist/authdb: dns resolution refactor. 2017-01-16 12:44:02 -08:00
Christopher Jeffrey
120ceef984
peer: timeout bip150 and bip151 properly. 2017-01-16 11:43:45 -08:00
Christopher Jeffrey
f2d092f23c
net: add priority nodes. 2017-01-16 04:30:10 -08:00
Christopher Jeffrey
db49f44c8a
peer: refactor version packet handling. 2017-01-16 03:33:54 -08:00
Christopher Jeffrey
212a69697e
tcp: make server promise based. 2017-01-16 01:55:10 -08:00
Christopher Jeffrey
63b39cec56
pool: dns resolution for authdb. 2017-01-16 01:31:14 -08:00
Christopher Jeffrey
ded8097a03
dns: add lookup function. 2017-01-16 01:29:38 -08:00
Christopher Jeffrey
07103da04f
chainentry: minor. 2017-01-16 01:28:01 -08:00
Christopher Jeffrey
491462f551
bip150: add dns resolution. comments. 2017-01-15 23:46:19 -08:00
Christopher Jeffrey
1e9b7363c2
bip151: cleanup handshake properly. 2017-01-15 23:43:19 -08:00
Christopher Jeffrey
9affb11b22
bip152: comments. 2017-01-15 23:42:39 -08:00
Christopher Jeffrey
8b035fd9a8
opcode: do not continue reading after a bad push. 2017-01-15 22:16:57 -08:00
Christopher Jeffrey
d89678eaac
tx: assertions. 2017-01-15 18:31:37 -08:00
Christopher Jeffrey
afb15787ad
peer: better error messages. 2017-01-15 18:03:31 -08:00
Christopher Jeffrey
fe0ea9ac76
pool: minor. 2017-01-15 17:57:17 -08:00
Christopher Jeffrey
5ee83e9114
tx: some misc cleanup. 2017-01-15 17:52:42 -08:00
Christopher Jeffrey
94460ba592
mtx: fix mtx.fromJSON. 2017-01-15 17:10:24 -08:00
Christopher Jeffrey
15579a6b21
outpoint: minor. 2017-01-15 16:26:25 -08:00
Christopher Jeffrey
858081626f
logger: fix error handling. 2017-01-15 15:18:02 -08:00
Christopher Jeffrey
a53b2c0eef
primitives: cloning and assertions. 2017-01-15 15:17:33 -08:00
Christopher Jeffrey
58da4be8fa
primitives: more aggressive asserting. 2017-01-15 13:18:35 -08:00
Christopher Jeffrey
6d1c918793
hostlist: refactor seed handling. 2017-01-15 13:03:57 -08:00
Christopher Jeffrey
fcae101c0f
bip151: extra assertions. refactor. 2017-01-14 23:19:46 -08:00
Christopher Jeffrey
c0031e062a
peer: minor. 2017-01-14 19:46:18 -08:00
Christopher Jeffrey
199699d73a
node: better option handling. 2017-01-14 19:35:59 -08:00
Christopher Jeffrey
a486bd3a18
refactor: options. 2017-01-14 17:59:54 -08:00
Christopher Jeffrey
9dbfaf3127
pool: rename ignoreDiscovery. 2017-01-14 09:11:07 -08:00
Christopher Jeffrey
f0e7aa9d82
net: handle server differently. 2017-01-14 07:54:07 -08:00
Christopher Jeffrey
e8cc724488
node/net: refactor node bootstrapping. 2017-01-14 07:21:16 -08:00
Christopher Jeffrey
80d01b52c3
net: avoid 0-len getdatas for blocks. 2017-01-14 06:53:51 -08:00
Christopher Jeffrey
07414f5fd3
chain: remove chain.byTime. 2017-01-14 06:44:00 -08:00
Christopher Jeffrey
fd2f158169
net: avoid requesting duplicate blocks. avoid reconnecting to banned peers. 2017-01-14 06:43:49 -08:00
Christopher Jeffrey
c3c3e41e68
script: typo. 2017-01-14 06:42:48 -08:00
Christopher Jeffrey
e51062d249
http: minor params. 2017-01-13 18:50:52 -08:00
Christopher Jeffrey
699e71d84a
net: send peer addr in version msg. 2017-01-13 16:45:05 -08:00
Christopher Jeffrey
0f4348af6d
miner: wrap nonces correctly. 2017-01-13 16:44:46 -08:00
Christopher Jeffrey
b77b814be4
bip152: fix empty block filling. 2017-01-13 15:27:13 -08:00
Christopher Jeffrey
daaa1c5fa5
address: fix types by val. 2017-01-13 15:11:42 -08:00
Christopher Jeffrey
46e53abe9c
gbt: fix target endianness. 2017-01-13 15:11:35 -08:00
Christopher Jeffrey
166fe0ad6e
chain: remove bestHeight tracking. 2017-01-13 12:50:50 -08:00
Christopher Jeffrey
79eea76cc4
output: remove output mutability and addr caching. 2017-01-12 16:13:32 -08:00
Christopher Jeffrey
34dd6c3b79
http: url fixes. 2017-01-12 13:04:10 -08:00
Christopher Jeffrey
002718206a
rpc: some refactoring. 2017-01-12 12:41:33 -08:00
Christopher Jeffrey
7396e08f16
config: minor. 2017-01-12 12:41:23 -08:00
Christopher Jeffrey
e36f78f6bf
coin: add rhash method. 2017-01-12 12:41:04 -08:00
Christopher Jeffrey
f3a393668e
map: remove __proto__ check. 2017-01-12 12:40:50 -08:00
Christopher Jeffrey
9e0b10f314
http: path parsing. 2017-01-12 12:40:31 -08:00
Christopher Jeffrey
72f6a1d239
mtx: allow base58 addrs in outputs. 2017-01-12 03:28:03 -08:00
Christopher Jeffrey
fed7d0de54
http: remove use of callbacks. 2017-01-12 02:57:24 -08:00
Christopher Jeffrey
c28589d0e6
http-base: remove useless asserts and loops. 2017-01-11 23:40:07 -08:00
Christopher Jeffrey
0b296a1a6f
masterkey: refactor. 2017-01-11 23:39:33 -08:00
Christopher Jeffrey
38a30aceed
masterkey: remove useless arg for lock. 2017-01-11 21:47:09 -08:00
Christopher Jeffrey
085866d1ac
lock: fix closure calls. 2017-01-11 21:30:08 -08:00
Christopher Jeffrey
9de61172a4
refactor: use Object.create(null) for all user input keys. 2017-01-11 21:27:55 -08:00
Christopher Jeffrey
7c021cf842
utils: rename locker to lock for consistency. 2017-01-11 21:20:26 -08:00
Christopher Jeffrey
76ff5f814f
chainentry: no network pointer. 2017-01-11 19:43:57 -08:00
Christopher Jeffrey
ef4ab275da
http: minor. 2017-01-11 19:23:03 -08:00
Christopher Jeffrey
e82950a6e8
uri: allow empty keys. 2017-01-11 19:08:08 -08:00
Christopher Jeffrey
6e7a19ef35
uri: remove old options. 2017-01-11 19:02:12 -08:00
Christopher Jeffrey
f192dab0a6
minor: lint. 2017-01-11 18:55:27 -08:00
Christopher Jeffrey
1cda7cb702
http: make http base server safer. 2017-01-11 18:42:08 -08:00
Christopher Jeffrey
428e2a1301
uri: remove bip20 parsing. 2017-01-11 18:19:28 -08:00
Christopher Jeffrey
40ff06f11f
bloom: ensure min values. 2017-01-11 15:38:24 -08:00
Christopher Jeffrey
8c1002e1da
path: lint. 2017-01-11 14:56:59 -08:00
Christopher Jeffrey
4da1e0b4e0
bloom: do not allow passed in buffer. 2017-01-11 14:56:46 -08:00
Christopher Jeffrey
9efece17d1
bloom: more fixes. 2017-01-11 14:28:09 -08:00
Christopher Jeffrey
65ab296d2e
bloom: cleanup instantiation. 2017-01-11 12:10:04 -08:00
Christopher Jeffrey
dbaae30700
net: only add timeouts for outbound peers. 2017-01-10 18:03:19 -08:00
Christopher Jeffrey
a6c1e8c339
chain: minor. 2017-01-10 18:01:29 -08:00
Christopher Jeffrey
eabbfbf98b
net: fix getdata bug. 2017-01-10 16:12:42 -08:00
Christopher Jeffrey
c605638daf
pool: some request refactoring. 2017-01-10 16:10:55 -08:00
Christopher Jeffrey
d338f62078
protocol: constants changes. 2017-01-10 04:57:41 -08:00
Christopher Jeffrey
e718caa1ff
tx: extra assertion. 2017-01-10 00:07:18 -08:00
Christopher Jeffrey
fb53992bf6
address: fix witnessscripthash. 2017-01-09 23:25:35 -08:00
Christopher Jeffrey
6e298c445a
coins: minor. 2017-01-09 23:24:38 -08:00
Christopher Jeffrey
4c557744a2
refactor: address, amount, uri, errors. 2017-01-09 23:07:02 -08:00
Christopher Jeffrey
84fce9aad4
minor: some comments. 2017-01-09 15:20:56 -08:00
Christopher Jeffrey
6cd9e4d687
workers: refactor. 2017-01-09 14:59:35 -08:00
Christopher Jeffrey
2145cadc10
mtx/script: minor. optimize script.fromProgram. 2017-01-09 13:26:18 -08:00
Christopher Jeffrey
29e03892e7
script: some refactoring. 2017-01-09 00:03:59 -08:00
Christopher Jeffrey
f58e748263
network: add minimum chainworks. 2017-01-08 23:10:19 -08:00
Christopher Jeffrey
59db7a5498
network: minor. 2017-01-08 22:43:30 -08:00
Christopher Jeffrey
129be729de
network: remove alexykot.me dns seed. 2017-01-08 22:41:24 -08:00
Christopher Jeffrey
cd4a0cc964
network: remove segnet3 support. 2017-01-08 22:38:41 -08:00
Christopher Jeffrey
c7ce8c778b
peer: some comments. do not kill on late pong. 2017-01-08 22:29:57 -08:00
Christopher Jeffrey
469da05515
txdb: remove useless props. 2017-01-08 21:57:06 -08:00
Christopher Jeffrey
a25610857e
mtx: lint. 2017-01-08 21:55:27 -08:00
Christopher Jeffrey
ee4e918024
mtx/tests: more refactoring. 2017-01-08 21:49:54 -08:00
Christopher Jeffrey
95c205b309
mtx: less overloading. 2017-01-08 02:44:55 -08:00
Christopher Jeffrey
8987c0d870
wallet/mtx: fix fee checking and refactor some mtx functions. 2017-01-08 01:36:01 -08:00
Christopher Jeffrey
fa8ec48bc5
co/utils: remove some functions and refactor. 2017-01-08 01:35:05 -08:00
Christopher Jeffrey
0a15ebefab
readme: fix examples. add irc/slack. 2017-01-07 22:43:08 -08:00
Christopher Jeffrey
a4602a22cb
tx: refactor address getting. 2017-01-07 22:42:57 -08:00
Christopher Jeffrey
0eef277984
mtx: coin selector refactor. 2017-01-07 15:39:18 -08:00
Christopher Jeffrey
fb0b2b53d7
net: use Map object for requested items. 2017-01-07 00:19:40 -08:00
Christopher Jeffrey
bea77b0ec7
mtx: refactor coin selection. 2017-01-07 00:18:45 -08:00
Christopher Jeffrey
3b45648750
mtx: fix bip69 impl. 2017-01-06 23:59:58 -08:00
Christopher Jeffrey
d396cdd0fd
constants: minor. 2017-01-06 21:14:11 -08:00
Christopher Jeffrey
3236c367b1
tx: refactor locktimes. 2017-01-06 11:09:52 -08:00
Christopher Jeffrey
122b4a9fb3
tx: refactor. 2017-01-06 10:52:22 -08:00
Christopher Jeffrey
74c177d623
refactor: more fixes. 2017-01-06 10:40:16 -08:00
Christopher Jeffrey
0c194f1d3f
policy: refactor. 2017-01-06 10:35:51 -08:00
Christopher Jeffrey
5d5bcee9fa
refactor: cleanup. 2017-01-06 10:24:39 -08:00
Christopher Jeffrey
75430cae8b
refactor: more moving. 2017-01-06 10:18:21 -08:00
Christopher Jeffrey
69d0320faa
refactor: indexes. 2017-01-06 09:58:47 -08:00
Christopher Jeffrey
5caf6210b9
refactor: move constants around. 2017-01-06 09:57:55 -08:00
Christopher Jeffrey
d1a4e53896
bloom/net: move bloom constants. net services, move inv types. 2017-01-06 01:57:49 -08:00
Christopher Jeffrey
3da4542ecb
pool: remove failsafe. 2017-01-05 19:25:34 -08:00
Christopher Jeffrey
b3ccd8a105
pool: fix handle headers. 2017-01-05 14:37:37 -08:00
Christopher Jeffrey
758a62b386
networks: remove sipa's seed. 2017-01-05 14:35:29 -08:00
Christopher Jeffrey
8ca683f4f3
peer: add inv queue. 2017-01-05 14:35:29 -08:00
Christopher Jeffrey
80a1b95529
utils: map changes. 2017-01-05 14:35:29 -08:00
Christopher Jeffrey
5fb64e7bac
pool: refactor reject handling. 2017-01-05 14:35:29 -08:00
Christopher Jeffrey
94d4e80373
co: stop using co.wrap. 2017-01-05 14:35:29 -08:00
Christopher Jeffrey
cca763ca95
peer: avoid compactblock dos. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey
5dc0202d56
utils: add map. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey
cd8e464079
net: redesign stall behavior and block management. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey
eb12b0e608
net: misc. 2017-01-05 14:35:28 -08:00
Christopher Jeffrey (JJ)
19c44a9779 Merge pull request #111 from mnaamani/hotfix-netaddress
netaddress: fix fromHost to include BLOOM service
2017-01-03 14:58:46 -08:00
Mokhtar Naamani
f5a00c6e6b bloom: fix minimum value of n 2017-01-03 17:37:15 +02:00
Mokhtar Naamani
bbafbbb98c netaddress: fix fromHost to include BLOOM service 2017-01-02 17:18:17 +02:00
Christopher Jeffrey
f8fa536129
pool: fix startSync. 2016-12-31 03:21:36 -08:00
Christopher Jeffrey
933d80bb37
util: fix mkdirp error on windows. 2016-12-30 00:13:19 -08:00
Christopher Jeffrey
b5ff10e74f
tx: minor. 2016-12-30 00:05:50 -08:00
Christopher Jeffrey
da7640cd27
peer: minor. 2016-12-29 15:35:03 -08:00
Christopher Jeffrey
943c5d2d12
net: treat services as a u32. 2016-12-27 15:28:19 -08:00
Christopher Jeffrey
dd6bd8db4a
net: move hostlist. 2016-12-27 14:38:32 -08:00
Christopher Jeffrey
74dbff2377
net: add addrman serialization. 2016-12-27 14:29:46 -08:00
Christopher Jeffrey
d26204479a
ip: fix ipv4 map check. 2016-12-27 12:32:39 -08:00
Christopher Jeffrey
1d4fbc1833
mempool: minor. 2016-12-26 13:55:21 -08:00
Christopher Jeffrey
3ada25564e
chain: refactor orphan list. 2016-12-24 22:32:45 -08:00
Christopher Jeffrey
f3bd64689d
peer: minor. 2016-12-24 13:10:14 -08:00
Christopher Jeffrey
e36adec092
request: silence errors after cleanup. 2016-12-23 11:27:18 -08:00
Christopher Jeffrey
6ea846ee9a
pool: minor. 2016-12-22 22:27:09 -08:00
Christopher Jeffrey
5a0632f449
pool: schedule txs like blocks. 2016-12-22 13:26:04 -08:00
Christopher Jeffrey
8b8a65868b
peer: fix getutxos handler. 2016-12-22 05:16:04 -08:00
Christopher Jeffrey
648ad0227b
walletdb: comments. 2016-12-22 04:01:59 -08:00
Christopher Jeffrey
4f8e401dbc
peer: cleanup events after connect timeout. 2016-12-22 04:01:49 -08:00
Christopher Jeffrey
bb11cfc021
spvnode: do not attempt to insert wdb txs twice. 2016-12-22 03:55:04 -08:00
Christopher Jeffrey
0eaa26a374
pool: minor. 2016-12-21 16:17:23 -08:00
Christopher Jeffrey
c10f689435
net: fix hosts.toArray (again). 2016-12-21 16:04:48 -08:00
Christopher Jeffrey
8ce823e31c
pool: minor. 2016-12-21 15:53:59 -08:00
Christopher Jeffrey
35fba9f3ae
pool: fix hostlist.toArray. 2016-12-21 15:49:46 -08:00
Christopher Jeffrey
1a4984d533
net: add hasServices method. 2016-12-21 15:31:55 -08:00
Christopher Jeffrey
14f2851929
pool: add ban and unban calls once again. 2016-12-21 15:13:01 -08:00
Christopher Jeffrey
cc4dd23c83
pool: fix potential infinite loop with addrman. 2016-12-21 15:05:41 -08:00
Christopher Jeffrey
bb1bf9f138
http: fix info call. 2016-12-21 14:49:26 -08:00
Christopher Jeffrey
583e479a80
locker: fix destroy handling. 2016-12-21 14:49:18 -08:00
Christopher Jeffrey
24e6ed7a26
net: rewrite hostlist. bitcoind-style management. 2016-12-21 13:18:03 -08:00
Christopher Jeffrey
25101f1784
net: refactor host and peer list. 2016-12-20 15:45:12 -08:00
Christopher Jeffrey
127a52aaf1
refactor: rename network address. 2016-12-20 12:47:19 -08:00
Christopher Jeffrey
3baaeadd14
tx: comments and addr fixes. 2016-12-20 00:40:49 -08:00
Christopher Jeffrey
fa167d9a8c
config: querystring parsing. 2016-12-19 17:27:58 -08:00
Christopher Jeffrey
0d5811719c
config: add network alias. 2016-12-19 17:00:29 -08:00
Christopher Jeffrey
bd4bfa142f
pool: refactor dns discovery. 2016-12-19 16:58:02 -08:00
Christopher Jeffrey
cc2d49ea10
request: refactor mime types. 2016-12-19 16:50:32 -08:00
Christopher Jeffrey
5375f8bf19
mempool: refactor orphan handling. 2016-12-19 16:47:29 -08:00
Christopher Jeffrey
b9d6e7e40d
request: more content types. 2016-12-19 15:06:44 -08:00
Christopher Jeffrey
37f8d45c25
server: add get wallets call. 2016-12-19 08:04:30 -08:00
Christopher Jeffrey
b38d859382
pool: refactor dns discovery. 2016-12-19 07:32:42 -08:00
Christopher Jeffrey
aa07255d74
request: make pool an explicit option. 2016-12-19 07:29:43 -08:00
Christopher Jeffrey
22c5014c49
request: fix socket hangup. 2016-12-19 07:21:40 -08:00
Christopher Jeffrey
291c7f72fe
pool: rediscover seeds when no hosts are available. 2016-12-19 07:11:09 -08:00
Christopher Jeffrey
10e9ab9322
ip: more parsing safety. 2016-12-19 06:31:48 -08:00
Christopher Jeffrey
37128240b3
ip: improve parsing. 2016-12-19 06:13:42 -08:00
Christopher Jeffrey
3e3e4c84ba
network/pool: improve dns discovery. 2016-12-19 05:20:47 -08:00
Christopher Jeffrey
9490d29390
mempool: do not hold chain lock while getting viewpoint. 2016-12-19 05:11:54 -08:00
Christopher Jeffrey
9fd7153100
netaddress: minor. 2016-12-19 04:19:16 -08:00
Christopher Jeffrey
546fccfca8
ip: speed up ipv6 parsing. 2016-12-19 04:08:35 -08:00
Christopher Jeffrey
6617bd7d49
peer: lint. 2016-12-19 04:01:02 -08:00
Christopher Jeffrey
6d2659a31c
locker: revert to old drain behavior. 2016-12-19 03:58:34 -08:00
Christopher Jeffrey
8ac673d36e
ip: less strict parsing. 2016-12-19 03:23:47 -08:00
Christopher Jeffrey
b51554d765
utils: rewrite ip module. 2016-12-19 03:10:54 -08:00
Christopher Jeffrey
1836d8b314
ip: fix parseHost for ipv6. 2016-12-19 00:43:42 -08:00
Christopher Jeffrey
9d8f95ee0f
walletdb: less load for browser. 2016-12-18 23:06:44 -08:00
Christopher Jeffrey
1df11caf71
peer: lock fixes. dos fixes. 2016-12-18 22:14:50 -08:00
Christopher Jeffrey
3732260350
util: refactor locker. 2016-12-18 21:19:35 -08:00
Christopher Jeffrey
37a3f83334
keyring: add refresh method. 2016-12-18 20:41:30 -08:00
Christopher Jeffrey
97ecd5c59f
mempool: refactor indexing. 2016-12-18 19:35:38 -08:00
Christopher Jeffrey
01f21b0399
mempool: refactor verification. 2016-12-18 17:08:06 -08:00
Christopher Jeffrey
42f0b2aa19
mempool: refactor addr index. 2016-12-18 16:26:07 -08:00
Christopher Jeffrey
37770aa6df
mempool: move some methods. 2016-12-18 15:50:00 -08:00
Christopher Jeffrey
53e30fcc08
http: request - response limit. 2016-12-18 14:27:42 -08:00
Christopher Jeffrey
856957eee9
peer: fix witness checking for inbound. 2016-12-18 03:35:16 -08:00
Christopher Jeffrey
595ada8c86
mtx/wallet: more sanity checks for sending. 2016-12-18 03:20:47 -08:00
Christopher Jeffrey
ff28b7c4fb
mempool/miner: cleanup. 2016-12-18 02:58:29 -08:00
Christopher Jeffrey
c358a1b59e
mtx: coin selection - handle reorgd coinbases. 2016-12-18 02:54:01 -08:00
Christopher Jeffrey
82d1345311
net: refactor inv type handling. 2016-12-18 01:44:04 -08:00
Christopher Jeffrey
2691f9fcb6
mempool: fix comment. 2016-12-17 15:48:47 -08:00
Christopher Jeffrey
1f2c3080bc
mempool: more minor style changes. 2016-12-17 15:43:48 -08:00
Christopher Jeffrey
effc177a77
mempool: minor. style. 2016-12-17 15:34:33 -08:00
Christopher Jeffrey
b36484c7aa
mempool: fix potential race conditions with coins. 2016-12-17 15:28:14 -08:00
Christopher Jeffrey
5fb16543f1
chain: expose coins methods. 2016-12-17 14:41:47 -08:00
Christopher Jeffrey
514e735a96
net: refactor reject msg. broadcast orphans. 2016-12-17 14:08:43 -08:00
Christopher Jeffrey
2d831ca5bd
node: minor. 2016-12-17 13:08:02 -08:00
Christopher Jeffrey
9036ea263d
peer: less spammy logs. 2016-12-17 02:50:03 -08:00
Christopher Jeffrey
6a87a9588b
peer: refactor ack handling. 2016-12-17 02:10:28 -08:00
Christopher Jeffrey
7606667ea5
list: comments. 2016-12-17 02:05:02 -08:00
Christopher Jeffrey
dcfc19408f
node: minor fixes. 2016-12-17 00:18:28 -08:00
Christopher Jeffrey
1365d0ff1d
net: refactor peer.pending. 2016-12-16 22:48:16 -08:00
Christopher Jeffrey
edf47d67c8
primitives: refresh call. 2016-12-16 22:02:05 -08:00
Christopher Jeffrey
a23a5437a4
net: fix peer error handling. 2016-12-16 20:48:47 -08:00
Christopher Jeffrey
5683d708dd
browser: add dns resolution. 2016-12-16 18:05:04 -08:00
Christopher Jeffrey
2c2ad461af
net: add dns. 2016-12-16 17:18:55 -08:00
Christopher Jeffrey
af8194112e
net: refactor pool. 2016-12-16 17:18:20 -08:00
Christopher Jeffrey
8ccefb8e71
peer: refactor. 2016-12-16 15:08:59 -08:00
Christopher Jeffrey
4269d16fee
refactor: lint. 2016-12-16 14:49:35 -08:00
Christopher Jeffrey
7971e56765
peer: use list for request queue. 2016-12-16 14:40:30 -08:00
Christopher Jeffrey
463ebd9bd3
pool: misc refactor. 2016-12-16 13:53:05 -08:00
Christopher Jeffrey
761b6d6636
net: refactor host management. 2016-12-16 13:50:45 -08:00
Christopher Jeffrey
dc58c99ba2
net: refactor sending and announcing. 2016-12-16 04:10:02 -08:00
Christopher Jeffrey
69a9b5873f
net: use linked lists. 2016-12-16 03:18:08 -08:00
Christopher Jeffrey
67ffecc989
http: refactor info. 2016-12-15 19:57:04 -08:00
Christopher Jeffrey
d661496541
rpc: minor. 2016-12-15 19:20:12 -08:00
Christopher Jeffrey
29579fc8d0
rpc: refactor getblocktemplate. 2016-12-15 19:06:22 -08:00
Christopher Jeffrey
6b69e2bfad
miner: move tx.isFinal. 2016-12-15 16:41:33 -08:00
Christopher Jeffrey
2e26909e85
rpc: add witness nonce for submitted blocks. 2016-12-15 16:12:35 -08:00
Christopher Jeffrey
6d1eb9fd36
rpc: submitblock logs. 2016-12-15 15:38:27 -08:00
Christopher Jeffrey
559cc3592d
mempool: handle mined removal better. 2016-12-15 15:12:55 -08:00
Christopher Jeffrey
8b05ef2def
http: fix html type for request. 2016-12-15 09:15:37 -08:00
Christopher Jeffrey
ee3745616e
miner: refactor extranonce. 2016-12-14 17:15:27 -08:00
Christopher Jeffrey
40b3e56402
mempool: logs for block adding/removing. 2016-12-14 14:04:26 -08:00
Christopher Jeffrey
854cdf1367
wallet: fix txrecord. 2016-12-14 12:17:53 -08:00
Christopher Jeffrey
b2ef630341
http: less spam. 2016-12-14 12:11:05 -08:00
Christopher Jeffrey
4a8c4dee57
node: fix event race conditions. 2016-12-14 12:03:47 -08:00
Christopher Jeffrey
4353decc5a
mining: remove cheating. rename witness deployment to segwit. 2016-12-14 11:27:39 -08:00
Christopher Jeffrey
f8b4750d90
Revert "miner: pass ts."
This reverts commit aa46fb2df2.
2016-12-14 10:59:17 -08:00
Christopher Jeffrey
aa46fb2df2
miner: pass ts. 2016-12-14 10:46:01 -08:00
Christopher Jeffrey
a9a0f638eb
miner: failsafe for segwit. 2016-12-14 10:39:56 -08:00
Christopher Jeffrey
6dcfdc02fd
miner: better cheating. 2016-12-14 10:33:44 -08:00
Christopher Jeffrey
1c08beba0a
miner: cheat on testnet. 2016-12-14 10:09:45 -08:00
Christopher Jeffrey
65ddc563d6
miner: mining and rpc changes. 2016-12-14 10:03:39 -08:00
Christopher Jeffrey
b025f5c241
http: allow batched rpc calls. 2016-12-14 07:05:24 -08:00
Christopher Jeffrey
8efbe1f9ee
coins/errors: minor. 2016-12-14 07:05:14 -08:00
Christopher Jeffrey
44818f8b06
errors: add assert. 2016-12-14 05:56:58 -08:00
Christopher Jeffrey
c1d6896797
rpc: minor fixes. 2016-12-14 04:20:05 -08:00
Christopher Jeffrey
eef018004f
http/rpc: mining. logs and error handling. 2016-12-13 21:06:37 -08:00
Christopher Jeffrey
ca9fc63309
net: minor. 2016-12-13 20:21:04 -08:00
Christopher Jeffrey
2f543ea465
btc: refactor verify error. 2016-12-13 17:53:29 -08:00
Christopher Jeffrey
ef1eb23ea3
txdb: minor. 2016-12-13 17:51:45 -08:00
Christopher Jeffrey
33a8e1e511
block/tx: sigops cost/size/weight. 2016-12-13 16:52:31 -08:00
Christopher Jeffrey
f9a1e18437
wallet: remove resolution. 2016-12-13 14:26:14 -08:00
Christopher Jeffrey
14c9a37cd9
packets: more serialization nonsense. 2016-12-13 02:58:49 -08:00
Christopher Jeffrey
fcc7f41438
env: fix coinview. 2016-12-12 21:27:18 -08:00
Christopher Jeffrey
51ca09603a
masterkey: minor. 2016-12-12 12:59:08 -08:00
Christopher Jeffrey
eaaa35cb8e
script: minor. 2016-12-12 12:31:27 -08:00
Christopher Jeffrey
41a2a46403
tx: refactor sighash v0. 2016-12-12 10:53:28 -08:00
Christopher Jeffrey
fcf6254d29
address: refactor. 2016-12-12 06:50:13 -08:00
Christopher Jeffrey
8108ff3eb5
util: minor changes to static writer. 2016-12-12 05:38:43 -08:00
Christopher Jeffrey
df4b07304b
rpc: fix getblocktemplate. 2016-12-12 05:11:19 -08:00
Christopher Jeffrey
dfefc7182f
serialization: more sizes. 2016-12-11 19:16:02 -08:00
Christopher Jeffrey
3b9e4d6c6e
refactor: use static writers everywhere. 2016-12-11 17:26:42 -08:00
Christopher Jeffrey
f7c9a24802
tx/coins: start using static writers more. 2016-12-11 13:44:20 -08:00
Christopher Jeffrey
1296bb2302
serialization: add size calculation and static writer. 2016-12-11 12:19:18 -08:00
Christopher Jeffrey
808d8678a6
tx: add sigops vsize calculation. 2016-12-11 10:35:17 -08:00
Christopher Jeffrey
72d5eec710
block/bip152/merkleblock: refactor some block things. 2016-12-11 10:10:00 -08:00
Christopher Jeffrey
efa0d3eac5
script: fix potential uncaught error. 2016-12-11 10:09:04 -08:00
Christopher Jeffrey
d4cb8d82a2
minor: comments. 2016-12-11 08:32:46 -08:00
Christopher Jeffrey
ed4fb0f92c
rpc: minor. 2016-12-11 08:23:03 -08:00
Christopher Jeffrey
fc6798d3f0
http: rewrite request module. 2016-12-11 08:18:11 -08:00
Christopher Jeffrey
48fc7549ce
tx/wallet: misc fixes. 2016-12-11 06:14:32 -08:00
Christopher Jeffrey
59645ac3ec
refactor: remove extra properties from tx and block. 2016-12-11 05:35:31 -08:00
Christopher Jeffrey
931a2a9398
coins: minor. 2016-12-10 23:15:03 -08:00
Christopher Jeffrey
c681b75b7b
coins: minor. 2016-12-10 22:06:57 -08:00
Christopher Jeffrey
f3801fa8a7
refactor: move coins. 2016-12-10 22:00:27 -08:00
Christopher Jeffrey
5e23b284a3
coinview: fix parsing. 2016-12-10 21:46:50 -08:00
Christopher Jeffrey
e754621dd4
script: toCode/fromCode. 2016-12-10 21:31:40 -08:00
Christopher Jeffrey
b77aa9240e
coins: refactor and comments. 2016-12-10 20:43:49 -08:00
Christopher Jeffrey
b437b33760
test/bench: lint. 2016-12-10 17:13:45 -08:00
Christopher Jeffrey
d2e61d1fa2
test: cleanup tests. 2016-12-10 14:43:58 -08:00
Christopher Jeffrey
5e3b05ff11
bench: clean up benchmarks. 2016-12-10 13:32:28 -08:00
Christopher Jeffrey
1d6eb802e7
chain: minor. 2016-12-10 08:19:35 -08:00
Christopher Jeffrey
bf2e7d1486
test: fix tx tests. 2016-12-10 08:11:24 -08:00
Christopher Jeffrey
4484a11ede
tx/block: refactor. 2016-12-10 07:18:05 -08:00
Christopher Jeffrey
c9523d91a5
chain: refactor disconnection. 2016-12-10 06:30:04 -08:00
Christopher Jeffrey
092c1a90df
coins: undo coins fixes. 2016-12-09 17:29:33 -08:00
Christopher Jeffrey
12b3274d33
refactor: pass coin viewpoints for every function requiring inputs. 2016-12-09 07:15:35 -08:00
Christopher Jeffrey
ead3f64b7f
Merge branch 'pass-coins-4' into coins-compression-2 2016-12-09 00:01:14 -08:00
Christopher Jeffrey
de1f658ede
chaindb: fix getFullBlock. 2016-12-08 23:53:25 -08:00
Christopher Jeffrey
5bed0455d2
scriptnum: refactor. 2016-12-08 21:56:57 -08:00
Christopher Jeffrey
bf07023369
script: add cscriptnum implementation. 2016-12-08 19:26:53 -08:00
Christopher Jeffrey
d4c2331a11
mempool/chain: move some methods around. 2016-12-08 15:51:25 -08:00
Christopher Jeffrey
2715e71ae8
script: minor. 2016-12-08 03:01:36 -08:00
Christopher Jeffrey
9d4f946dda
mtx: minor. 2016-12-08 02:19:17 -08:00
Christopher Jeffrey
ee7d39ce81
policy: lower min relay fee to 1000. 2016-12-08 02:11:33 -08:00
Christopher Jeffrey
c86311029c
mempool: optimize coin view. 2016-12-08 01:57:26 -08:00
Christopher Jeffrey
b2065cc84d
mempool: minor. 2016-12-08 01:48:39 -08:00
Christopher Jeffrey
82a1a24138
test: fix mempool tests. 2016-12-08 01:40:04 -08:00
Christopher Jeffrey
1e18ca772a
encoding: fix varint bns. 2016-12-08 01:17:53 -08:00
Christopher Jeffrey
dd0ebe5320
rpc: fix getblocktemplate. 2016-12-07 22:39:30 -08:00
Christopher Jeffrey
c300df7340
mempool: refactor. 2016-12-07 19:11:59 -08:00
Christopher Jeffrey
c9fbaae0da
chaindb: fix getCoinView. 2016-12-07 18:05:52 -08:00
Christopher Jeffrey
4e9bec4cd3
refactor: lint. 2016-12-07 17:52:53 -08:00
Christopher Jeffrey
1269aab7a5
mempool: use coin viewpoint. 2016-12-07 17:47:31 -08:00
Christopher Jeffrey
8b99b5103b
chain: refactor coinview. 2016-12-07 03:25:40 -08:00
Christopher Jeffrey
9e4db47792
wallet: improve size estimation. 2016-12-06 23:29:13 -08:00
Christopher Jeffrey
f7e50e3435
tx: pass coins into scripting system. 2016-12-06 17:37:35 -08:00
Christopher Jeffrey
d4b8afa747
chain: pass height around. 2016-12-06 17:13:04 -08:00
Christopher Jeffrey
136a48b4b4
pool: refactor requests. 2016-12-06 17:12:54 -08:00
Christopher Jeffrey
9215e4fe48
address: better network validation. 2016-12-06 14:24:05 -08:00
Christopher Jeffrey
2365355d79
net: getblocks handling. 2016-12-06 11:10:47 -08:00
Christopher Jeffrey
d2e9843757
http: fix addr array. 2016-12-06 00:04:04 -08:00
Christopher Jeffrey
4e4dbfba49
server/wallet/mempool: get tests passing. 2016-12-05 21:02:08 -08:00
Christopher Jeffrey
5091f69038
wallet/http: send address validation. 2016-12-05 17:24:18 -08:00
Christopher Jeffrey
07a34bbfe5
chaindb: compression=true. 2016-12-05 11:36:55 -08:00
Christopher Jeffrey
01535c55d7
mempool: remove confidence. 2016-12-05 11:35:33 -08:00
Christopher Jeffrey
21f4f45205
mempool: refactor coin and orphan handling. 2016-12-04 20:14:18 -08:00
Christopher Jeffrey
b4221b7589
chaindb: switch back to buffer coin cache. 2016-12-04 19:12:13 -08:00
Christopher Jeffrey
1d5bcc5918
block/worker: misc fixes. 2016-12-04 18:59:49 -08:00
Christopher Jeffrey
f45ce12bec
chaindb: minor. 2016-12-04 18:09:33 -08:00
Christopher Jeffrey
72b68532e3
ldb: add db cache-size option. 2016-12-04 13:59:08 -08:00
Christopher Jeffrey
28cc714bad
node: fix fast option. 2016-12-04 03:25:09 -08:00
Christopher Jeffrey
c358b6b822
chain: minor. 2016-12-04 03:16:13 -08:00
Christopher Jeffrey
11506ce246
coinview: minor. 2016-12-04 03:14:49 -08:00
Christopher Jeffrey
38eca965a7
mempool: orphan serialization. 2016-12-04 03:14:25 -08:00
Christopher Jeffrey
30526aaea4
chaindb: coin cache. 2016-12-04 02:59:20 -08:00
Christopher Jeffrey
a95aba92fb
serialization: less polymorphism. 2016-12-04 00:54:50 -08:00
Christopher Jeffrey
ba88ffab01
encoding: fix typo for BN. 2016-12-02 21:29:47 -08:00
Christopher Jeffrey
f2a9eb6538
workers: refactor logging. 2016-12-02 18:34:29 -08:00
Christopher Jeffrey
bdc7ec0198
worker: more refactoring. 2016-12-02 18:14:47 -08:00
Christopher Jeffrey
1f47d5ead5
workers: client and server parser refactor. 2016-12-02 12:08:46 -08:00
Christopher Jeffrey
a4d30f00a8
workers: improve protocol. 2016-12-02 11:52:03 -08:00
Christopher Jeffrey
89f478bba1
encoding: no casting. 2016-12-02 06:36:12 -08:00
Christopher Jeffrey
c190dd2aad
util: refactor encoding. 2016-12-02 04:34:38 -08:00
Christopher Jeffrey
dbed720d20
coins: minor. 2016-12-02 01:50:43 -08:00
Christopher Jeffrey
b37b99a86e
chain: refactor input spending. 2016-12-01 23:37:57 -08:00
Christopher Jeffrey
967449b0d5
chaindb: minor. 2016-12-01 13:35:04 -08:00
Christopher Jeffrey
244af663bb
coins: comments. 2016-12-01 04:48:00 -08:00
Christopher Jeffrey
9f11875736
coins: no compressed non-zero bytes. 2016-12-01 04:11:14 -08:00
Christopher Jeffrey
3d876858f9
chain: refactor undo coins. 2016-12-01 02:56:08 -08:00
Christopher Jeffrey
873475b835
mtx: refactor signing. 2016-12-01 00:29:34 -08:00
Christopher Jeffrey
8e49d87e53
wallet: refactor client. 2016-12-01 00:13:59 -08:00
Christopher Jeffrey
6939ba2cd3
chain: skip coinbases when scanning. 2016-12-01 00:03:23 -08:00
Christopher Jeffrey
81e71e7922
wallet: drop wallet getters. 2016-11-30 23:12:01 -08:00
Christopher Jeffrey
bffdd78009
hd: drop getters. 2016-11-30 22:00:22 -08:00
Christopher Jeffrey
430a69e3d3
chaindb: drop useless. 2016-11-30 21:34:21 -08:00
Christopher Jeffrey
ded3bc34f3
refactor: start moving away from getters. 2016-11-30 21:31:52 -08:00
Christopher Jeffrey
0e234c7c3a
net: fix destroy check. 2016-11-30 21:00:40 -08:00
Christopher Jeffrey
f4f4f2b433
chaindb: compression=false. 2016-11-30 20:36:11 -08:00
Christopher Jeffrey
371f6b1fa0
chain: refactor spending. 2016-11-30 20:08:07 -08:00
Christopher Jeffrey
453eccbabd
Revert "chain: handle chain state arithmetic differently."
This reverts commit c87fce53ab.
2016-11-30 19:13:29 -08:00
Christopher Jeffrey
c87fce53ab
chain: handle chain state arithmetic differently. 2016-11-30 18:57:58 -08:00
Christopher Jeffrey
aad1691f7e
chain: refactor tx indexing. 2016-11-30 18:17:10 -08:00
Christopher Jeffrey
7157d06464
chaindb: refactor init and deployments. 2016-11-30 17:35:57 -08:00
Christopher Jeffrey
9f44ddc22f
chain: add undocoins object. 2016-11-30 16:08:38 -08:00
Christopher Jeffrey
311b9841fb
chain: more refactoring. 2016-11-30 16:02:56 -08:00
Christopher Jeffrey
cfd7ec8a64
chain: more refactoring. 2016-11-30 13:09:33 -08:00
Christopher Jeffrey
ff5eddbebb
chain: move some methods. 2016-11-30 01:05:28 -08:00
Christopher Jeffrey
e7bcbbb976
chain: drop newCoins option. 2016-11-29 21:01:48 -08:00
Christopher Jeffrey
cc252b949d
coins: refactor. lint. 2016-11-29 20:36:24 -08:00
Christopher Jeffrey
dcb376f26d
chain: add newCoins option. 2016-11-29 20:36:23 -08:00
Christopher Jeffrey
cdee4ce251
coins: refactor. 2016-11-29 20:36:23 -08:00
Christopher Jeffrey
63c42bf390
chain: new coins compression. 2016-11-29 20:36:23 -08:00
Christopher Jeffrey
923364a70a
chain: initial add refactor. 2016-11-29 20:36:23 -08:00
Christopher Jeffrey
0f529d5f8b
chain/block: reorder some consensus checks. 2016-11-29 20:36:23 -08:00
Christopher Jeffrey
71c7c3e300
peer: lint. 2016-11-29 20:35:30 -08:00
Christopher Jeffrey
01e7fd3902
pool: rename outbound/inbound. remove co.wait() in scheduleRequests. 2016-11-28 20:40:09 -08:00
Christopher Jeffrey
bc4a9b3f14
net: reduce request timeout to 2 min. 2016-11-28 17:56:15 -08:00
Christopher Jeffrey
fa8b4c6428
net: remove isBusy check from sendRequests. 2016-11-28 17:31:21 -08:00
Christopher Jeffrey
507fd89948
timedata: move time to network object. 2016-11-28 16:58:48 -08:00
Christopher Jeffrey
cc7a7890db
chain: less polymorphism for getDeploymentState. 2016-11-28 16:08:35 -08:00
Christopher Jeffrey
d1e37582d1
block/crypto: refactor merkle trees. 2016-11-28 15:59:30 -08:00
Christopher Jeffrey
6520cf32e0
node: less error spam in logs. 2016-11-27 23:54:18 -08:00
Christopher Jeffrey
c7b7678f8a
peer: fix tryAnnounce. 2016-11-27 23:54:08 -08:00
Christopher Jeffrey
1997864ec2
coins: refactor compression. 2016-11-27 22:23:12 -08:00
Christopher Jeffrey
7fd2c409ae
peer: error on finishDrain. 2016-11-27 16:09:23 -08:00
Christopher Jeffrey
89f86ae6c5
bip70: fix payment serialization. 2016-11-27 04:33:59 -08:00
Christopher Jeffrey
dd2d9f48bd
coins: refactor. 2016-11-26 20:17:01 -08:00
Christopher Jeffrey
67695b7e53
fees: minor. 2016-11-26 20:16:54 -08:00
Christopher Jeffrey
cb59675b06
refactor: rename buffer reader/writer vars. 2016-11-26 10:56:50 -08:00
Christopher Jeffrey
c523193714
coins: refactor. 2016-11-26 10:03:32 -08:00
Christopher Jeffrey
20cdb1adbc
miner: clear coins. 2016-11-26 09:27:17 -08:00
Christopher Jeffrey
cd0315923b
mempool: add reset logs. 2016-11-26 06:18:31 -08:00
Christopher Jeffrey
c033f5d465
coins: optimize. 2016-11-26 06:09:27 -08:00
Christopher Jeffrey
9bc92abb41
chain: refactor coins. 2016-11-26 04:50:32 -08:00
Christopher Jeffrey
c5a5d4498a
chain/wallet: handle caches better. 2016-11-26 01:12:38 -08:00
Christopher Jeffrey
3e37961927
mempool: add reset method. 2016-11-26 00:22:46 -08:00
Christopher Jeffrey
5dbb896aea
mempool: update mem usage. 2016-11-25 21:23:17 -08:00
Christopher Jeffrey
eef9bcd872
walletdb: minor. 2016-11-25 19:37:04 -08:00
Christopher Jeffrey
c0fd199f2d
chain: refactor and optimize. 2016-11-25 19:34:25 -08:00
Christopher Jeffrey
024ff3e211
http: http and rpc fixes. 2016-11-25 14:19:11 -08:00
Christopher Jeffrey
0dbdf30e89
pool: minor. 2016-11-25 14:13:36 -08:00
Christopher Jeffrey
6c25efca89
net: better write handling. 2016-11-24 14:44:10 -08:00
Christopher Jeffrey
01bb0adc17
pool: fix typo. 2016-11-24 01:20:21 -08:00
Christopher Jeffrey
9c48cc9333
pool: fix destroyed race condition. 2016-11-23 18:54:12 -08:00
Christopher Jeffrey
1f22013ce0
chain: versionbits refactor. 2016-11-23 17:03:58 -08:00
Christopher Jeffrey
390f7d8ddb
minerblock: commit block once mined. 2016-11-23 00:56:56 -08:00
Christopher Jeffrey
9e48947d2f
txdb: fix txdb.confirm. 2016-11-23 00:36:57 -08:00
Christopher Jeffrey
229be344fc
chaindb: persistent versionbits state caches. 2016-11-22 23:59:02 -08:00
Christopher Jeffrey
0530c8f80f
chain: log state updates after db write. 2016-11-22 14:18:44 -08:00
Christopher Jeffrey
e025902405
wallet: expose client. 2016-11-22 10:51:00 -08:00
Christopher Jeffrey
9a921ab8f0
crypto: optimize hashing for browser. 2016-11-22 10:46:06 -08:00
Christopher Jeffrey
0e40eb6491
tx/block: remove hashAsync. 2016-11-22 10:28:54 -08:00
Christopher Jeffrey
7f5e0cb493
writer: improve perf. 2016-11-21 20:54:30 -08:00
Christopher Jeffrey
0bf9828f03
wallet: add clients. 2016-11-21 18:05:29 -08:00
Christopher Jeffrey
f376289684
crypto: implement subtle api for browser. 2016-11-21 17:50:05 -08:00
Christopher Jeffrey
4245cd6bf1
crypto: use subtle for browser pbkdf2. 2016-11-20 13:12:35 -08:00
Christopher Jeffrey
6c61ad976d
walletdb: add experimental client. 2016-11-19 22:55:00 -08:00
Christopher Jeffrey
d75b5d80cc
walletdb: nodeclient work. 2016-11-19 21:40:31 -08:00
Christopher Jeffrey
1827b945dd
walletdb: new client api. 2016-11-19 18:26:27 -08:00
Christopher Jeffrey
8f743b6e7d
peer: handle drains better. 2016-11-19 14:33:40 -08:00
Christopher Jeffrey
9353a86e14
modules: blockchain technology (tm). 2016-11-19 11:24:01 -08:00
Christopher Jeffrey
bf34a8133d
btc: rename. 2016-11-19 11:14:38 -08:00
Christopher Jeffrey
b754973511
utils/btc: rename. 2016-11-19 10:45:31 -08:00
Christopher Jeffrey
ae093d2242
amount/utils: drop utils.btc and utils.satoshi. 2016-11-19 09:59:47 -08:00
Christopher Jeffrey
9e9b657eab
utils: add amount object. 2016-11-19 08:44:24 -08:00
Christopher Jeffrey
098465c171
miner: rename. 2016-11-19 07:10:49 -08:00
Christopher Jeffrey
7f3c265085
net: rename timedata. 2016-11-19 06:53:59 -08:00
Christopher Jeffrey
3014229d9a
workers: rename. 2016-11-19 06:48:55 -08:00
Christopher Jeffrey
a1ec1bfff1
modules: refactor indexes. 2016-11-19 06:36:57 -08:00
Christopher Jeffrey
0631148705
modules: more refactoring. 2016-11-19 05:29:29 -08:00
Christopher Jeffrey
729aea3b41
utils: mark circular. 2016-11-19 02:47:44 -08:00
Christopher Jeffrey
3f6e4f3847
workers: major refactor. 2016-11-19 02:28:30 -08:00
Christopher Jeffrey
6f9ad90e07
modules: drop all circular deps. 2016-11-19 02:26:05 -08:00
Christopher Jeffrey
4c9d9d5160
miner: rename fill. add comments. 2016-11-18 23:52:14 -08:00
Christopher Jeffrey
c6eabdb121
utils: minor. 2016-11-18 23:41:58 -08:00
Christopher Jeffrey
091ddf2029
http: minor. 2016-11-18 23:39:52 -08:00
Christopher Jeffrey
5ad3b9612d
ec: minor. 2016-11-18 23:37:19 -08:00
Christopher Jeffrey
baffd161b8
modules: more browser compat. 2016-11-18 23:33:05 -08:00
Christopher Jeffrey
354cf00158
modules: fix browser compilation. 2016-11-18 23:17:29 -08:00
Christopher Jeffrey
67a00bfe50
modules: remove all conditional requires. see #105. 2016-11-18 23:05:04 -08:00
Christopher Jeffrey
9f522c5ca4
layout: less conditional requires. see #105. 2016-11-18 18:31:29 -08:00
Christopher Jeffrey
9ae91af2a8
rpc: refactor. 2016-11-18 15:00:56 -08:00
Christopher Jeffrey
814c18437d
miner: options. 2016-11-18 06:53:55 -08:00
Christopher Jeffrey
bc00697adb
mempool/miner: mining and mempool refactor. 2016-11-18 06:35:20 -08:00
Christopher Jeffrey
9e1428a8d5
mempool: better ancestor and descendant traversal. 2016-11-18 00:49:26 -08:00
Christopher Jeffrey
f625013548
txdb: lint. 2016-11-17 23:20:44 -08:00
Christopher Jeffrey
d96a579665
peer: refactor cmpctblock handling. 2016-11-17 16:51:21 -08:00
Christopher Jeffrey
aba22e24d7
coin: drop getAge. 2016-11-17 08:19:52 -08:00
Christopher Jeffrey
39ffc214dd
coin: minor. 2016-11-17 07:37:07 -08:00
Christopher Jeffrey
90c53fc33c
txdb: optimize addBlock. 2016-11-17 06:13:31 -08:00
Christopher Jeffrey
39a4df7b02
peer: improve sendcmpct handling. 2016-11-17 05:02:31 -08:00
Christopher Jeffrey
d3da8bbfb8
script: optimize fromPubkeyhash and fromScripthash. 2016-11-17 04:53:41 -08:00
Christopher Jeffrey
44483a0549
primitives: lint. 2016-11-17 04:19:57 -08:00
Christopher Jeffrey
09f449167f
chain: comments. 2016-11-17 04:12:25 -08:00
Christopher Jeffrey
39aee21030
tx: refactor network handling in json serialization. 2016-11-17 04:05:32 -08:00
Christopher Jeffrey
97703e4c7d
chain: only expose state if block is successfully written. 2016-11-17 03:02:46 -08:00
Christopher Jeffrey
501eef858d
http: refactor how height/hash are handled. 2016-11-16 12:08:45 -08:00
Christopher Jeffrey
51e271fe0d
http: allow hash/height mixup. 2016-11-16 10:03:03 -08:00
Christopher Jeffrey
f6c09af49f
http: expose chain resetting. 2016-11-16 09:56:52 -08:00
Christopher Jeffrey
522a54fd27
networks: enable segwit by default for main. 2016-11-16 09:45:55 -08:00
Christopher Jeffrey
c011e94cdb
http: allow rescanning from start block. 2016-11-16 09:43:54 -08:00
Christopher Jeffrey
f0fb7c4db3
http: do not allow dumping of master key without admin privileges. 2016-11-16 09:42:14 -08:00
Christopher Jeffrey
8377a5082e
walletdb: start marking the start block. 2016-11-16 09:26:06 -08:00
Christopher Jeffrey
025a5b9138
chain: handle chain resetting more gracefully. 2016-11-14 15:45:39 -08:00
Christopher Jeffrey
6d3401f08b
script: better script parse error formatting. 2016-11-13 11:47:52 -08:00
Christopher Jeffrey
3beae441bb
http: refactor cli usage of http clients. 2016-11-13 11:30:00 -08:00
Christopher Jeffrey
c18bb98b3c
peer: better options handling and logs. 2016-11-12 22:01:15 -08:00
Christopher Jeffrey
215a3ad6fc
base58: optimize. 2016-11-11 20:32:41 -08:00
Christopher Jeffrey
1649b38504
crypto: use crypto.cleanse. 2016-11-11 20:09:24 -08:00
Christopher Jeffrey
286ae9d9c8
script: implement more segwit policy. 2016-11-11 19:37:06 -08:00
Christopher Jeffrey
ecd18b9613
walletdb: refactor. 2016-11-11 18:16:31 -08:00
Christopher Jeffrey
4e4b87b18e
chain: refactor. 2016-11-11 17:45:55 -08:00
Christopher Jeffrey
6380640447
chain: lint. 2016-11-11 15:48:42 -08:00
Christopher Jeffrey
467604049b
spvnode: remove filter logs. 2016-11-11 15:41:49 -08:00
Christopher Jeffrey
14ae1eb29c
chaindb: add migration for tip index. 2016-11-11 15:37:28 -08:00
Christopher Jeffrey
708c4a2bd2
chain: improve spv reorgs. 2016-11-11 15:29:46 -08:00
Christopher Jeffrey
ef8b205a38
rpc: improve perf for getchaintips. 2016-11-11 14:02:22 -08:00
Christopher Jeffrey
3854f04624
chain: spv reorganization. 2016-11-11 11:45:28 -08:00
Christopher Jeffrey
ee19c7fee6
chaindb: index all tips. 2016-11-10 18:43:28 -08:00
Christopher Jeffrey
42cc8c4698
chain: drop spv reorganization for now. 2016-11-10 16:11:53 -08:00
Christopher Jeffrey
51e3228d83
chaindb: refactor reset and removeChain. 2016-11-10 15:23:54 -08:00
Christopher Jeffrey
e68a64d1f9
spv: redownload blocks after reorg. handle reset properly. always save to main chain. 2016-11-10 14:53:24 -08:00
Christopher Jeffrey
b91d0cd9f1
node: pass headers option to pool. 2016-11-10 13:46:25 -08:00
Christopher Jeffrey
cf949569ae
pool: do not set witness bit for FILTERED_BLOCK. see #88. 2016-11-10 13:42:27 -08:00
Christopher Jeffrey
f7be57b583
pool: allow segwit compact blocks in options. 2016-11-10 13:42:04 -08:00
Christopher Jeffrey
06b35d4ab2
utils: rewrite async object. 2016-11-10 13:33:40 -08:00
Christopher Jeffrey
d088412380
walletdb: filter watch logs. 2016-11-09 18:45:26 -08:00
Christopher Jeffrey
615537def9
walletdb: lint. 2016-11-09 18:34:59 -08:00
Christopher Jeffrey
0d2391be14
wallet: start using crypto.cleanse. 2016-11-09 18:25:37 -08:00
Christopher Jeffrey
9e00fc6360
walletdb: disable witness wallets by default for now. 2016-11-09 18:25:37 -08:00
Christopher Jeffrey
0825007c3d
walletdb: setLookahead. 2016-11-09 18:25:37 -08:00
Christopher Jeffrey
4e1709e9b6
walletdb: lookahead of 10. 2016-11-09 18:25:37 -08:00
Christopher Jeffrey
4cb11da4cf
walletdb: safe sync option. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
04596522ea
walletdb: increase lookahead. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
4fcb07ff5f
walletdb: switch back to lookahead of 10. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
93d2c8811f
walletdb: switch to u32s to potentially avoid deserialization. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
827ab4b539
walletdb: varint serialization. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
e07f9b737c
walletdb: fix getAccounts. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
465a76a485
wallet: minor. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
d6b97efcc4
walletdb: fee handling. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
5069ec1bfb
walletdb: list blocks. 2016-11-09 18:25:36 -08:00
Christopher Jeffrey
8d624f1b0e
walletdb: better getAccounts. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
86e1e35f9a
txdb: add block entries. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
704d9e1783
walletdb: cleanup wipe method. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
5b43f76307
txdb: remove chainHeight from details json. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
3baddeebb6
walletdb: shared keys check. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
7faba4a23b
walletdb: comments. minor. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
015eaa1f2d
chaindb: better rescan algo. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
f5b7d7f2d9
migrate: walletdb 5 to 6. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
1a44f50ac7
walletkey: toJSON changes. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
c94884a188
walletdb: use account name index more. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
508ece491f
account: remove address methods. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
f1f5a2e5d3
account: remove change lookahead. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
7d3eb8f3fa
account: lookahead option. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
185586abb0
walletdb: acount index->name index. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
f699b4f12f
walletdb: lint. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
f3055e57bf
walletdb: account path indexing. 2016-11-09 18:25:34 -08:00
Christopher Jeffrey
d33557e2d7
walletdb: add path by account key. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
666e7d514f
walletdb: add startHeight option. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
b2c02a7052
chain: cleanup function names. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
2358784d43
wallet: optimize depth syncing. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
aa79d92a83
http: more wallet api calls. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
ace4c89391
config: fix option parsing for bcoin-cli. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
4ca5ad3824
http: fix get wallet tx for client. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
9489b3dce0
walletdb: drop noScan option. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
69242f5228
walletdb: refactor. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
dec45ac265
walletdb: refactor wallet mapping. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
60575c0ea0
walletdb: cleanup. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
3a89e627b8
walletdb: sync state and utxo handling refactor. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
b74c32cc4b
walletdb: sync state object refactor. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
45ad99c8f5
walletdb: add sync state object. 2016-11-09 18:25:32 -08:00
Christopher Jeffrey
3bc4fa5822
schnorr: fix issues mentioned in #89. 2016-11-09 18:24:34 -08:00
Christopher Jeffrey
60a4c0a34d
chachapoly: fix big-endian check for cross-browser support. fixes #100. 2016-11-09 18:08:47 -08:00
Christopher Jeffrey
53de684b4a
crypto: add cleanse function. 2016-11-09 17:02:54 -08:00
Christopher Jeffrey
c3a9b7378f
net: enable segwit compact blocks. 2016-11-06 22:50:08 -08:00
Christopher Jeffrey
62ef5ea7f4
bip152: implement segwit compact blocks. 2016-11-06 22:34:05 -08:00
Christopher Jeffrey
cf5349cdaa
network: add maxFeeRate for fee estimation. 2016-11-05 18:19:19 -07:00
Christopher Jeffrey
60c64a6eba
peer: kill unresponsive peers. 2016-11-05 09:11:16 -07:00
Christopher Jeffrey
6dfe8c59eb
mempool: refactor addr index. 2016-11-04 17:41:11 -07:00
José Pedro Rusakiewicz
c9aada2420 solved p2pk comparison in mtx 2016-11-04 15:23:17 +00:00
Christopher Jeffrey
8be68ab392
chainentry: fix potential versionbits comparison failure. 2016-11-03 16:35:31 -07:00
Christopher Jeffrey
407f416f22
rpc: update supermajority softfork object. 2016-11-03 15:41:47 -07:00
Christopher Jeffrey
5dfdbfb8b1
mtx: clean up signing methods. 2016-11-02 21:26:39 -07:00
Christopher Jeffrey
e68538633d
mtx: fix scriptVector for p2pk. fixes #93. 2016-11-02 21:21:19 -07:00
Christopher Jeffrey
f1b266e53b
mtx: pass keyring into all signing methods. 2016-11-02 21:20:19 -07:00
Christopher Jeffrey
2bd3ac4618
pool: fix deadlock in block sync. 2016-11-02 19:16:22 -07:00
Christopher Jeffrey
5d3f15c2d8
net: consider alert packets to be "unknown". 2016-11-02 19:16:22 -07:00
Christopher Jeffrey
2d95e6b723
pool: disable alert system entirely. 2016-11-02 19:16:22 -07:00
Christopher Jeffrey
889f796748
peer: fix race condition - open emitted after peer.close(). 2016-11-02 19:16:22 -07:00
Christopher Jeffrey
cc58b507eb
wallet: increaseFee call. 2016-10-27 17:13:20 -07:00
Christopher Jeffrey
a4a408a18d
wallet: fix master key race conditions. 2016-10-26 17:45:13 -07:00
Christopher Jeffrey
ea756026e7
http: resolve promises for setloglevel and restartsync. 2016-10-26 10:17:43 -07:00
Christopher Jeffrey
d413afbbf5
rpc: add setloglevel and restartsync. 2016-10-26 09:55:39 -07:00
Christopher Jeffrey
001783b759
fees: fix minimum fee for fee estimation. 2016-10-26 09:55:21 -07:00
Christopher Jeffrey
6e5bb6eef7
wallet: better masterkey handling for timeouts. 2016-10-25 11:27:47 -07:00
Christopher Jeffrey
bf6d992855
walletdb: browser key. 2016-10-25 10:40:29 -07:00
Christopher Jeffrey
ae2573bc57
http: require api key for new websocket calls. 2016-10-25 09:16:26 -07:00
Christopher Jeffrey
9988123b61
http: improve info call. 2016-10-25 08:40:08 -07:00
Christopher Jeffrey
322e74cbb7
http: censor passphrase from logs. 2016-10-25 08:11:22 -07:00
Christopher Jeffrey
ef387f969f
peer: minor - fix peer.sync(). 2016-10-24 20:49:18 -07:00
Christopher Jeffrey
48c65bb58b
node: do not listen until after wallet has loaded. 2016-10-24 19:37:07 -07:00
Christopher Jeffrey
c9b038d4e0
scanning: more bloom filter things. 2016-10-24 19:16:10 -07:00
Christopher Jeffrey
c9b84252af
scanning: only add matching txids for outputs. 2016-10-24 18:55:34 -07:00
Christopher Jeffrey
02de140c91
walletdb: minor. 2016-10-24 18:49:09 -07:00
Christopher Jeffrey
5a4ebccfd4
walletdb: use bloom filter for rescanning. 2016-10-24 18:43:39 -07:00
Christopher Jeffrey
3bffbed25a
global: lint. 2016-10-24 17:58:23 -07:00
Christopher Jeffrey
3ee1848b58
spvnode: fix filter loading. 2016-10-24 16:45:47 -07:00
Christopher Jeffrey
2d488749d5
chaindb: reenable options. 2016-10-24 16:42:59 -07:00
Christopher Jeffrey
39693b18e9
walletdb: minor. 2016-10-24 16:38:10 -07:00
Christopher Jeffrey
d8006cb9df
coin: better json. 2016-10-24 16:35:19 -07:00
Christopher Jeffrey
842ba5f5b6
txdb: fix confirmations. 2016-10-24 16:27:27 -07:00
Christopher Jeffrey
926d9cb5aa
chaindb: store network in options. 2016-10-24 16:21:24 -07:00
Christopher Jeffrey
d2a9352c9c
migrate: walletdb 4 to 5. 2016-10-24 15:54:11 -07:00
Christopher Jeffrey
3b333c07cd
walletdb: start separating out walletdb. 2016-10-24 15:32:22 -07:00
Christopher Jeffrey
ffc17b48c2
walletdb: more refactoring. 2016-10-24 10:57:31 -07:00
Christopher Jeffrey
45464c412f
walletdb: refactor block handling. 2016-10-24 10:40:53 -07:00
Christopher Jeffrey
11a7515bfd
walletdb: improve block handling. 2016-10-23 22:24:00 -07:00
Christopher Jeffrey
37e3219c4c
txdb: fix conf calculation. 2016-10-23 15:19:40 -07:00
Christopher Jeffrey
e9fc3c816a
txdb: fix removeConflict. 2016-10-23 15:15:57 -07:00
Christopher Jeffrey
6e1c4d27b5
txdb: fix double spends and replace by fee. 2016-10-23 14:52:25 -07:00
Christopher Jeffrey
0c85aeae44
walletdb: minor. 2016-10-23 14:30:40 -07:00
Christopher Jeffrey
e02e766518
walletdb: fix path map cache. 2016-10-23 14:17:32 -07:00
Christopher Jeffrey
45816e4527
walletdb: better wallet commits. 2016-10-23 13:44:07 -07:00
Christopher Jeffrey
b98ca596d1
lru: minor. 2016-10-23 13:35:16 -07:00
Christopher Jeffrey
233f0c5278
chaindb: add forceWitness option. 2016-10-23 05:35:37 -07:00
Christopher Jeffrey
331daf0f6a
lru: better atomicity for chain and walletdb. 2016-10-23 04:54:45 -07:00
Christopher Jeffrey
0ebeb1e643
lru: atomic batches. 2016-10-23 04:45:52 -07:00
Christopher Jeffrey
3c48124658
lint. 2016-10-23 03:24:32 -07:00
Christopher Jeffrey
be86757ee8
walletdb: log level. 2016-10-23 03:17:18 -07:00
Christopher Jeffrey
f9ffff8e80
walletdb: refactor. 2016-10-23 03:02:06 -07:00
Christopher Jeffrey
282fe7e4d9
txdb: refactor block handling. 2016-10-23 02:45:24 -07:00
Christopher Jeffrey
debe2e4ec7
walletdb: pruning. 2016-10-22 14:34:30 -07:00
Christopher Jeffrey
4128ddba36
wallet: more chain atomicity. 2016-10-22 13:34:28 -07:00
Christopher Jeffrey
5668e19c7e
mempool: rbf option. 2016-10-22 12:21:31 -07:00
Christopher Jeffrey
f735c7da83
chain: only rescan output hashes. 2016-10-22 12:21:00 -07:00
Christopher Jeffrey
d371fc5d14
chain: add chain options and merkle block serialization. 2016-10-22 11:41:38 -07:00
Christopher Jeffrey
293bf20b9c
walletdb: store chain by height. 2016-10-22 10:07:19 -07:00
Christopher Jeffrey
282a8f7bb4
walletdb: improve block connection. 2016-10-22 05:12:27 -07:00
Christopher Jeffrey
0ead568225
rpc: fix wallet and account balances. 2016-10-21 21:48:34 -07:00
Christopher Jeffrey
89f175dd7a
chain: drop argument due to hardfork. 2016-10-21 19:42:31 -07:00
Christopher Jeffrey
cb87c35caf
networks: revert to old testnet seeds for now. 2016-10-21 19:38:13 -07:00
Christopher Jeffrey
ab9cf9ec7e
chain: optimize isMainChain. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
b0b8d333a5
hardfork: remove IsSuperMajority soft fork check. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
083c5ea8f5
networks: add bip65 and bip66 heights for activation. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
64054044a1
networks: use hex constants. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
10e959efde
chain: refactor alt chain saving. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
21b2a12278
http: convert token to buffer for ws auth. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
b76a382f78
walletdb: refactor var names. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
4e331f1111
tx: lint. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
919f87f9d0
walletdb: do not insert txs redeeming from relevant txs. 2016-10-21 19:38:12 -07:00
Christopher Jeffrey
9e0542dba1
chain: improve reset. fix versionbits checkpoints. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
96e6cee67d
txdb: fix coin incrementation. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
8e1b2ea8e9
chain: do not consider potentially malleated blocks invalid. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
c2c06f732b
wallet: comments. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
2cc2ec4bf3
txdb: refactor. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
a80c438995
txdb: cleanup. 2016-10-21 19:38:11 -07:00
Christopher Jeffrey
0bf384b84a
txdb: fix fillHistory. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
de18e92117
coin: safely handle coin.fromTX. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
690c8840e0
tx: clean up address handling. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
de178092f1
walletdb: minor. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
d194f3b5d0
mempool: mem usage. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
5df4cabb94
fullnode: no resolution for walletdb. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
3aee9861a3
txdb: fee. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
9049053a1e
http: send details after send. 2016-10-21 19:38:10 -07:00
Christopher Jeffrey
de690e4f22
txdb: fix assert. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
33bcc08656
tx/block: cache hashes. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
d73c80c21d
tx: serialization. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
284932f4cf
txdb: serialization. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
2f72937686
txdb: comments. serialization. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
557c1044cc
txdb: new orphan resolution. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
519280e1bd
txdb: refactor x3. 2016-10-21 19:38:09 -07:00
Christopher Jeffrey
62c59cc4f5
networks: segwit start time (main), segwit by default (testnet). 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
51a64b3d33
txdb: minor. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
e35f4aa186
bip70: fix bn. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
04f071f9b0
txdb: refactor x2. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
3412916c89
txdb: refactor. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
f075767cdb
txdb-state-spent-flag 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
11b2f1a7bc
txdb: less confusing tx details. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
9ed439b60c
txdb: reject rbf. 2016-10-21 19:38:08 -07:00
Christopher Jeffrey
acaf0600e7
mempool: do not accept replace by fee. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
da6a575469
walletdb: better mapping. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
aa0f73b27d
txdb: misc. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
8368265c71
test: txdb no resolution tests. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
2e56a82280
txdb: handle state and balance differently. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
06a104c34d
txdb: cleanup. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
4232cdc6b9
txdb: spent state. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
b1996b9717
txdb: handle coins and double spenders differently. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
e3a6d7f35e
miner: workers and mining fixes. 2016-10-21 19:38:07 -07:00
Christopher Jeffrey
5186435f8f
txdb: confirmation. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
a62fdb3356
http: stop resend from hanging. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
82c2d0f143
txdb: cleanup removal. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
c07848fadd
txdb: orphan resolution. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
212c1a3430
txdb: fix verify for orphans. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
605874068b
s/bn/BN/g 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
b58c9746ec
http: resend call. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
1be63b1bc7
workers: refactor. 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
469474ae0a
tx: refactor witness sighash. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
4aadce752d
txdb: zap. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
9fe6919416
txdb: refactor. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
d697684b83
txdb: inspection. misc. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
7f27fade6c
txdb: state. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
aed03c2655
txdb: add txdb state. 2016-10-21 19:38:05 -07:00
Christopher Jeffrey
a864ec1552
wallet: refactor passphrase options. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
25ac6b70de
hd: rename testing methods. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
6761122580
wallet: refactor masterkey. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
5a353d1592
locker: refactor. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
a2d6ed56e7
refactor: have promises resolve to undefined. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
0802dbbb0f
locker: fix destroy method. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
24cf42e6bf
txdb: add assert. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
2af685ec1f
txdb: typo. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
ef44dcd6cb
refactor: minor. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
94720ce814
docs: lowlevelup. 2016-10-21 19:38:03 -07:00
Christopher Jeffrey
958b8ead18
doc: fix parse error. 2016-10-21 19:38:03 -07:00
Christopher Jeffrey
4e5ec39cc9
txdb: refactor range queries. 2016-10-21 19:38:03 -07:00
Christopher Jeffrey
8a158bbe41
minerblock: fix starting weight. 2016-10-21 19:38:03 -07:00
Christopher Jeffrey
d3ac6eba9e
script: minor. 2016-10-21 19:38:03 -07:00
Christopher Jeffrey
e2d51352a8
chain: refactor reorgs. 2016-10-06 04:34:58 -07:00
Christopher Jeffrey
227766e8eb
miner: comments. 2016-10-06 04:18:52 -07:00
Christopher Jeffrey
985f4c95dc
miner: make jshint happy. 2016-10-06 04:17:11 -07:00
Christopher Jeffrey
7506d89947
txdb: improve insertion handling. 2016-10-06 04:05:58 -07:00
Christopher Jeffrey
f629c6db5c
miner: fix sorting. 2016-10-06 02:31:50 -07:00
Christopher Jeffrey
3cc5ce16b9
http/miner: misc fixes. 2016-10-06 02:25:15 -07:00
Christopher Jeffrey
97c89303ba
pool: fix broadcast items... again. 2016-10-06 02:07:53 -07:00
Christopher Jeffrey
56aca55b1e
pool: fix broadcasting. clean up loadrequest. 2016-10-06 01:58:05 -07:00
Christopher Jeffrey
5b3f6bb042
miner: better stopping and starting. 2016-10-06 01:18:08 -07:00
Christopher Jeffrey
12a5bcc4e2
miner: better sorting of txs. 2016-10-06 00:27:12 -07:00
Christopher Jeffrey
749a912f8c
miner: refactor. 2016-10-05 21:46:47 -07:00
Christopher Jeffrey
2c31d7f1b0
miner: update block header during hashing. 2016-10-05 20:05:29 -07:00
Christopher Jeffrey
49d41f17e4
mempool: make jshint happy. 2016-10-05 19:59:18 -07:00
Christopher Jeffrey
4e7d0af456
node: no automatic zap. 2016-10-05 19:56:45 -07:00
Christopher Jeffrey
f57867f929
node: rescan before zap. 2016-10-05 19:55:55 -07:00
Christopher Jeffrey
7f22223436
http: rename zapAll for consistency. 2016-10-05 19:51:46 -07:00
Christopher Jeffrey
36a63694a0
mempool: fix reorg handling. 2016-10-05 19:49:03 -07:00
Christopher Jeffrey
1b489f42cd
txdb: zap assert. 2016-10-05 19:35:34 -07:00
Christopher Jeffrey
eee6866319
mempool: fix removeBlock lock. 2016-10-05 19:29:16 -07:00
Christopher Jeffrey
5bb21070c4
wallet: refactor and add global zap. 2016-10-05 19:16:33 -07:00
Christopher Jeffrey
acae838059
miner: refactor jobs and pool. 2016-10-05 16:56:26 -07:00
Christopher Jeffrey
0e8f4712e3
workers: refactor framer and parser. 2016-10-05 14:53:01 -07:00
Christopher Jeffrey
02ccde4f8a
wallet: handle account init errors. 2016-10-05 08:02:37 -07:00
Christopher Jeffrey
41a94dacd2
http: fix hd key handling. 2016-10-05 07:25:03 -07:00
Christopher Jeffrey
323ea3eda5
http: handle api keys better. 2016-10-05 07:11:13 -07:00
Christopher Jeffrey
745c12ef3a
http: allow admin status for noAuth. 2016-10-05 05:59:56 -07:00
Christopher Jeffrey
383c8f085f
http: add admin key for dos-able calls. 2016-10-05 05:51:32 -07:00
Christopher Jeffrey
80b6968318
rpc: sort txs and coins. 2016-10-05 05:41:07 -07:00
Christopher Jeffrey
80aa8f8c4c
http: more methods and better validation. 2016-10-05 04:55:19 -07:00
Christopher Jeffrey
6f18d890f1
wallet: better option handling. expose more txdb methods. 2016-10-05 04:48:06 -07:00
Christopher Jeffrey
bc4e9e7387
node: scan method. 2016-10-05 04:29:10 -07:00
Christopher Jeffrey
c3ff43c85b
http: better querystring parsing. 2016-10-05 04:23:26 -07:00
Christopher Jeffrey
ac483eaedd
wallet: improve ensureAccount. 2016-10-05 02:21:42 -07:00
Christopher Jeffrey
c866598e85
crypto: error messages. 2016-10-05 02:21:19 -07:00
Christopher Jeffrey
f697dc18bb
chaindb: better reset. 2016-10-05 02:15:51 -07:00
Christopher Jeffrey
402996ba74
rpc: add selectwallet call. 2016-10-05 00:57:14 -07:00
Christopher Jeffrey
279df328d1
lint. 2016-10-04 23:17:28 -07:00
Christopher Jeffrey
0eb29e50b5
chaindb: minor. 2016-10-04 22:45:27 -07:00
Christopher Jeffrey
fe2f2fcc2a
chaindb: reorganize some functions. 2016-10-04 22:42:08 -07:00
Christopher Jeffrey
1f790f94b9
chaindb: refactor writes and pruning. 2016-10-04 22:34:46 -07:00
Christopher Jeffrey
5e1b56363b
http: add watchOnly options. 2016-10-04 17:06:56 -07:00
Christopher Jeffrey
cd0a8f2425
net: fix packet checksum error handling. 2016-10-04 15:55:10 -07:00
Christopher Jeffrey
6344eebc2d
wallet: add pathinfo to index.js. 2016-10-04 13:40:31 -07:00
Christopher Jeffrey
6215954ffb
rpc: update for tx->txdb change. 2016-10-04 13:36:02 -07:00
Christopher Jeffrey
dd7ccd40db
wallet: path version and type. 2016-10-04 12:30:44 -07:00
Christopher Jeffrey
2c066ddce1
walletdb: fix destroying. 2016-10-04 05:39:35 -07:00
Christopher Jeffrey
a41d27e828
wallet: fix adding of tx. 2016-10-04 05:32:00 -07:00
Christopher Jeffrey
874d725f40
wallet: minor. 2016-10-04 05:26:22 -07:00
Christopher Jeffrey
3599ab5d9a
wallet: refactor. 2016-10-04 04:22:52 -07:00
Christopher Jeffrey
ee4014a12f
hd: minor fixes. 2016-10-04 02:47:33 -07:00
Christopher Jeffrey
08c7136ef4
wallet: share batches between wallet and txdb. 2016-10-04 01:36:01 -07:00
Christopher Jeffrey
a800f8c44b
txdb: more atomicity for double-spender removal. 2016-10-03 23:52:46 -07:00
Christopher Jeffrey
aa8f9fdf90
wallet: path handling. 2016-10-03 23:45:03 -07:00
Christopher Jeffrey
9a3e3fba3a
wallet: make more state local to wallets. 2016-10-03 20:42:06 -07:00
Christopher Jeffrey
3cef641780
wallet: account cache + locking issue. 2016-10-03 16:57:27 -07:00
Christopher Jeffrey
d77215009f
hd: cache. 2016-10-03 16:49:00 -07:00
Christopher Jeffrey
b45c20b157
wallet: options parsing. 2016-10-03 15:53:07 -07:00
Christopher Jeffrey
16f8fef00b
hd: fix HD.from. 2016-10-03 14:50:19 -07:00
Christopher Jeffrey
56e4bace42
wallet: account options. 2016-10-03 14:43:35 -07:00
Christopher Jeffrey
b36491dd53
script: nullfail - minor. 2016-10-03 14:16:07 -07:00
Christopher Jeffrey
a22611b990
asyncobject: refactor. 2016-10-03 08:55:09 -07:00
Christopher Jeffrey
0d9afabd87
chaindb: fix reorg handling for spv. 2016-10-03 08:48:26 -07:00
Christopher Jeffrey
f5625e76e1
wallet: refactor variable names. 2016-10-03 08:31:18 -07:00
Christopher Jeffrey
f1b4c61a99
wallet: serialization. 2016-10-03 08:20:40 -07:00
Christopher Jeffrey
0f74292082
refactor: style. 2016-10-03 07:58:12 -07:00
Christopher Jeffrey
51b526b7fb
migrate: get wallet migration working. 2016-10-03 07:48:08 -07:00
Christopher Jeffrey
a4ea496d62
txdb: whitespace. 2016-10-03 07:29:42 -07:00
Christopher Jeffrey
5010c5588b
tx/block: s/32/u32/g 2016-10-03 05:32:39 -07:00
Christopher Jeffrey
476cc48702
tx: improve witness parsing. 2016-10-03 05:19:03 -07:00
Christopher Jeffrey
32a2e119e1
walletkey: comments and fixes. 2016-10-03 03:43:16 -07:00
Christopher Jeffrey
44b5a8725e
walletkey: minor. 2016-10-03 03:28:42 -07:00
Christopher Jeffrey
2097450b42
wallet: move watchOnly flag to wallet for safety. 2016-10-03 03:03:10 -07:00
Christopher Jeffrey
25946b8909
wallet: minor. 2016-10-03 02:47:52 -07:00
Christopher Jeffrey
41b342350f
browser: add rpc. 2016-10-03 02:29:04 -07:00
Christopher Jeffrey
3e59282c66
deps: browser transform. 2016-10-03 01:48:08 -07:00
Christopher Jeffrey
10ee1dce6e
wallet: refactor and comments. 2016-10-02 23:24:14 -07:00
Christopher Jeffrey
4f46bb3324
wallet: move master key. 2016-10-02 23:24:14 -07:00
Christopher Jeffrey
1a93f84b47
wallet: support scrypt as a derivation method. 2016-10-02 23:24:14 -07:00
Christopher Jeffrey
c338f8d0e6
account: fix nested derivation. 2016-10-02 23:24:14 -07:00
Christopher Jeffrey
d7c1ee9dc2
migrate: walletdb 2 to 3. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
7b3134d782
account: hd watchonly support. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
57bc9bf4b0
wallet: better encrypted for imported keys. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
1c483aa9ca
script/node: minor. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
bf0a22e138
script: semicolon. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
2593572066
chaindb: re-enable compression. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
f576ed8be7
script: cleanup. 2016-10-02 23:24:13 -07:00
Christopher Jeffrey
2a12b908a9
script: improve isStandard. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
c43df089f6
script: refactor verification and execution. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
c13852f81e
script: fix code separators for segwit. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
e850227793
utils: concat. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
1e362c8166
refactor: minor. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
6dfa47e7f4
refactor: rename constructors. 2016-10-02 23:24:12 -07:00
Christopher Jeffrey
76a32feb5d
utils: remove some control flow. add base58. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
1a8657d131
spawn: rename to co. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
1213782b3e
wallet: misc. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f0223146af
deps: massive refactor. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
f96ee525f5
http: refactor deps and tests. 2016-10-02 23:24:11 -07:00
Christopher Jeffrey
24b92a2b58
bip70: refactor deps. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
323d5fb8a4
hd: refactor deps. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
d842b5639b
chain: refactor deps. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
376d6303b7
env: refactor how default instances work. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
960393a53f
wallet: use separate branch for nested addrs. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
19c8959c1a
wallet: rename change to branch. 2016-10-02 23:24:10 -07:00
Christopher Jeffrey
8c5c9de132
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
d2832f001d
wallet: wallet key. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
61a77d90e9
wallet: more rewriting. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
2544e5310a
walletdb: path refactor. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
77e1af4faf
script: fix minimalif. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
d4778d21b2
chain: misc refactoring. 2016-10-02 23:24:09 -07:00
Christopher Jeffrey
79e70d7bbb
account: path names. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
c0d47baa08
net: minor. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
087177b4a6
chaindb: no compression. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
f297591193
http: minor. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
60eec9e0a0
http: fix subtractFee validation. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
f5a8cb3ec0
locker: more refactoring. 2016-10-02 23:24:08 -07:00
Christopher Jeffrey
15350ead4f
locker: refactor. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
2a43005c6b
locker: fix nop. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
63dd30393c
script: implement minimalif. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
144beb343a
mempool: remove confusing fee nonsense. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
99ef1fbc7b
test: update tx tests. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
37de8bf2a7
net: always pause socket when handling a packet. 2016-10-02 23:24:07 -07:00
Christopher Jeffrey
9aaf5ea2a0
peer. 2016-10-02 23:24:06 -07:00
Christopher Jeffrey
661a8f2f20
peer: flush data to socket. 2016-10-02 23:24:06 -07:00
Christopher Jeffrey
a467b4e475
refactor: misc. 2016-10-02 23:24:06 -07:00
Christopher Jeffrey
c7fb41f4cd
wallet/txdb: refactor. 2016-10-02 23:23:40 -07:00
Christopher Jeffrey
8c923179dc
chain: refactor tx validation. 2016-09-26 18:11:19 -07:00
Christopher Jeffrey
960d144455
ec: start migrating towards secp256k1. 2016-09-24 19:28:59 -07:00
Christopher Jeffrey
3f1946cd7e
refactor: lint. misc. 2016-09-24 02:41:35 -07:00
Christopher Jeffrey
5a6099e992
mempool: fix mempool.has(). 2016-09-24 02:34:00 -07:00
Christopher Jeffrey
099fe186f0
spawn: fix call and promisify. 2016-09-24 02:23:00 -07:00
Christopher Jeffrey
aedbac0be6
chaindb: remove initState. 2016-09-24 00:39:45 -07:00
Christopher Jeffrey
b7f82990c3
chain: refactor open. 2016-09-24 00:23:24 -07:00
Christopher Jeffrey
6589cdc95b
refactor: data management fixes. 2016-09-23 23:40:36 -07:00
Christopher Jeffrey
1906034106
refactor: minor. 2016-09-23 21:36:05 -07:00
Christopher Jeffrey
6357795fd9
txdb: refactor. 2016-09-23 18:42:38 -07:00
Christopher Jeffrey
37586e5ad8
refactor: db. 2016-09-23 05:32:08 -07:00
Christopher Jeffrey
ed66e0b7cc
test: fix chain tests. 2016-09-23 02:11:16 -07:00
Christopher Jeffrey
f0a37f3e5e
refactor: replace callback comments. 2016-09-23 01:05:06 -07:00
Christopher Jeffrey
3b14525d17
refactor: lint. misc. 2016-09-23 00:56:53 -07:00
Christopher Jeffrey
9bbd8de8bf
refactor: remote rescanning. misc fixes. 2016-09-23 00:42:16 -07:00
Christopher Jeffrey
02b19824dc
refactor: locks. 2016-09-23 00:10:29 -07:00
Christopher Jeffrey
c2e1e4bfc9
refactor: chain. txdb. wallet. 2016-09-22 23:58:19 -07:00
Christopher Jeffrey
63a9dc61f6
refactor: peer. etc. 2016-09-22 16:05:22 -07:00
Christopher Jeffrey
19e5359f0f
pool: co. 2016-09-22 06:25:10 -07:00
Christopher Jeffrey
a7d3626975
db: drop db.fetch. 2016-09-22 06:11:38 -07:00
Christopher Jeffrey
4e11bbbf9f
refactor: locks. 2016-09-22 05:24:18 -07:00
Christopher Jeffrey
8cb6faa078
refactor: browser. benchmarks. 2016-09-22 04:03:01 -07:00
Christopher Jeffrey
f158a73a2d
refactor: fixes. workers. locks. 2016-09-22 02:54:56 -07:00
Christopher Jeffrey
8c11a2aa3f
generators: refactor http. 2016-09-22 01:29:48 -07:00
Christopher Jeffrey
ae83aa6fba
refactor: more work. 2016-09-22 00:24:59 -07:00
Christopher Jeffrey
60d162eb20
refactor: s/spawn.co/co/g 2016-09-21 22:59:48 -07:00
Christopher Jeffrey
ec0d50d506
refactor: improve generator perf. 2016-09-21 22:58:27 -07:00
Christopher Jeffrey
2899219033
refactor: cleanup. 2016-09-21 11:03:48 -07:00
Christopher Jeffrey
df23810b0c
refactor: fix cli. finish rpc. 2016-09-21 10:46:07 -07:00
Christopher Jeffrey
b616d75128
refactor: db. 2016-09-21 00:14:16 -07:00
Christopher Jeffrey
d78151d3d3
refactor: promises. 2016-09-20 15:28:14 -07:00
Christopher Jeffrey
72597c9faf
test: add more mempool tests. 2016-09-19 14:16:14 -07:00
Christopher Jeffrey
d18482507a
mempool: safer handling of wtxs. 2016-09-19 06:53:21 -07:00
Christopher Jeffrey
c0f4225b32
tx/mempool: fix mutated witnesses in rejects filter. 2016-09-19 04:41:29 -07:00
Christopher Jeffrey
27e574c7e5
script: minor. 2016-09-18 14:19:44 -07:00
Christopher Jeffrey
ab052eb81d
script: implement bip114v2. 2016-09-18 14:17:11 -07:00
Christopher Jeffrey
9561b3ee74
rpc: getblocktemplate - abide by bip145. 2016-09-18 12:57:50 -07:00
Christopher Jeffrey
1af3ac63de
chain: bip147. 2016-09-18 12:30:23 -07:00
Christopher Jeffrey
3f77f12c03
rpc: typo. 2016-09-18 12:10:50 -07:00
Christopher Jeffrey
b03a10d790
script: implement bip146 (nullfail). 2016-09-18 12:03:12 -07:00
Christopher Jeffrey
a508d5a51d
rpc: getwork - verify header before mutating current block. 2016-09-17 19:48:42 -07:00
Christopher Jeffrey
5dadb224ca
rpc: lint. 2016-09-17 19:23:45 -07:00
Christopher Jeffrey
170cf0db28
rpc: misc fixes. 2016-09-17 19:20:28 -07:00
Christopher Jeffrey
5e18dddd37
http: make http api safe for spv. 2016-09-17 19:11:08 -07:00
Christopher Jeffrey
d9a3dac869
rpc: make rpc safe for spv mode. 2016-09-17 19:00:58 -07:00
Christopher Jeffrey
666a7b7999
rpc: getwork longpolling and other improvements. 2016-09-17 18:26:54 -07:00
Christopher Jeffrey
d1cfcca3d9
node: fix payout address setting. 2016-09-17 18:26:23 -07:00
Christopher Jeffrey
1096cd0bd9
peer: fix checksum optimization for spv serving. 2016-09-17 18:25:52 -07:00
Christopher Jeffrey
061548f2ac
rpc: more mining nonsense. 2016-09-17 15:27:45 -07:00
Christopher Jeffrey
6598245486
rpc: improve mining. 2016-09-17 06:24:58 -07:00
Christopher Jeffrey
3f5c5cf603
parser: fix header parsing. 2016-09-16 19:36:02 -07:00
Christopher Jeffrey
2881294bf4
parser: minor. 2016-09-16 19:32:48 -07:00
Christopher Jeffrey
58a5372b09
bip151: minor. 2016-09-16 19:26:24 -07:00
Christopher Jeffrey
d6576c51f1
merkleblock: use buffers for tree hashes. 2016-09-16 19:18:00 -07:00
Christopher Jeffrey
eb5d0cf972
peer: refactor. 2016-09-16 18:50:56 -07:00
Christopher Jeffrey
757aeb84c0
parser: minor. 2016-09-16 17:37:14 -07:00
Christopher Jeffrey
1e93d5ec7d
bip151: refactor. 2016-09-16 17:32:44 -07:00
Christopher Jeffrey
5da0aceb38
packets 2016-09-16 17:03:56 -07:00
Christopher Jeffrey
9b097f97b9
walletdb: fix pending tx iteration. 2016-09-16 01:02:03 -07:00
Christopher Jeffrey
7aa2ecb24b
peer: fix serving broadcasted txs. 2016-09-16 00:03:55 -07:00
Christopher Jeffrey
9dd863d9f2
random: require random from crypto. 2016-09-15 13:36:18 -07:00
Christopher Jeffrey
530fbd61dd
ec: fix ecdh with secp256k1-node. 2016-09-15 13:35:14 -07:00
Christopher Jeffrey
19f61773f7
http: fix typo in validation. 2016-09-14 15:54:02 -07:00
Christopher Jeffrey
a34f680f9a
mnemonic: use binary search for lang detection. 2016-09-14 15:53:51 -07:00
Christopher Jeffrey
269b31ad8e
mempool: minor. 2016-09-14 15:53:30 -07:00
Christopher Jeffrey
8daddcc458
mnemonic: use a binary search for word indexes. 2016-09-13 20:06:53 -07:00
Christopher Jeffrey
07285ebdd7
refactor: rename cost to weight. 2016-09-13 02:06:18 -07:00
Christopher Jeffrey
0c90212f6d
refactor: drop all object literals. 2016-09-13 00:13:07 -07:00
Christopher Jeffrey
2dba490d02
crypto: expose scrypt. 2016-09-12 22:56:13 -07:00
Christopher Jeffrey
a52f239f3c
crypto: always use buffers for hmacs. 2016-09-12 22:33:24 -07:00
Christopher Jeffrey
8f0d74d563
crypto: use native checkMerkleBranch. 2016-09-12 22:27:28 -07:00
Christopher Jeffrey
7f31a41e84
perf: start using bcoin-native. 2016-09-12 14:10:20 -07:00
Christopher Jeffrey
27ba246027
ldb: minor. 2016-09-11 02:25:06 -07:00
Christopher Jeffrey
b346397449
db: improve backups. 2016-09-11 00:24:40 -07:00
Christopher Jeffrey
91324b2531
ldb: error on missing features. 2016-09-10 23:56:18 -07:00
Christopher Jeffrey
f3a4a0fb30
db: more aliases. 2016-09-10 22:13:49 -07:00
Christopher Jeffrey
7414e1b65f
ldb: change some lmdb options. 2016-09-10 22:09:05 -07:00
Christopher Jeffrey
681855093c
db: implement hot backups. 2016-09-10 21:31:07 -07:00
Christopher Jeffrey
8d5bd36ac7
walletdb: cleanup. 2016-09-09 12:56:06 -07:00
Christopher Jeffrey
d82f061c83
minor: lint. 2016-09-08 18:38:37 -07:00
Christopher Jeffrey
da054ec3f6
network: remove net def height property. 2016-09-08 18:10:31 -07:00
Christopher Jeffrey
eb74d70e84
network: rename allowMinDifficultyBlocks. 2016-09-08 18:08:16 -07:00
Christopher Jeffrey
6741df1fca
network: refactor. optimize startup time. 2016-09-08 17:59:12 -07:00
Christopher Jeffrey
82a69b88b1
network: add simnet to network types. 2016-09-08 17:47:29 -07:00
Christopher Jeffrey
9d08f8bcb2
minor: whitespace. 2016-09-08 17:44:52 -07:00
Christopher Jeffrey
45e117a186
network: implement btcd simnet. 2016-09-08 17:43:58 -07:00
Christopher Jeffrey
f00eeba5a7
script: refactor isLowDER. 2016-09-07 14:02:52 -07:00
Christopher Jeffrey
4e94d4a594
proxysocket: fix pow. 2016-09-07 13:52:00 -07:00
Christopher Jeffrey
af7846c278
script: removeData should not throw on reencoding of bad pushes. 2016-09-06 22:31:12 -07:00
Christopher Jeffrey
b0d7fc14b1
random: optimize fallback. 2016-09-06 18:21:14 -07:00
Christopher Jeffrey
c9ebe29e39
crypto: do not expose crypto module from utils. 2016-09-06 15:15:36 -07:00
Christopher Jeffrey
7316a6f395
random: lint. 2016-09-06 11:27:00 -07:00
Christopher Jeffrey
d41f293b40
db: optimize each(). 2016-09-06 01:57:53 -07:00
Christopher Jeffrey
a02564e0a1
test: fix http tests. 2016-09-06 00:56:25 -07:00
Christopher Jeffrey
c43c84cde7
mtx: cleanup coin selector. 2016-09-06 00:47:41 -07:00
Christopher Jeffrey
1b87514542
mtx: refactor coin selection. 2016-09-05 23:57:24 -07:00
Christopher Jeffrey
1edb5aa4cf
crypto: add random.js. 2016-09-05 23:33:36 -07:00
Christopher Jeffrey
28acda024a
chaindb: fix reset atomicity. 2016-09-03 16:51:32 -07:00
Christopher Jeffrey
ae2f90890a
wallet/node: refactor node. resend all walletdb txs. 2016-09-02 18:58:10 -07:00
Christopher Jeffrey
0cbab6e72e
schnorr: generate nonce pairs. 2016-09-01 18:10:50 -07:00
Christopher Jeffrey
a0726efe75
crypto: preliminary support for schnorr signatures. 2016-09-01 02:06:08 -07:00
Christopher Jeffrey
5a41c04bfd
mtx: add setSequence. 2016-08-29 15:01:19 -07:00
Christopher Jeffrey
17487bfcf6
hd: fix generate. 2016-08-29 15:01:10 -07:00
Christopher Jeffrey
97e0122b8b
peer: do not fire events for unknown packets (bad). 2016-08-27 18:41:32 -07:00
Christopher Jeffrey
eb6aec9888
browser: return error for double end(). 2016-08-27 15:59:04 -07:00
Christopher Jeffrey
dd53e43958
pool: repurpose regular peers if no loader is available. 2016-08-27 15:53:04 -07:00
Christopher Jeffrey
2d61a43fba
db: fix level-js iterators. 2016-08-27 15:19:51 -07:00
Christopher Jeffrey
a143c78369
config: add querystring parsing. 2016-08-27 14:31:50 -07:00
Christopher Jeffrey
69fa80d353
packets: fix netaddress.setPort. 2016-08-27 13:20:54 -07:00
Christopher Jeffrey
47411fc5e2
proxysocket: minor. fix disconnect handling. 2016-08-27 12:44:12 -07:00
Christopher Jeffrey
51f817a60f
chaindb: refactor scanning. 2016-08-27 12:37:42 -07:00
Christopher Jeffrey
df66dc1277
pool: logs. 2016-08-27 10:57:27 -07:00
Christopher Jeffrey
d94c143b5d
pool: minor fixes. 2016-08-27 10:23:49 -07:00