mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Deprecate 'Time to Live' fields
This commit is contained in:
@@ -1605,9 +1605,6 @@ PeerImp::onMessage(std::shared_ptr<protocol::TMProposeSet> const& m)
|
||||
{
|
||||
protocol::TMProposeSet& set = *m;
|
||||
|
||||
if (set.has_hops() && !cluster())
|
||||
set.set_hops(set.hops() + 1);
|
||||
|
||||
auto const sig = makeSlice(set.signature());
|
||||
|
||||
// Preliminary check for the validity of the signature: A DER encoded
|
||||
@@ -2111,9 +2108,6 @@ PeerImp::onMessage(std::shared_ptr<protocol::TMValidation> const& m)
|
||||
{
|
||||
auto const closeTime = app_.timeKeeper().closeTime();
|
||||
|
||||
if (m->has_hops() && !cluster())
|
||||
m->set_hops(m->hops() + 1);
|
||||
|
||||
if (m->validation().size() < 50)
|
||||
{
|
||||
JLOG(p_journal_.warn()) << "Validation: Too small";
|
||||
|
||||
Reference in New Issue
Block a user