mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Update validations on UNL change (RIPD-1566):
Change the trust status of existing validations based when nodes are added or removed from the UNL.
This commit is contained in:
@@ -899,8 +899,12 @@ OverlayImpl::send (protocol::TMValidation& m)
|
||||
});
|
||||
|
||||
SerialIter sit (m.validation().data(), m.validation().size());
|
||||
auto val = std::make_shared <
|
||||
STValidation> (std::ref (sit), false);
|
||||
auto val = std::make_shared<STValidation>(
|
||||
std::ref(sit),
|
||||
[this](PublicKey const& pk) {
|
||||
return calcNodeID(app_.validatorManifests().getMasterKey(pk));
|
||||
},
|
||||
false);
|
||||
app_.getOPs().pubValidation (val);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user