mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 14:05:51 +00:00
Configurable handling of untrusted validations and proposals
This commit is contained in:
committed by
Nik Bougalis
parent
bf013c02ad
commit
6746b863b3
@@ -2250,7 +2250,7 @@ NetworkOPsImp::recvValidation(
|
||||
|
||||
// We will always relay trusted validations; if configured, we will
|
||||
// also relay all untrusted validations.
|
||||
return app_.config().RELAY_UNTRUSTED_VALIDATIONS || val->isTrusted();
|
||||
return app_.config().RELAY_UNTRUSTED_VALIDATIONS == 1 || val->isTrusted();
|
||||
}
|
||||
|
||||
Json::Value
|
||||
|
||||
Reference in New Issue
Block a user