Commit Graph

100 Commits

Author SHA1 Message Date
Christopher Jeffrey
0631148705
modules: more refactoring. 2016-11-19 05:29:29 -08:00
Christopher Jeffrey
9f522c5ca4
layout: less conditional requires. see #105. 2016-11-18 18:31:29 -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
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
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
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
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
015eaa1f2d
chaindb: better rescan algo. 2016-11-09 18:25:35 -08:00
Christopher Jeffrey
b2c02a7052
chain: cleanup function names. 2016-11-09 18:25:33 -08:00
Christopher Jeffrey
62ef5ea7f4
bip152: implement segwit compact blocks. 2016-11-06 22:34:05 -08:00
Christopher Jeffrey
8be68ab392
chainentry: fix potential versionbits comparison failure. 2016-11-03 16:35:31 -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
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
2d488749d5
chaindb: reenable options. 2016-10-24 16:42:59 -07:00
Christopher Jeffrey
926d9cb5aa
chaindb: store network in options. 2016-10-24 16:21:24 -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
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
debe2e4ec7
walletdb: pruning. 2016-10-22 14:34:30 -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
89f175dd7a
chain: drop argument due to hardfork. 2016-10-21 19:42:31 -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
10e959efde
chain: refactor alt chain saving. 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
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
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
605874068b
s/bn/BN/g 2016-10-21 19:38:06 -07:00
Christopher Jeffrey
a2d6ed56e7
refactor: have promises resolve to undefined. 2016-10-21 19:38:04 -07:00
Christopher Jeffrey
e2d51352a8
chain: refactor reorgs. 2016-10-06 04:34:58 -07:00
Christopher Jeffrey
f697dc18bb
chaindb: better reset. 2016-10-05 02:15:51 -07:00