PrevUpHomeNext
Validations::updateTrie (2 of 2 overloads)

Process a new validation.

Synopsis
void
updateTrie(
    ScopedLock const& lock,
    NodeKey const& key,
    Validation const& val,
    boost::optional< ID > priorID);
Description

Process a new trusted validation from a validator. This will be reflected only after the validated ledger is succesfully acquired by the local node. In the interim, the prior validated ledger from this node remains.

Parameters

Name

Description

lock

Existing lock of mutex_

key

The master public key identifying the validating node

val

The trusted validation issued by the node

priorID

If not none, the ID of the last current validated ledger.


PrevUpHomeNext