Commit Graph

3229 Commits

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