Skip to main content

resolve

Function resolve 

Source
pub fn resolve(db: &Db, c: &Conflict, r: Resolution) -> Result<(), Error>
Expand description

Settle a conflict by writing the chosen value, append-only, and recording the decision.

The write goes through the public Db::put / Db::delete path, so a resolved value is validated, registers its collection and enters the Merkle chain exactly like any other write. There is no privileged path by which a merge can install a value the engine would otherwise refuse.