Braydon Fuller
b4be8574e5
test: improve addrindex tests
...
- Vectors for p2wsh and p2sh.
- Edge case for witness program.
- Improve determinism by not comparing mtime.
- Various edge and error cases.
2019-05-15 12:11:32 -07:00
Braydon Fuller
bd26dbf32d
mempool: update for addrindex
2019-05-15 12:11:05 -07:00
Nodar Chkuaselidze
a9193f052f
mempool: fix malleability check in mempool
2019-02-14 19:56:51 +04:00
Nodar Chkuaselidze
32cba1bf4a
mempool: reflect spent coins in mempool coinview.
...
Currently coinview does not account for spent coins in the mempool,
This does not create problems because we have additional checks in
right places which detect double spends, but technically
coinview should help you detect double spent in the mempool as well.
This way it will be compatible with chain.getCoinView.
getSpentView will still return all outputs that are available
in the mempool. (This could also return spentView from indexers if
available, this method is used by `signrawtransaction`.)
2018-11-25 23:32:13 +04: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
febc55b586
minor: lint.
2018-03-29 21:56:53 -07:00
Christopher Jeffrey
417b37b0c3
db: remove backend option.
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
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
163e89fc29
bcoin: lint.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
8be995bd78
miner: classify.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
5c8a755d63
mempool: classify.
2018-03-29 21:56:49 -07:00
Christopher Jeffrey
405feef9ce
bcoin: clean up requires.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
21ab415769
refactor: switch to bio module.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
280d5d38e5
net/miner/hd: classify.
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
3c3f6b953c
network/fees: minor.
2018-03-29 21:56:48 -07:00
Christopher Jeffrey
a79c2b0b1a
bcoin: start switching to class syntax.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
424370bc1f
utils: stop using asyncobject.
2018-03-29 21:56:47 -07:00
Christopher Jeffrey
401829db5a
node: start using blgr and bcfg.
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
e92b1f4cec
utils: start using bfilter.
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
d0ed214067
bcoin: remove dependence on util.js.
2018-03-29 21:56:45 -07:00
Christopher Jeffrey
636d66a5c7
bcoin: use bcrypto. remove crypto module.
2018-03-29 21:56:45 -07:00
Christopher Jeffrey
ca4e938a75
mempool: fix orphan resolution edge case.
2017-09-26 20:22:54 -07:00
Christopher Jeffrey
1aa78e2248
mempool: sanitize after reorg.
2017-09-26 17:20:16 -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
eb5469088c
chain: refactor checkpoints handling. other misc refactoring.
2017-09-06 14:17:39 -07:00
Christopher Jeffrey
3bc47f5a3c
lint: enforce function names.
2017-08-06 21:36:48 -07:00
Christopher Jeffrey
62152a1005
util: remove util.inherits. inline inheritance.
2017-08-06 19:45:10 -07:00
Christopher Jeffrey
1df577cb74
validation: refactor.
2017-08-06 03:23:37 -07:00
Christopher Jeffrey
ae1c040cd7
mempool: minor verification refactor.
2017-08-04 14:14:15 -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
5602001348
coinview: fixes.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
a1601b8f3a
chaindb: alter hasCoins.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
492c05c378
coinview: refactor api.
2017-07-31 18:20:48 -07:00
Christopher Jeffrey
fbb2500281
layout: aggressive asserts.
2017-07-31 18:20:47 -07:00