Braydon Fuller
662a68cf10
blockchain: cleanup deprecated methods
...
Deprecation details are in CHANGELOG.md
2019-05-15 12:11:37 -07:00
Braydon Fuller
cede31d86f
indexer: cleanup and check pruned and index options
2019-05-15 12:11:37 -07:00
Braydon Fuller
efb2551555
indexer: fix reset and reorg handling
2019-05-15 12:11:37 -07:00
Javed Khan
9f86dbca28
chaindb: bump to v6
2019-05-15 12:02:49 -07:00
Javed Khan
05794f5cb3
indexer: add module indexer
...
module indexer introduces a extensible architecture for indexing the
chain. It provides a base class which handles syncing with the chain,
handling re-orgs, interruptions, dynamic toggling, etc. TXIndexer
and AddrIndexer are provided for indexing transactions and addresses,
using the same flags as before i.e --index-tx and --index-address.
Indexes are stored in a different database and can be maintained
independently of the chain.
2019-05-15 12:02:41 -07:00
Javed Khan
4bc0bb2366
chain: add fee overflow test; rename error
2019-05-07 03:27:42 +05:30
Braydon Fuller
b68207610c
blockchain: do not accept forked chain older than last checkpoint
...
This has been patched in both bitcoind and btcd around February 20th, 2014. It was
shortly followed by a headers-first synchronization of blocks.
- d8b4b49667
- 50b6e10b57
2019-05-02 14:44:10 -07:00
Braydon Fuller
3457ccc91b
blockchain: remove blocks after commit
2019-04-08 13:24:54 -07:00
Braydon Fuller
bdcb392a9c
blockchain: do not check blockstore with spv
2019-04-08 13:18:56 -07:00
Braydon Fuller
d1e747cf2f
blockstore: minor, update comments and docs
2019-04-08 13:18:55 -07:00
Braydon Fuller
8b6ec89a64
blockchain: use blockstore for undo coins
2019-04-08 13:18:55 -07:00
Braydon Fuller
0b0dd58a91
node: add blockstore to full node
2019-04-08 13:18:54 -07:00
Javed Khan
6be21203af
blockchain: integrate blockstore into chaindb
2019-04-08 13:18:53 -07:00
Braydon Fuller
392b3836fc
Merge pull request #715 from pinheadmz/inspect
...
Use custom `inspect` for all objects to avoid deprecation warning
2019-04-05 09:41:24 -07:00
Braydon Fuller
a9ebeb3871
blockchain: remove coin cache
2019-03-21 15:15:51 -07:00
Matthew Zipkin
df4e287817
utils: custom inspect for objects
2019-03-11 14:28:45 -07:00
Braydon Fuller
fa877503a4
blockchain: enable segwit for regtest
2019-01-31 13:03:59 -08:00
Mark Tyneway
b10aea8f3d
bugfix: regtest segwit start time 0
...
The deployments are written to and read
from a database and the start time is
a U32. Changing the value to -1 will cause
the value to be read incorrectly and cause
the tests to fail.
2019-01-28 15:31:59 -08:00
Javed Khan
53a09b0a02
networks: always activate segwit for regtest
2019-01-28 15:31:57 -08:00
Javed Khan
9a22976631
multi: fix lint warnings
2018-08-13 17:30:30 +05:30
Christopher Jeffrey
f10d7b8363
pkg: remove bn.js dependency.
2018-08-10 16:33:38 -07:00
Christopher Jeffrey
a0ac953079
bcoin: update logger usage.
2018-08-10 16:24:10 -07:00
Christopher Jeffrey
9ee3854828
bdb: upgrade bdb usage for keys.
2018-08-10 16:24:10 -07:00
Christopher Jeffrey
a45e683eb2
bcoin: switch to bsert for everything.
2018-08-10 16:23:46 -07:00
Christopher Jeffrey
b92839c82a
bcoin: use buffer-map. see #533 .
2018-08-10 16:23:46 -07:00
Christopher Jeffrey
cfeacb309e
chain: mark historical bad merkle block as mutable.
2018-07-12 10:17:13 -07:00
Christopher Jeffrey
22830cf6f3
chain: earlier sanity checks.
2018-07-12 10:16:58 -07:00
Christopher Jeffrey
c388498ab0
pkg: update deps.
2018-03-29 21:56:53 -07:00
Christopher Jeffrey
f1672a8b86
types: cleanup types.
2018-03-29 21:56:53 -07:00
Christopher Jeffrey
c63e977ccf
chaindb: minor.
2018-03-29 21:56:52 -07:00
Christopher Jeffrey
417b37b0c3
db: remove backend option.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
bad028ab67
chaindb: refactor.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
cb978df380
db: drop old migrations. avoid using encoding.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
83e1de2e98
db: stop relying on encoding.
2018-03-29 21:56:51 -07:00
Christopher Jeffrey
dbde501444
db: use bdb key object.
2018-03-29 21:56:50 -07:00
Christopher Jeffrey
167304666b
db: migrate to key objects.
2018-03-29 21:56:50 -07:00
Christopher Jeffrey
5ea218b373
bcoin: require bn.js directly.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
3c82ac0486
bcoin: use util.revHex again.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
f313ca166d
wallet: classify.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
6a5d5c1e48
chain: no return await.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
3565d5dfe7
chaindb: minor.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
daa55a05bc
primitives: classify primitives.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
ca08d6d97e
bcoin: rename bufio and bstring.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
73892701e8
utils: switch to bevent.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
4535cd1827
utils: start using bmutex.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
a79c2b0b1a
bcoin: start switching to class syntax.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
f9eba3f5a6
crypto: start using hash.digest().
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
8332b93721
utils: remove dependence on co.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject.
2018-03-29 21:56:47 -07:00