Commit Graph

4242 Commits

Author SHA1 Message Date
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
Christopher Jeffrey
b1c735702c
walletdb: fix logs. 2016-08-26 20:08:39 -07:00
Christopher Jeffrey
6a2d1f639d
pool: fix loader disconnect handling. 2016-08-26 18:39:03 -07:00
Christopher Jeffrey
eabba6e72e
wallet: fix account handling. 2016-08-26 18:26:56 -07:00
Christopher Jeffrey
872560eeb9
address: minor. 2016-08-26 15:27:07 -07:00
Christopher Jeffrey
740e8012a2
wallet: remove getLastTime. 2016-08-26 05:08:07 -07:00
Christopher Jeffrey
06bb874573
node: refactor. 2016-08-26 05:03:28 -07:00
Christopher Jeffrey
c2bcd8fd74
rpc: mempool ancestors and descendants. 2016-08-26 05:00:53 -07:00
Christopher Jeffrey
9fbd2710ab
mempool: fix address index. 2016-08-26 04:50:10 -07:00
Christopher Jeffrey
a14da39384
bip152: refactor siphash. 2016-08-26 02:29:09 -07:00
Christopher Jeffrey
59d4e39a84
refactor: lint. 2016-08-26 01:46:52 -07:00
Christopher Jeffrey
311b0f905f
node: refactor opt parsing. 2016-08-26 01:14:02 -07:00
Christopher Jeffrey
09d699109e
pool: even more refactoring. 2016-08-26 01:13:46 -07:00
Christopher Jeffrey
54dd7c4eb3
pool: more refactoring. 2016-08-26 00:57:07 -07:00
Christopher Jeffrey
d21aadf6b3
peer: refactor. 2016-08-26 00:24:01 -07:00
Christopher Jeffrey
d073f87874
net: logs. 2016-08-25 23:07:03 -07:00
Christopher Jeffrey
902fa59ca9
pool: handle host+port collision between inbound and outbound. 2016-08-25 20:42:28 -07:00
Christopher Jeffrey
4fa6136ec4
bip152: use regular varints for lengths. 2016-08-25 20:40:47 -07:00
Christopher Jeffrey
fa366e56fd
pool: more peer management. 2016-08-25 19:48:34 -07:00
Christopher Jeffrey
0ff93dc705
pool: refactor host and peer list. 2016-08-25 19:30:56 -07:00
Christopher Jeffrey
159679e5eb
pool: keep hostname on net addr. 2016-08-25 18:35:03 -07:00
Christopher Jeffrey
9ed67e0695
pool: repurpose regular peers. 2016-08-25 18:32:21 -07:00
Christopher Jeffrey
b3c061f125
logger: report errors. 2016-08-25 18:31:46 -07:00
Christopher Jeffrey
aa7f105f38
net: bip150 - do not attempt handshake if bip151 handshake failed. 2016-08-25 17:35:45 -07:00
Christopher Jeffrey
7b61e32a70
config: refactor. handle paths better. 2016-08-25 17:27:21 -07:00
Christopher Jeffrey
ea53dc0fca
config: fix option. 2016-08-25 14:59:41 -07:00
Christopher Jeffrey
22e90303a2
siphash: refactor. 2016-08-25 14:47:50 -07:00
Christopher Jeffrey
8f51d36655
browser: rename layout-browser. 2016-08-25 14:20:34 -07:00
Christopher Jeffrey
e5f1dc79ed
txdb: refactor balance. 2016-08-25 14:09:22 -07:00
Christopher Jeffrey
7c1c2b2d15
pool: disable alert on main. see bitcoin/bitcoin#7692. 2016-08-25 03:37:33 -07:00
Christopher Jeffrey
455dc027ee
pool: alert. 2016-08-25 03:35:02 -07:00
Christopher Jeffrey
1d55cd1b7e
fullnode: less spam. 2016-08-25 02:52:02 -07:00
Christopher Jeffrey
ec8e3e0359
wallet: log and rpc fixes. 2016-08-25 02:35:39 -07:00
Christopher Jeffrey
d663eef37e
net: refactor framer and parser. 2016-08-25 01:35:20 -07:00
Christopher Jeffrey
40e028f182
db: use string keys for browser. 2016-08-24 20:11:33 -07:00
Christopher Jeffrey
86cf01f927
fullnode: less spam. 2016-08-24 10:11:02 -07:00
Christopher Jeffrey
150c09786a
ldb: refactor. 2016-08-24 08:49:58 -07:00
Christopher Jeffrey
0b9e3df545
ldb: max open files. 2016-08-24 08:41:51 -07:00
Christopher Jeffrey
ad46d3e243
env: lazily load modules. 2016-08-24 07:12:44 -07:00
Christopher Jeffrey
676563125d
chaindb: optimize key parsing. 2016-08-24 05:47:31 -07:00
Christopher Jeffrey
f7b61278d0
http: fix require. 2016-08-24 05:21:05 -07:00
Christopher Jeffrey
8c00722dda
refactor: fix workers. 2016-08-24 05:03:04 -07:00
Christopher Jeffrey
6105095379
refactor: more restructuring. 2016-08-24 04:59:06 -07:00
Christopher Jeffrey
ab58f2481c
config: fixes. 2016-08-24 04:34:43 -07:00
Christopher Jeffrey
73c54cf5ed
refactor: lint. 2016-08-24 04:15:03 -07:00
Christopher Jeffrey
79f7610145
refactor: wordlists. 2016-08-24 04:10:46 -07:00
Christopher Jeffrey
bdf5058546
refactor: hd, script, and wallet. 2016-08-24 04:08:40 -07:00
Christopher Jeffrey
177272a2c5
refactor: env. 2016-08-24 02:20:27 -07:00
Christopher Jeffrey
3b17b8e775
refactor: browser. 2016-08-24 01:44:17 -07:00
Christopher Jeffrey
e04dccb0c1
refactor: more restructuring (again). 2016-08-24 01:36:42 -07:00
Christopher Jeffrey
cbb2fa5c54
uri: rewrite. 2016-08-24 01:16:48 -07:00
Christopher Jeffrey
ac5aa5b04c
keyring: fix serialization. 2016-08-24 00:19:33 -07:00
Christopher Jeffrey
16ed6d8d87
refactor: fixes. 2016-08-24 00:03:06 -07:00
Christopher Jeffrey
1c6d092545
cli/browser: update paths. 2016-08-24 00:01:59 -07:00
Christopher Jeffrey
10bb8d1e18
refactor: even more restructuring. 2016-08-23 23:56:50 -07:00
Christopher Jeffrey
a3c24938b9
refactor: more restructuring. 2016-08-23 23:26:50 -07:00
Christopher Jeffrey
d350338c98
refactor: more moving around. 2016-08-23 22:57:59 -07:00
Christopher Jeffrey
7f6849b6a6
refactor: fix pathnames. 2016-08-23 22:43:20 -07:00
Christopher Jeffrey
70a806bc5a
refactor dir structure. 2016-08-23 22:16:52 -07:00
Christopher Jeffrey
6d1b701c8a
browser: clean things up for browserify. 2016-08-23 22:07:51 -07:00
Christopher Jeffrey
73f9a2a622
pool/peer: major refactor. 2016-08-23 19:55:02 -07:00
Christopher Jeffrey
581e4e3ce5
env: minor. 2016-08-23 06:42:31 -07:00
Christopher Jeffrey
23f9e543be
bip150/bip151: destroy on peer close. 2016-08-23 05:54:41 -07:00
Christopher Jeffrey
db07d42803
bip150: drop peers that do not auth. 2016-08-23 05:50:45 -07:00
Christopher Jeffrey
1e1ee18e09
bip150: consistency. 2016-08-23 05:40:33 -07:00
Christopher Jeffrey
799d3ba55d
bip150: add authorized-peers and known-peers files. 2016-08-23 05:28:45 -07:00
Christopher Jeffrey
51975003c2
bip150: display bip150 address to user. 2016-08-23 04:22:46 -07:00
Christopher Jeffrey
134bece292
bip150: first implementation. 2016-08-23 04:16:11 -07:00
Christopher Jeffrey
9ed0906661
wallet: rename getKeyring. 2016-08-22 23:07:45 -07:00
Christopher Jeffrey
f6f0dceaab
fees: minor. 2016-08-22 23:01:38 -07:00
Christopher Jeffrey
7b723baedd
wallet: lint. 2016-08-22 22:44:08 -07:00
Christopher Jeffrey
5e49bce310
fees: refactor. 2016-08-22 22:37:58 -07:00
Christopher Jeffrey
9ced2df5fa
bip152: optimize. 2016-08-22 22:36:51 -07:00
Christopher Jeffrey
049be2086d
bip151: update to conform to spec. 2016-08-22 22:36:33 -07:00
Christopher Jeffrey
8f8cf4fca6
mempool: minor. 2016-08-22 22:22:19 -07:00
Christopher Jeffrey
3d4b0d9a61
peer: minor. 2016-08-22 22:11:23 -07:00
Christopher Jeffrey
b55068f30d
chaindb: optimize. 2016-08-22 21:57:18 -07:00
Christopher Jeffrey
3a43a9aefa
keyring: remove keypair. 2016-08-22 19:18:39 -07:00
Christopher Jeffrey
3cac0a96d2
http: better events. 2016-08-22 19:08:39 -07:00
Christopher Jeffrey
2472054862
network: more checkpoints. 2016-08-22 18:23:13 -07:00
Christopher Jeffrey
52f00c8fe2
walletdb: lock during rescan. 2016-08-22 18:13:22 -07:00
Christopher Jeffrey
aec3548b26
walletdb: fix reorg handling. 2016-08-22 17:55:44 -07:00
Christopher Jeffrey
908d2eb9a9
wallet: account type check. 2016-08-22 16:04:27 -07:00
Christopher Jeffrey
14da6a0875
http: refactor websocket handling. 2016-08-22 15:27:22 -07:00
Christopher Jeffrey
375699c6c5
walletdb: refactor. 2016-08-22 14:56:41 -07:00
Christopher Jeffrey
4590f94aae
walletdb: v2. 2016-08-21 13:47:16 -07:00
Christopher Jeffrey
1e2d85e7db
wallet: import key and subtract fee. 2016-08-21 13:44:32 -07:00
Christopher Jeffrey
e5d23945b1
mtx: maxFee option. 2016-08-21 12:17:24 -07:00
Christopher Jeffrey
8ed5016108
lint. 2016-08-21 12:07:36 -07:00
Christopher Jeffrey
d26db89a21
mtx: refactor. 2016-08-21 11:04:56 -07:00
Christopher Jeffrey
d17ba07475
mempool: mem usage estimation. 2016-08-21 11:04:47 -07:00
Christopher Jeffrey
9c8d4d185f
rpc: minor. 2016-08-21 01:04:57 -07:00
Christopher Jeffrey
0873f7abe8
rpc: importwallet. 2016-08-19 20:46:52 -07:00
Christopher Jeffrey
d6e4978baf
wallet/buffer/rpc: fix serialization and buffer writes. import keys. 2016-08-19 18:09:49 -07:00
Christopher Jeffrey
4b008540e0
wallet: key importing. 2016-08-19 12:39:50 -07:00
Christopher Jeffrey
eecae63cf3
walletdb: custom addresses. 2016-08-19 02:29:55 -07:00
Christopher Jeffrey
c836786b99
mtx/wallet: refactor keyring. 2016-08-19 00:39:56 -07:00
Christopher Jeffrey
0f23304a68
mtx: maxSize. 2016-08-18 20:29:30 -07:00
Christopher Jeffrey
34f59e8a60
mtx: refactor. 2016-08-18 20:04:31 -07:00
Christopher Jeffrey
a42d11cb80
mtx: signing work. 2016-08-18 18:27:17 -07:00
Christopher Jeffrey
b6c8362c63
mtx: more refactoring. 2016-08-18 15:07:54 -07:00
Christopher Jeffrey
0db8677139
mtx: refactor templating. 2016-08-18 06:18:34 -07:00
Christopher Jeffrey
e8f2c3321c
wallet: multiple refactors. 2016-08-18 05:35:34 -07:00
Christopher Jeffrey
0765f44b5b
chaindb: ready for migration. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4a0eaa6b34
ldb: options. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
048a99b9ba
lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
833e5491f1
db: expose layouts. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e817b89653
chaindb: endianness. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
096957ccb9
chaindb: strict arg checking. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0208f9383c
chaindb: check options. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b0aebb9c84
coins: optimize. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
578ff8f684
lru: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d7ac63755f
wallet: sign refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
990d5c2baf
locker: more locker cleanup. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
97a2f2e86a
locker: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cdbf7c1e8c
locker: automatically wrap callbacks. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7c73d2a898
block: fix miner assertion failure. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4c62cc8451
coins: minor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8ee0cf8604
chaindb: chain state buffer hash. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
bf20425e11
chaindb: state work. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4502e942d4
chaindb: chain state. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2831af4300
wallet: refactor. add hd key destroy methods. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
731e615b86
chain: fix retarget. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4b85715ec2
do not accept mutable txs anywhere except wallet. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4203999b81
txdb: handle spent coins better. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
841cb290d8
major db and async object refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
911e4f541e
chaindb: minor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5f43c429a9
mempool: minor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0ca46228f5
rpc: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
3841eb3e58
rpc: fix getrawtransaction. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
581a658808
logger: less spam. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8765bf5a6d
wallet: more refactoring. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
90349b8244
rpc: add more calls. refactor validation. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2c0aacf426
wallet: refactor variable names. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d0c4ea008b
http: catch rpc errors. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
197e9f7aa9
wallet/mempool: lint. spvnode. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2fdfdd3c8a
walletdb: store addr type on path. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c93de907fe
merkleblock: add indexOf. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
d053a25f53
peer: add lastSend and lastRecv. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
74ec03607b
walletdb: move and rename some methods. add hash to path. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e235f3bee6
txdb: add coin locking system. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
77502ca496
mempool: max size and logs. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
ebcfe66638
walletdb: allow utf8 wallet and account names. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
72188e42c2
mempool: accurate memory usage. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
bd9a41dcbe
http: get account. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
70684d37c3
http: fix range route. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e2d530c0da
wallet: range fixes. tests. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
1a8d7084a5
mempool: docs. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0b2023d62c
mempool: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
82ca244669
mempool: cleanup. more sync methods. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e517a7a9f7
txdb: fix iterators. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
634e1603a4
rpcclient: fix error messages. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
a278146a33
txdb: lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
727380a69a
txdb: refactor layout. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
53f209dda5
mempool: clean up comments. misc. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
31d2f36c42
rpc: mempool. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
af585e2bbd
mempool: more refactoring. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b0caa3f03a
mempool: keep everything on the js heap. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c8bc9fb8b6
mempool: rewrite. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c794c17077
walletdb: lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0f3f9c984b
txdb: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
80103454c0
walletdb: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
fbce69dbad
fuck slashes. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b77c0995ba
walletdb: use buffer keys. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
16204a4794
walletdb: use layout for walletdb and txdb. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
989aa15a4c
keyring: do not listen for all types of addrs. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7f936ade4d
wallet: rename some methods. cleanup. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
49f56f786f
keyring: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cfad740b09
walletdb: fixes. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
17b176141e
lowlevelup: each. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e503b7ecad
walletdb: fixes and lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5519ecdfec
request: add timeout. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
b6e9019d56
wallet: rename label to id and id to wid. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9e2dd9145f
wallet: switch to using number ids. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c147e5bdf3
walletdb: better block management. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e7329b2d1a
chaindb: refactor scanning. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7259ffa91e
lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
7e3575129a
rpc: add custom getmemory call. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e324e08bef
walletdb: better pathinfo and details handling. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0a5fcad5e8
keyring: add derive method. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
1e98ce25d9
walletdb: remove global methods. in-memory balance. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9a1ba962fd
walletdb: minor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
6e770279db
wallet: use private key for token hash. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
487efb6639
http: add chain watching and scanning. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
59d4fa22ce
http: more validation. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
f42d60769b
http: cli and client refactoring. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
30b7421ea7
http: better api key handling. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
2b630ad99c
http: api refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
cbed60e900
wallet/http: fix events. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
4b9753d3c3
txdb: balance object. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c4f16f8d72
wallet: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
8ef70978d0
wallet: events. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
45867fffb6
wallet: move handleTX. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
09d8ee224c
txdb: give txdb a reference to wallet. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
827f72ebc0
txdb: refactor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
5b1a7a89ac
txdb-wallet. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
edb8a50c63
txdb: lint. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e50cbc911c
txdb: remove updated event. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
63c9c81831
txdb: refactor. clean up. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
c582a0fad8
fullnode: add noScan option. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
870f6e65b4
chaindb: scan logs. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
817a6c3031
txdb: optimize. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
9c94fae2a8
txdb: refactor batches. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
400680e208
work 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
092a0968ad
txdb: minor. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
26845593b9
txdb: drop old details methods. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e098fdeca4
rpc: refactor listunspent. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e910147544
rpc: fix listunspent. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
3265e80c8e
rpc: tx json yet again. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
24ca0d9fc2
rpc: tx json again... 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
532e46b2d1
rpc: tx json again. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
6b639017d4
rpc: fix tx json. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
de55c82227
txdb: fix getMember. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e8cb71447c
txdb: fix rpc categorization. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
abd267b7d2
wallet: drop wallet map in favor of path info and tx details. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
914bc8435d
txdb: details and pathinfo. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
759365ca25
wallet: stricter key checks. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
0eaa42bb42
rpc: explicitly pass in height and network. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
e872f5985c
rpc: getreceivedbyaccount. 2016-08-18 02:09:30 -07:00
Christopher Jeffrey
780601b3b7
rpc: abandontransaction. 2016-08-18 02:09:30 -07:00
Chris Kleeschulte
13cfd8aa43 Calling process.hrtime is predicated on being called with
an Array type with two elements or with no explicit parameters.

