mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Don't relay old proposals.
This commit is contained in:
@@ -1999,6 +1999,9 @@ private:
|
||||
assert (packet);
|
||||
protocol::TMProposeSet& set = *packet;
|
||||
|
||||
if ((set.closetime() + 180) < getApp().getOPs().getCloseTimeNC())
|
||||
return;
|
||||
|
||||
if ((set.currenttxhash ().size () != 32) || (set.nodepubkey ().size () < 28) ||
|
||||
(set.signature ().size () < 56) || (set.nodepubkey ().size () > 128) || (set.signature ().size () > 128))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user