itns-sidechain/lib/mempool
Mark Tyneway 8cecb6b6af
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`.)

Port of bcoin commit: 32cba1bf4aa293bcf49c1849587dc1482ce98050
32cba1bf4a

Co-authored-by: Nodar Chkuaselidze <nodar.chkuaselidze@gmail.com>
Co-authored-by: Mark Tyneway <mark@purse.io>
2021-12-09 17:26:07 +04:00
..
airdropentry.js airdrop: fix airdrop proof relaying. 2019-01-21 22:06:30 -08:00
claimentry.js covenants: implement mass name revocation safeguards. see #103. 2019-04-01 06:25:40 -07:00
contractstate.js covenants: implement mass name revocation safeguards. see #103. 2019-04-01 06:25:40 -07:00
fees.js pkg: rename to hsd. 2018-08-01 20:00:09 -07:00
index.js pkg: rename to hsd. 2018-08-01 20:00:09 -07:00
layout.js bdb: update to use new key serialization. 2018-08-10 06:13:23 -07:00
mempool.js mempool: reflect spent coins in mempool coinview 2021-12-09 17:26:07 +04:00
mempoolentry.js pkg: rename to hsd. 2018-08-01 20:00:09 -07:00