Commit Graph

3627 Commits

Author SHA1 Message Date
Christopher Jeffrey
d92d6487b5
mempool: move memUsage method. 2017-02-28 20:55:50 -08:00
Christopher Jeffrey
653163929e
mempool: correct memusage numbers. 2017-02-28 20:48:51 -08:00
Christopher Jeffrey
92d896c729
mempool: refactor. 2017-02-28 17:21:16 -08:00
Christopher Jeffrey
3abc47c292
fullnode: minor. 2017-02-28 17:15:13 -08:00
Christopher Jeffrey
73210b3ed4
mempool: preliminary work for persistent fees. 2017-02-28 17:09:51 -08:00
Christopher Jeffrey
e7f850b4ba
fees: refactor estimator. 2017-02-28 16:57:45 -08:00
Christopher Jeffrey
42a2e61d7f
mempool: fix getDepends. 2017-02-28 15:22:35 -08:00
Christopher Jeffrey
c365ecb3ea
rpc: improve getrawtransaction. 2017-02-28 15:15:52 -08:00
Christopher Jeffrey
9f09de4867
rpc/http/wallet: more aggressive validation for addrs/keys. 2017-02-28 14:52:54 -08:00
Christopher Jeffrey
aa869e0b6a
fullnode: open http after walletdb. 2017-02-28 14:10:45 -08:00
Christopher Jeffrey
21bc517f8b
node: only add wallet addr if no others are available. 2017-02-28 14:05:46 -08:00
Christopher Jeffrey
e80c98d4e8
mempool: load descFee/descSize correctly. 2017-02-28 13:35:13 -08:00
Christopher Jeffrey
6dcbb93802
mempool: minor. 2017-02-28 13:21:53 -08:00
Christopher Jeffrey
7bfe5cfd08
mempool: return missing txs again. 2017-02-28 13:15:49 -08:00
Christopher Jeffrey
ce45b501da
mempool: lint. 2017-02-28 13:13:45 -08:00
Christopher Jeffrey
29fe6468eb
db: do not use isBrowser for bufferKeys check. see #137. 2017-02-28 13:04:55 -08:00
Christopher Jeffrey
7bd89b35c3
mempool: persist to disk. 2017-02-28 12:59:19 -08:00
Christopher Jeffrey
08936c8970
mempool: fix countDescendants (again). 2017-02-28 10:43:05 -08:00
Christopher Jeffrey
3ac91b9a77
mempoolentry: improve serialization. 2017-02-28 10:41:59 -08:00
Christopher Jeffrey
7ccea6fbb8
mempool: fix countDescendants. 2017-02-28 10:41:21 -08:00
Christopher Jeffrey
60ff33bdb2
block: minor. 2017-02-28 10:13:48 -08:00
Christopher Jeffrey
e9d87dcd98
refactor: lint. 2017-02-28 10:09:17 -08:00
Christopher Jeffrey
a4201e6bd5
peer: better stall detection. 2017-02-28 10:08:17 -08:00
Christopher Jeffrey
56ccfaa980
merkleblock/minerblock: fix hasTX calls. 2017-02-28 09:32:17 -08:00
Christopher Jeffrey
45952a4140
mempool: preliminary work for persistent mempool. 2017-02-28 09:20:23 -08:00
Christopher Jeffrey
914b66b94f
block: do not cache height parsing. 2017-02-28 09:20:23 -08:00
Christopher Jeffrey
a535d7d414
tx: fix witness item check. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
ac70656e71
chain/tx: fixes. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
33bda01d21
tx/mempool: simplify some witness policy. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
7688d80e74
block/chain: refactor block verification and caching. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
47c43ea39a
rpcclient: refactor error handling. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
89160bdfa8
workers: fix ecsign. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
cb5fa84042
rpc: minor fixes. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
c5e4aa0245
rpc: refactor help handling. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
39c1817043
chain: add verifyBlock method. expose on rpc. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
426ab85f15
block: remove commitment hash cache. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
f71f2d954b
chain: optimize reward calculation. 2017-02-28 09:20:22 -08:00
Christopher Jeffrey
2a69b7ab7a
pool: account for header download time before invoking stall behavior. 2017-02-28 09:13:03 -08:00
Christopher Jeffrey
5511526d98
hd: add spanish wordlist. fixes #138. 2017-02-28 05:59:11 -08:00
Christopher Jeffrey
2ee803810e
http: remove unnecessary headers. 2017-02-28 05:35:25 -08:00
Christopher Jeffrey
49bb9ed0fa
http: always parse json for compatability. fixes #146. 2017-02-28 05:30:10 -08:00
Christopher Jeffrey
e31ddaa61a
mining: remove mod size from priority. better free calculation. 2017-02-27 16:58:44 -08:00
Christopher Jeffrey
e577228944
miner: improve rate comparison. 2017-02-27 16:33:45 -08:00
Christopher Jeffrey
c02f19a288
miner: better block timestamp creation. 2017-02-27 09:12:56 -08:00
Christopher Jeffrey
369ef75840
miner: move logs. 2017-02-27 00:29:11 -08:00
Christopher Jeffrey
0120e67203
rpc: more accurate client rules handling (gbt). 2017-02-27 00:16:44 -08:00
Christopher Jeffrey
0a8228b3f4
miner: log block creation. 2017-02-26 23:06:46 -08:00
Christopher Jeffrey
2d9f96d86b
mempool: use virtual size weighted against sigops. 2017-02-26 22:50:25 -08:00
Christopher Jeffrey
769bbd1370
rpc: clean up some rpc calls. 2017-02-26 22:50:07 -08:00
Christopher Jeffrey
a68ade51bc
miner: minor. 2017-02-26 22:12:00 -08:00
Christopher Jeffrey
1dd0e366ac
mempool: fix descendant fees calculation. 2017-02-26 22:05:43 -08:00
Christopher Jeffrey
6d4a2c61cb
miner: fix priorityWeight check. 2017-02-26 21:54:49 -08:00
Christopher Jeffrey
b73b2fba85
heap: minor refactor. 2017-02-26 21:53:05 -08:00
Christopher Jeffrey
e49e877f17
rpc: do not use weight pre-segwit (see 9fc7f0b). 2017-02-26 21:20:24 -08:00
Christopher Jeffrey
70d4de39ce
miner: use a proper priority queue. 2017-02-26 12:53:41 -08:00
Christopher Jeffrey
bb5a7b00d6
http: less spam. 2017-02-26 04:27:00 -08:00
Christopher Jeffrey
ad51bf53f3
rpc: better bitcoind compat. 2017-02-26 04:21:24 -08:00
Christopher Jeffrey
3ac0d3de78
http: fix for ckpool (getblocktemplate). 2017-02-26 04:03:27 -08:00
Christopher Jeffrey
c80c242738
rpc: reverse target endianness. 2017-02-26 03:25:55 -08:00
Christopher Jeffrey
cb7af959ce
miner: compare cumulative descendant fee rate. 2017-02-26 03:09:33 -08:00
Christopher Jeffrey
dcf7e7a9f4
miner: improve policy defaults. switch rate sorting immediately. 2017-02-25 23:12:13 -08:00
Christopher Jeffrey
3ec781ee60
miner: expose max-block-weight config option. 2017-02-25 22:25:34 -08:00
Christopher Jeffrey
386ef622c0
rpc: only add wit-nonce if segwit is active (submitblock). 2017-02-25 18:22:22 -08:00
Christopher Jeffrey
4c4cf9e6a4
peer: timeout inv spamming. 2017-02-24 16:25:29 -08:00
Christopher Jeffrey
fb997d43bb
pool: increase max header chain failures. 2017-02-23 20:56:21 -08:00
Christopher Jeffrey
7104e4c02f
miner: use bigger reserve defaults. 2017-02-22 20:56:47 -08:00
Christopher Jeffrey
f2964e06fb
minerblock: ensure constant coinbase size. 2017-02-22 20:35:34 -08:00
Christopher Jeffrey
09c2357552
networks: increase default fee rates. 2017-02-22 11:38:37 -08:00
Christopher Jeffrey
304f0e7e75
smart coin selection. 2017-02-22 11:35:49 -08:00
Steven Bower
393dd5dae7 HTTP: Fix DELETE requests 2017-02-20 17:36:28 -08:00
Christopher Jeffrey
275eb917aa
chain: shave a few ms of block processing time. 2017-02-13 22:27:23 -08:00
Christopher Jeffrey
1e07d1ba83
chain: improve target and mtp calculation. 2017-02-13 21:59:41 -08:00
Christopher Jeffrey
dcf705d8bc
chain: s/bad-witness-merkle-size/bad-witness-nonce-size/ 2017-02-11 12:54:24 -08:00
Christopher Jeffrey
5d2429a7b1
docs: get rid of global symbols. 2017-02-10 10:09:27 -08:00
Christopher Jeffrey
e8b0a9ef83
pool: fix uncatchable error. 2017-02-08 15:57:13 -08:00
Christopher Jeffrey
7cc62c0a1e
rpc: fix getpeerinfo - relaytxes. 2017-02-08 15:56:31 -08:00
Christopher Jeffrey
c12a0630aa
pool: do not request duplicate txs. 2017-02-08 14:40:55 -08:00
Christopher Jeffrey
e3c0b123a0
docs: build and expose scripterror properly. 2017-02-07 16:09:25 -08:00
Christopher Jeffrey
182b25f9ab
fullnode: document events. 2017-02-07 14:18:39 -08:00
Christopher Jeffrey
b0b7745039
fullnode: broadcast in selfish mode. 2017-02-07 14:15:33 -08:00
Christopher Jeffrey
1ec49be808
config: expose mempool max size. 2017-02-07 14:02:54 -08:00
Christopher Jeffrey
d3f94dbc6a
mempool: force broadcasting on addTX fail. 2017-02-07 13:56:30 -08:00
Christopher Jeffrey
256c449e68
ec: force secp25k1 bindings only. 2017-02-07 13:55:58 -08:00
Christopher Jeffrey
d56e50e166
script: docs for getters. 2017-02-05 18:17:49 -08:00
Christopher Jeffrey
23f7d3a782
script: minor. 2017-02-04 15:09:06 -08:00
Christopher Jeffrey
ef95b69e5e
minor: refactor. move asyncobject. 2017-02-04 14:52:13 -08:00
Christopher Jeffrey
60125003a4
ip: minor. 2017-02-04 01:16:17 -08:00
Christopher Jeffrey
1b5d361415
docs: add types. 2017-02-04 00:42:17 -08:00
Christopher Jeffrey
4e7df6ef87
docs: get jsdoc compiling again. 2017-02-03 22:47:26 -08:00
Christopher Jeffrey
b4a21cad2d
proxysocket: do not stop reads. 2017-02-03 10:25:04 -08:00
Christopher Jeffrey
91f36b3d1c
net: expose more of the tcp interface. 2017-02-03 09:59:02 -08:00
Christopher Jeffrey
f20aae676a
pool: do not reset chain when checkpoints=false. 2017-02-02 17:55:38 -08:00
Christopher Jeffrey
69b442a318
wallet: fix resend. 2017-02-02 16:54:15 -08:00
Christopher Jeffrey
9650d8adae
scrypt: move async version. 2017-02-02 11:45:11 -08:00
Christopher Jeffrey
bec4264fcf
crypto: remove async functions. 2017-02-02 11:34:35 -08:00
Christopher Jeffrey
a443b88f92
chain: cleanup some functions. 2017-02-02 11:28:25 -08:00
Christopher Jeffrey
5b1966a6c3
bip70: comments. 2017-02-01 19:56:22 -08:00
Christopher Jeffrey
91af611866
sha256: minor. 2017-02-01 18:54:10 -08:00
Christopher Jeffrey
c225f67bfc
crypto: remove subtle support. remove DSA support. 2017-02-01 17:46:54 -08:00
Christopher Jeffrey
66dfce4397
chain: avoid getDeployments in spv mode. see #128. 2017-02-01 17:15:57 -08:00
Christopher Jeffrey
87f9d58d47
crypto: fix hash160 for browser. 2017-02-01 17:04:46 -08:00
Christopher Jeffrey
096d348791
crypto: optimized sha256 for browser. 2017-02-01 16:59:40 -08:00
Christopher Jeffrey
db85d6db18
network: remove batchSize. 2017-02-01 11:56:06 -08:00
Christopher Jeffrey
65f7b94c07
hostlist: lint. 2017-01-31 16:28:26 -08:00
Christopher Jeffrey
389adee8f0
mining: change some miner apis. 2017-01-31 16:27:05 -08:00
Christopher Jeffrey
95fab44015
hostlist: allow multiple refs even if full. 2017-01-30 15:47:55 -08:00
Christopher Jeffrey
9cd70fb589
hostlist: improve hash perf. 2017-01-30 15:44:29 -08:00
Christopher Jeffrey
4740a2fff3
wallet: rename noSorting to sort. see #122. 2017-01-29 17:28:12 -08:00
Christopher Jeffrey
80d47b8db4
wallet: more failsafes for sending. 2017-01-29 17:21:16 -08:00
Christopher Jeffrey
3d0254054c
peer: remove useless call. 2017-01-29 16:49:09 -08:00
Christopher Jeffrey
cc6ccfe9d9
peer: only request cmpctblock if we received sendcmpct. 2017-01-29 16:26:36 -08:00
Christopher Jeffrey
fae56d1387
pool: less log spam. 2017-01-29 16:08:59 -08:00
Christopher Jeffrey
4085321145
net: better compact block debug logs. 2017-01-29 13:19:30 -08:00
Christopher Jeffrey
5e1d8c743c
chain: add genesis check. 2017-01-28 19:29:16 -08:00
Christopher Jeffrey
0f8fd1dc77
minor: lint. 2017-01-28 19:09:12 -08:00
Christopher Jeffrey
17742434a5
logger: handle mkdir error. 2017-01-28 19:06:56 -08:00
Christopher Jeffrey
963e812bf9
chain: do not handle genesis block. 2017-01-28 19:06:15 -08:00
Christopher Jeffrey
0ec58ca93d
wallet: minor style change. 2017-01-27 18:11:23 -08:00
Christopher Jeffrey
86fdf33f8a
block: fix isBlock. 2017-01-27 18:10:51 -08:00
Christopher Jeffrey
695509b1b3
peer: fix potential memory leak. 2017-01-27 18:10:51 -08:00
Christopher Jeffrey (JJ)
94ec846fdd Merge pull request #122 from mnaamani/bip69-optional
add option to disable bip69 in Wallet.send
2017-01-27 17:49:35 -08:00
Christopher Jeffrey
394df48408
pool: some cleanup. 2017-01-27 00:11:34 -08:00
Christopher Jeffrey
a61679c4a9
miner: 4 byte nonces. 2017-01-27 00:08:49 -08:00
Christopher Jeffrey
8e6819714b
merkleblock: improve extractTree perf. 2017-01-27 00:08:49 -08:00
Mokhtar Naamani
e651338ff3 pool: graceful disconnect - minor fix 2017-01-27 10:01:35 +02:00
Mokhtar Naamani
06d25a9007 pool: graceful disconnect - simpler approach 2017-01-27 09:56:58 +02:00
Mokhtar Naamani
de36d64d4a pool: graceful disconnect 2017-01-26 18:21:13 +02:00
Christopher Jeffrey
bae2aa33dd
parser: minor. 2017-01-26 03:00:14 -08:00
Christopher Jeffrey
67e6c8d768
http: add hooks. 2017-01-26 03:00:14 -08:00
Christopher Jeffrey
e52130ef29
config: fix path handling. 2017-01-26 03:00:14 -08:00
Christopher Jeffrey
977ef01d5a
txdb: failsafe for unconfirm. 2017-01-26 03:00:14 -08:00
Christopher Jeffrey
0a1c0d1890
config: refactor config parsing. 2017-01-26 03:00:13 -08:00
Christopher Jeffrey
f576ab6e6c
pool: always relay onion addresses. 2017-01-26 03:00:13 -08:00
Christopher Jeffrey
e05fb77d33
socks: more checks for tor resolve. 2017-01-26 03:00:13 -08:00
Christopher Jeffrey (JJ)
2552b3fca3 Merge pull request #123 from mnaamani/fix-pool-broadcast-item
pool: fix BroadcastItem multiple reject methods
2017-01-25 13:35:31 -08:00
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