Expand description
The layer descriptions a cost estimate hands GroveDB
The layer descriptions a cost estimate hands GroveDB ([EstimatedLayers]).
GroveDB prices every operation at a layer’s path with one description, and a layer’s
description gives the level the written key sits on, which sets how many ancestors an update
propagates through. When two writes of one estimate reach keys at different depths of the
same layer, the estimate must be priced at the deeper one, whichever write registers its
description first; a write may be a nested estimator of an operation (a token mint describes
the root for its supply and then for its balance) as well as an operation of its own. Which
of two descriptions GroveDB prices dearer can change with the depth they are priced at, so an
estimate that is resolved waits until all of them are known, and only then picks one
([costliest_layer]).
Structs§
- Estimated
Layers - The layer descriptions a cost estimate hands GroveDB, one per layer path.