mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Drop duplicate ext msg broadcasts (#894)
Co-authored-by: SpyCheese <mikle98@yandex.ru>
This commit is contained in:
parent
79c48ebbba
commit
f344aa46c3
2 changed files with 17 additions and 2 deletions
|
@ -21,6 +21,7 @@
|
|||
#include "full-node-shard.h"
|
||||
#include "td/actor/PromiseFuture.h"
|
||||
#include "td/utils/port/Poll.h"
|
||||
#include <set>
|
||||
|
||||
namespace ton {
|
||||
|
||||
|
@ -250,6 +251,9 @@ class FullNodeShardImpl : public FullNodeShard {
|
|||
adnl::AdnlNodeIdShort last_pinged_neighbour_ = adnl::AdnlNodeIdShort::zero();
|
||||
|
||||
FullNodeConfig config_;
|
||||
|
||||
std::set<td::Bits256> processed_ext_msg_broadcasts_;
|
||||
td::Timestamp cleanup_processed_ext_msg_at_;
|
||||
};
|
||||
|
||||
} // namespace fullnode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue