Commit Graph

128 Commits

Author SHA1 Message Date
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
Braydon Fuller
3457ccc91b
blockchain: remove blocks after commit 2019-04-08 13:24:54 -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
a9ebeb3871
blockchain: remove coin cache 2019-03-21 15:15:51 -07:00
Braydon Fuller
fa877503a4
blockchain: enable segwit for regtest 2019-01-31 13:03:59 -08:00
Javed Khan
9a22976631
multi: fix lint warnings 2018-08-13 17:30:30 +05:30
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
c388498ab0
pkg: update deps. 2018-03-29 21:56:53 -07:00
Christopher Jeffrey
c63e977ccf
chaindb: minor. 2018-03-29 21:56:52 -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
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
424370bc1f
utils: stop using asyncobject. 2018-03-29 21:56:47 -07:00
Christopher Jeffrey
41925d495c
utils: start using bbuf. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
658d3db928
encoding: refactor. remove bip70. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
d1e4be8343
bcoin: use bdb. 2018-03-29 21:56:46 -07:00
Christopher Jeffrey
749d4edc11
wallet: fixes for wallet server. 2018-03-29 21:56:45 -07:00
Christopher Jeffrey
969fd8f704
wallet-rewrite 2018-03-29 21:56:43 -07:00
Christopher Jeffrey
4d8ca8c16f
db: change iterator api to be more loop-friendly. 2017-10-18 12:58:21 -07:00
Christopher Jeffrey
459a9f25f4
chain/mempool: optimize coinview handling. fix mempool orphan edge case. 2017-09-26 13:07:01 -07:00
Christopher Jeffrey
5f82c0d8c2
chain: alias all db methods. remove chainentry spaghetti code. 2017-09-06 10:20:40 -07:00
Christopher Jeffrey
b81643473e
encoding: refactor int64 handling. 2017-09-05 21:17:58 -07:00
Christopher Jeffrey
a290e6880d
encoding: rename read int methods to readIx. 2017-08-06 03:27:06 -07:00
Christopher Jeffrey
6acf96457d
chaindb: fix cache invalidation. 2017-07-31 18:21:04 -07:00
Christopher Jeffrey
1bbe36ec1a
chaindb: minor. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
e38da91065
lint: no extra parens around !await. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
5e73e51177
lint: fix function names. 2017-07-31 18:21:03 -07:00
Christopher Jeffrey
55cf07a871
refactor: style for const/let and returns. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
6f3988e861
refactor: use const as much as possible. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
9cc5c393b4
eslint: use prefer-const. 2017-07-31 18:21:02 -07:00
Christopher Jeffrey
a1601b8f3a
chaindb: alter hasCoins. 2017-07-31 18:20:48 -07:00