PrevUpHomeNext

handleNewValidation

Handle a new validation.

Synopsis
bool
handleNewValidation(
    Application& app,
    STValidation::ref val,
    std::string const& source);
Description

Also sets the trust status of a validation based on the validating node's public key and this node's current UNL.

Parameters

Name

Description

app

Application object containing validations and ledgerMaster

val

The validation to add

source

Name associated with validation used in logging

Return Value

Whether the validation should be relayed

Header

#include <ripple/app/consensus/RCLValidations.h>


PrevUpHomeNext