Commit Graph

3627 Commits

Author SHA1 Message Date
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
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