Node 4 (LTS) seems to be persnickety regarding matching undefined as a
actual parameter in process.hrtime (and possibly all functions).
2016-08-11 22:07:13 -04:00
Christopher Jeffrey
e59fe9bf6d
rpc: prioritisetransaction. 2016-08-10 19:47:52 -07:00
Christopher Jeffrey
a0d109f52d
rpc: gettxoutproof and verifytxoutproof. 2016-08-10 19:35:01 -07:00
Christopher Jeffrey
b50f8cc2bb
rpc: getaddednodeinfo. 2016-08-10 18:58:40 -07:00
Christopher Jeffrey
f0c9f1ba81
rpc: fundrawtransaction. 2016-08-10 18:50:32 -07:00
Christopher Jeffrey
1fca8fe645
rpc: add listunspent. 2016-08-10 18:41:36 -07:00
Christopher Jeffrey
295e0d74bd
rpc: s/cost/weight/ 2016-08-10 17:30:45 -07:00
Christopher Jeffrey
1b3233e948
rpc: minor style. 2016-08-10 17:25:58 -07:00
Christopher Jeffrey
c7b725450a
rpc: implement getblocktemplate versionbits and polling. 2016-08-10 17:21:58 -07:00
Christopher Jeffrey
a653707a17
walletdb: serious change. 2016-08-10 14:02:50 -07:00
Christopher Jeffrey
cadd3f31ea
rpc: minor. 2016-08-09 21:25:11 -07:00
Christopher Jeffrey
cfee08d58e
rpc: fix findFork. 2016-08-09 21:14:30 -07:00
Christopher Jeffrey
242fbd0a59
rpc: optimize getchaintips. 2016-08-09 21:12:53 -07:00
Christopher Jeffrey
20a8d23c76
rpc: softforks and chain tips. 2016-08-09 19:16:52 -07:00
Christopher Jeffrey
7490ea2b87
rpc: error handling. 2016-08-09 13:07:03 -07:00
Christopher Jeffrey
719222b61d
miner: fix miner.stop(). 2016-08-09 12:34:15 -07:00
Christopher Jeffrey
6ee7ac8a51
rpc: fix getrawmempool. 2016-08-09 12:22:07 -07:00
Christopher Jeffrey
d26787b389
txdb: make ps constant. 2016-08-08 18:10:37 -07:00
Christopher Jeffrey
4893c7dba5
rpc: misc fixes. 2016-08-08 15:55:00 -07:00
Christopher Jeffrey
62f687917f
mtx: fix subtractFee. 2016-08-08 14:54:56 -07:00
Christopher Jeffrey
45d424470d
rpc: fix tx details. 2016-08-08 13:19:38 -07:00
Christopher Jeffrey
7d4a683eaa
miner: fix status on workers. 2016-08-08 12:26:13 -07:00
Christopher Jeffrey
b6417cf337
misc: fixes. 2016-08-07 16:32:14 -07:00
Christopher Jeffrey
4a398517d9
rpc: add RPCError. 2016-08-05 15:07:04 -07:00
Christopher Jeffrey
3406a09cd5
rpc: listsinceblock. 2016-08-05 14:49:59 -07:00
Christopher Jeffrey
d32df008df
rpc: add listsinceblock. 2016-08-05 14:44:48 -07:00
Christopher Jeffrey
42e03c227a
rpc: fixes for net and mining. 2016-08-05 14:32:29 -07:00
Christopher Jeffrey
6299b99614
rpc: implement getmininginfo. 2016-08-05 14:27:10 -07:00
Christopher Jeffrey
ac774fbe3a
server: fix rpc auth. 2016-08-05 14:10:32 -07:00
Christopher Jeffrey
0a217e7be2
rpc: add wallet txs. 2016-08-05 14:02:10 -07:00
Christopher Jeffrey
ce7f300260
wallet: add wallet.send. 2016-08-05 13:38:27 -07:00
Christopher Jeffrey
8fe79fc7e7
chain: fix witness check. 2016-08-04 15:46:33 -07:00
Christopher Jeffrey
3cbc5e2726
config: expose index-tx and index-address. 2016-08-04 13:44:45 -07:00
Christopher Jeffrey
2ada7b9e90
wallet: optimize syncOutputDepth. 2016-08-03 17:00:42 -07:00
Christopher Jeffrey
edb9c5afc6
peer: check broadcast list for getblocktxn. 2016-08-02 13:47:29 -07:00
Christopher Jeffrey
765c3d2b77
protobuf: fix safe int check. 2016-08-02 11:23:41 -07:00
Christopher Jeffrey
0b24daba31
chaindb: optimize coin size checking. 2016-08-01 23:42:16 -07:00
Christopher Jeffrey
d86c439017
chachapoly: optimize for little-endian. 2016-08-01 01:19:09 -07:00
Christopher Jeffrey
ac42de6cfb
fullnode: remove bullshit scanning algorithm. 2016-07-31 22:10:37 -07:00
Christopher Jeffrey
1d971b0de0
crypto: improve ccmp. 2016-07-31 20:18:29 -07:00
Christopher Jeffrey
104458a483
rpc: implement more methods. 2016-07-31 20:11:22 -07:00
Christopher Jeffrey
666ff94ddf
ec: recover. 2016-07-31 11:03:23 -07:00
Christopher Jeffrey
bf63691fd2
http: have json rpc use server api key. 2016-07-30 20:39:13 -07:00
Christopher Jeffrey
b1dc35743b
utils: toFastProperties. 2016-07-30 19:47:41 -07:00
Christopher Jeffrey
89d6d73257
bip152: fix passing of _valid. 2016-07-30 18:41:39 -07:00
Christopher Jeffrey
f8c3f37f0c
keypair: minor. 2016-07-30 18:24:45 -07:00
Christopher Jeffrey
7ec21588ac
config: parsing. 2016-07-30 14:11:53 -07:00
Christopher Jeffrey
ec41bf2be5
config: fix arg aliasing. 2016-07-30 13:53:43 -07:00
Christopher Jeffrey
0343140f0a
memblock: optimizations. 2016-07-30 13:44:18 -07:00
Christopher Jeffrey
a03465632a
browser: ldb. 2016-07-30 11:49:01 -07:00
Christopher Jeffrey
90c4f3dcf6
browser: update index.html. misc fixes. 2016-07-29 18:49:41 -07:00
Christopher Jeffrey
0067ddfac1
pool: minor. 2016-07-29 16:19:13 -07:00
Christopher Jeffrey
dfaadd41c6
config: add configuration parser. 2016-07-29 15:40:39 -07:00
Christopher Jeffrey
5364a92308
bip70: whitespace. 2016-07-29 13:25:01 -07:00
Christopher Jeffrey
7d8da2d377
bip70: throw on bad curve. 2016-07-29 13:24:02 -07:00
Christopher Jeffrey
41cc642a32
bip70: javascript rsa implementation. 2016-07-29 13:19:17 -07:00
Christopher Jeffrey
a987513ce9
pool: maxPeers option. 2016-07-28 22:33:11 -07:00
Christopher Jeffrey
a0e0ecdd73
workers: payload length. 2016-07-28 11:57:47 -07:00
Christopher Jeffrey
e709cbeae5
bip151: refactor. 2016-07-27 17:23:15 -07:00
Christopher Jeffrey
6448cea1e7
workers: refactor. 2016-07-27 17:17:17 -07:00
Christopher Jeffrey
812b73ffbc
bip151: use reference slices initially for parsing. 2016-07-27 16:26:43 -07:00
Christopher Jeffrey
28c7ee69e4
crypto: optimize hkdf and pbkdf2. 2016-07-27 07:06:28 -07:00
Christopher Jeffrey
4e977810ce
merkleblock/utils: optimize merkle root calculation. 2016-07-27 06:52:16 -07:00
Christopher Jeffrey
868512e054
chain: remove spv preload. 2016-07-27 06:27:27 -07:00
Christopher Jeffrey
d2ec66c4b7
bip151: remove useless slice. 2016-07-27 06:13:01 -07:00
Christopher Jeffrey
432ee64713
workers: optimize protocol more. 2016-07-27 06:07:53 -07:00
Christopher Jeffrey
52dd3c2cdc
peer: error handling. 2016-07-27 05:52:27 -07:00
Christopher Jeffrey
0b620c2e47
workers: refactor worker protocol. 2016-07-27 05:46:15 -07:00
Christopher Jeffrey
cd8adbcc74
protocol: optimize framer. 2016-07-27 05:40:57 -07:00
Christopher Jeffrey
20d69b7cbc
optimize parsers. 2016-07-27 04:56:07 -07:00
Christopher Jeffrey
0fa972dcb3
refactor parsers. 2016-07-27 04:10:08 -07:00
Christopher Jeffrey
6a2615d3cc
bip151: 32 bit sequence and 64 bit iv. 2016-07-27 04:06:05 -07:00
Christopher Jeffrey
db0552874b
bip151: more micro-optimization. 2016-07-27 03:59:24 -07:00
Christopher Jeffrey
227e9a18b2
workers: optimize parser. 2016-07-27 02:25:30 -07:00
Christopher Jeffrey
3f6a93e180
bip151: refactor parser. 2016-07-27 02:25:21 -07:00
Christopher Jeffrey
01471d6e63
bip151: add minimum packet size. 2016-07-27 01:42:53 -07:00
Christopher Jeffrey
594bbc8b1d
bip151: micro-optimization. 2016-07-27 01:22:57 -07:00
Christopher Jeffrey
208394596e
bip151: use 64 bit sequence numbers for now. 2016-07-27 01:08:50 -07:00
Christopher Jeffrey
6720ecc2c8
bip151: minor. 2016-07-27 00:50:50 -07:00
Christopher Jeffrey
2bd90910b4
bip151: authenticate payload before decryption. 2016-07-27 00:46:39 -07:00
Christopher Jeffrey
f837317ffd
bip151: fix aead aad etm. 2016-07-26 23:39:21 -07:00
Christopher Jeffrey
08bc5ba0a8
bip151: use plaintext packet size as aad (openssh conformance). 2016-07-26 21:49:57 -07:00
Christopher Jeffrey
b6dbc5f709
node: add rpc user and password env variables. 2016-07-26 18:16:03 -07:00
Christopher Jeffrey
bea7bc4677
http: autogen rpc creds. 2016-07-26 18:14:14 -07:00
Christopher Jeffrey
91a1477aeb
http: add bitcoind-compatible json-rpc server. 2016-07-26 18:10:05 -07:00
Christopher Jeffrey
e303ab4ee1
peer: minor renaming for consistency. 2016-07-26 14:25:15 -07:00
Christopher Jeffrey
1c9d283f26
bip151: docs. 2016-07-26 14:07:06 -07:00
Christopher Jeffrey
c085d446ab
peer: minor. 2016-07-26 12:42:31 -07:00
Christopher Jeffrey
7b9eb8b4f2
peer: make bip151 handling less hacky. 2016-07-26 12:23:40 -07:00
Christopher Jeffrey
bccbef0aaa
chain: minor segnet3 fix. 2016-07-26 12:05:18 -07:00
Christopher Jeffrey
c0ac60e291
chain: minor fix for segnet3. 2016-07-26 02:20:36 -07:00
Christopher Jeffrey
b7c280a84c
bip151: minor refactor. 2016-07-26 02:18:40 -07:00
Christopher Jeffrey
c597d7c411
bip151: overflow sequence number properly. 2016-07-26 01:19:57 -07:00
Christopher Jeffrey
018241fc78
bip151: set processed to zero on rekey. 2016-07-26 01:14:35 -07:00
Christopher Jeffrey
f37946abb7
bip151: fix rekeying. replicate openssh more. 2016-07-26 01:08:42 -07:00
Christopher Jeffrey
4af5273c0e
bip151: minor arg fix. 2016-07-25 23:13:06 -07:00
Christopher Jeffrey
eb9f35c8b4
bip151: set aad again. 2016-07-25 22:18:01 -07:00
Christopher Jeffrey
b0bb5d516d
chachapoly: do not reinitialize state. 2016-07-25 22:11:32 -07:00
Christopher Jeffrey
73deb5430e
bip151: max message size. 2016-07-25 21:46:00 -07:00
Christopher Jeffrey
94af094322
bip151: whitespace. 2016-07-25 18:53:57 -07:00
Christopher Jeffrey
a86a374ca5
node: add bip151 option. 2016-07-25 18:26:29 -07:00
Christopher Jeffrey
b455352708
peer/bip151: rewrite bip151. handle bip151 on p2p network. 2016-07-25 18:24:30 -07:00
Christopher Jeffrey
233af72b7f
peer: minor. 2016-07-25 16:00:14 -07:00
Christopher Jeffrey
84e2848c2a
remove profiler. 2016-07-25 15:56:39 -07:00
Christopher Jeffrey
1faa887eb6
mempool: disable verify_witness by default. 2016-07-25 15:53:12 -07:00
Christopher Jeffrey
8ba429d76c
mempool: logs. 2016-07-25 15:49:14 -07:00
Christopher Jeffrey
3f874b31e5
pool: minor. 2016-07-25 14:44:33 -07:00
Christopher Jeffrey
1356a3c7ab
mempool: logs. 2016-07-25 14:43:16 -07:00
Christopher Jeffrey
e3389ac28b
peer: send havewitness only for segnet3. 2016-07-25 14:22:08 -07:00
Christopher Jeffrey
bc7b6f487b
peer: handle ENOTFOUND. 2016-07-25 14:18:23 -07:00
Christopher Jeffrey
0dea0888e2
pool: add ignore list. 2016-07-25 14:11:57 -07:00
Christopher Jeffrey
6ed877c06c
logger: make logs less spammy. 2016-07-25 11:52:48 -07:00
Christopher Jeffrey
31bceddfa5
parser: fix bip152 typos. 2016-07-25 11:35:13 -07:00
Christopher Jeffrey
064ba7df9b
bip152: fixes. refactor. 2016-07-25 11:32:35 -07:00
Christopher Jeffrey
642f3c715f
peer: do not send getblocks to non-network-service peers. 2016-07-25 01:47:08 -07:00
Christopher Jeffrey
2b783e8f6e
more compact block logs. 2016-07-25 01:26:01 -07:00
Christopher Jeffrey
20d52ca110
pool: better peer options handling. 2016-07-25 01:22:31 -07:00
Christopher Jeffrey
8bd52cff0a
chaindb: cache 25mb of coins. 2016-07-25 01:20:26 -07:00
Christopher Jeffrey
b860894471
peer: compact block logs. 2016-07-25 00:13:38 -07:00
Christopher Jeffrey
c9e8f779f3
network: rename segwitHeight. 2016-07-25 00:08:20 -07:00
Christopher Jeffrey
cdbe6fc940
node: witness option. announce services properly. 2016-07-25 00:01:56 -07:00
Christopher Jeffrey
cd4bcb48e8
disable segwit for testnet, for now. 2016-07-24 23:53:12 -07:00
Christopher Jeffrey
e884a9ed48
temporary fix for segwit networks. 2016-07-24 23:50:01 -07:00
Christopher Jeffrey
cc6018a94e
chain: use separate state caches for separate deployments. 2016-07-24 23:09:22 -07:00
Christopher Jeffrey
d68d79841a
network: add block batch size. 2016-07-24 22:14:39 -07:00
Christopher Jeffrey
83c1f8853d
chain: keep track of processing time for blocks. 2016-07-24 20:52:36 -07:00
Christopher Jeffrey
af50f5e1c6
env variables. request more blocks during sync. 2016-07-24 19:02:12 -07:00
Christopher Jeffrey
6a760136a9
bip70/x509: only store cert fingerprints. 2016-07-23 07:18:43 -07:00
Christopher Jeffrey
83bab4d382
add bip70 tests. 2016-07-23 06:53:02 -07:00
Christopher Jeffrey
1d447683cb
x509: refactor. 2016-07-23 05:06:14 -07:00
Christopher Jeffrey
8e5ca9f41e
bip70: details.getData. 2016-07-23 04:59:24 -07:00
Christopher Jeffrey
0cbae18f1f
protobuf: optimize varint reading. 2016-07-23 04:35:06 -07:00
Christopher Jeffrey
5dbebe14d9
bip70: x509 improvements. 2016-07-23 04:12:03 -07:00
Christopher Jeffrey
54cf5ce341
bip151: minor. 2016-07-22 22:40:13 -07:00
Christopher Jeffrey
16eaa4402e
bip70: minor. 2016-07-22 22:03:10 -07:00
Christopher Jeffrey
072f5d6348
lint. 2016-07-22 22:00:46 -07:00
Christopher Jeffrey
46969c6f3a
bip70: fix signing. 2016-07-22 21:57:42 -07:00
Christopher Jeffrey
ac601e3675
implement bip70. 2016-07-22 21:26:59 -07:00
Christopher Jeffrey
2d2f11b5dc
optimize readVarint. 2016-07-21 14:26:42 -07:00
Christopher Jeffrey
ee08278654
lint. 2016-07-21 12:38:31 -07:00
Christopher Jeffrey
27684e9661
if we're going to have checkpoints, might as well optimize the hell out of them. 2016-07-21 12:36:11 -07:00
Christopher Jeffrey
04565cfadb
bip151: improve rekey test. 2016-07-21 10:14:58 -07:00
Christopher Jeffrey
e7347dd620
bip151: fixes and tests. 2016-07-21 09:21:36 -07:00
Christopher Jeffrey
8bcfeca44e
constants: zero key. 2016-07-21 08:41:26 -07:00
Christopher Jeffrey
bb0149e603
docs 2016-07-21 05:37:58 -07:00
Christopher Jeffrey
9cc05a488a
utils. 2016-07-21 05:27:42 -07:00
Christopher Jeffrey
253a6795a3
move crypto to its own module. 2016-07-21 05:21:22 -07:00
Christopher Jeffrey
78919ffde7
pool fixes and refactor. 2016-07-21 04:50:28 -07:00
Christopher Jeffrey
95067ba938
compact block relay support. 2016-07-20 19:42:19 -07:00
Christopher Jeffrey
a85f3edde5
bip152: always use witness serialization. 2016-07-20 14:51:44 -07:00
Christopher Jeffrey
b939de9423
use hkdf for bip151. 2016-07-20 14:39:21 -07:00
Christopher Jeffrey
2ec1f33cde
implement hkdf. 2016-07-20 14:25:18 -07:00
Christopher Jeffrey
0ffafa3238
bip152: fixes and tests. 2016-07-18 18:56:40 -07:00
Christopher Jeffrey
2feef87331
fixes and cleanup. 2016-07-18 02:02:49 -07:00
Christopher Jeffrey
34ecf9b318
aes: minor. 2016-07-16 16:52:19 -07:00
Christopher Jeffrey
3186aaa6cc
fix for createAccount. 2016-07-16 15:51:49 -07:00
Christopher Jeffrey
a70b615fd2
http client. 2016-07-16 15:41:26 -07:00
Christopher Jeffrey
2d8274b46e
lint. 2016-07-16 14:56:27 -07:00
Christopher Jeffrey
97f25f29f5
use supersha. 2016-07-16 14:32:06 -07:00
Christopher Jeffrey
8d497bca1e
script: minor. 2016-07-16 12:17:08 -07:00
Christopher Jeffrey
4381cb5d84
optimize tx.fillCoins. 2016-07-15 20:06:18 -07:00
Christopher Jeffrey
98eeaf0af3
optimize witness serialization. 2016-07-15 18:56:38 -07:00
Christopher Jeffrey
36029b8882
fix mutable tx parsing. 2016-07-15 18:51:44 -07:00
Christopher Jeffrey
11947a6ba8
minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
d4356e6255
cleanup elliptic usage for new version (hybrid keys). 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
448771a6fe
walletdb: minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
5e52c7f373
benchmarks. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
84b94fd1b5
fix scrypt worker. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
b81a6b3ea1
async signing. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
33d2803d4c
more worker serialization. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
678da4671a
fix hd cache. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
cbd8447d80
walletdb: minor. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
f4a70df1a0
logs for deployment activation. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
74c999abe3
refactor websocket api. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
ba4ce73a8d
rename fill to fund. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
52c46e83ed
add scanning test. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
dd70c3167b
refactor txdb block handling. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3ac22f0338
comment. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
e51736728e
drop old scanning. always rescan blockchain on boot. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
1c9c06b4f9
add chain scanner. 2016-07-15 18:20:55 -07:00
Christopher Jeffrey
3def705d35
expose chain deployment state. 2016-07-15 18:20:55 -07:00