Ori Newman
|
2adb4f5d0f
|
Fix UTXO index (#1548)
* Add VirtualUTXODiff and VirtualParents to block insertion result
* Add GetVirtualUTXOs
* Add OnPruningPointUTXOSetOverrideHandler
* Add recovery to UTXO index
* Add UTXO set override notification
* Fix compilation error
* Fix iterators in UTXO index and fix TestUTXOIndex
* Change Dialing to DEBUG
* Change LogBlock location
* Rename StopNotify to StopNotifying
* Add sanity check
* Add comment
* Remove receiver from serialization functions
Co-authored-by: Elichai Turkel <elichai.turkel@gmail.com>
|
2021-02-23 16:51:51 +02:00 |
|
Ori Newman
|
a1381d6768
|
Add TestCheckParentBlockBodiesExist (#1405)
* Add TestCheckParentBlockBodiesExist
* Use block in pruning point's anticone for the test
* Fix test db name
|
2021-01-14 13:31:17 +02:00 |
|
Svarog
|
a585f32763
|
[NOD-1551] Make UTXODiff immutable + skip cloning it in datastore (#1167)
* [NOD-1551] Make UTXO-Diff implemented fully in utils/utxo
* [NOD-1551] Fixes everywhere except database
* [NOD-1551] Fix database
* [NOD-1551] Add comments
* [NOD-1551] Partial commit
* [NOD-1551] Comlete making UTXOEntry immutable + don't clone it in UTXOCollectionClone
* [NOD-1551] Rename ToUnmutable -> ToImmutable
* [NOD-1551] Track immutable references generated from mutable UTXODiff, and invalidate them if the mutable one changed
* [NOD-1551] Clone scriptPubKey in NewUTXOEntry
* [NOD-1551] Remove redundant code
* [NOD-1551] Remove redundant call for .CloneMutable and then .ToImmutable
* [NOD-1551] Make utxoEntry pointert-receiver + clone ScriptPubKey in getter
|
2020-12-03 13:24:24 +02:00 |
|
Mike Zak
|
ab3c81c552
|
[NOD-1583] Move all TestXXX interfaces to testapi
|
2020-12-02 13:18:50 +02:00 |
|