Process a new validation.
void updateTrie( ScopedLock const& lock, NodeKey const& key, Validation const& val, boost::optional< ID > priorID);
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.
Name |
Description |
---|---|
|
Existing lock of mutex_ |
|
The master public key identifying the validating node |
|
The trusted validation issued by the node |
|
If not none, the ID of the last current validated ledger. |