mirror of
https://github.com/monero-project/monero.git
synced 2025-08-14 19:05:36 -04:00
Guarantee insertion order into the tree using global output ID
- Leaves enter the tree in the block they unlock, in the order they appear in the chain
This commit is contained in:
parent
306488b690
commit
634e12e9ad
13 changed files with 152 additions and 109 deletions
|
@ -54,7 +54,7 @@ public:
|
|||
, const uint64_t& coins_generated
|
||||
, uint64_t num_rct_outs
|
||||
, const crypto::hash& blk_hash
|
||||
, const std::multimap<uint64_t, fcmp::curve_trees::CurveTreesV1::LeafTuple>& leaf_tuples_by_unlock_height
|
||||
, const std::multimap<uint64_t, fcmp::curve_trees::CurveTreesV1::LeafTupleContext>& leaf_tuples_by_unlock_height
|
||||
) override {
|
||||
blocks.push_back(blk);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue