mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
integrating the existing state of TON Storage / TON Payments / CPS Fift development branches
This commit is contained in:
parent
040df63c98
commit
4e2624459b
153 changed files with 10760 additions and 1695 deletions
16
storage/PeerState.cpp
Normal file
16
storage/PeerState.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include "PeerState.h"
|
||||
namespace ton {
|
||||
void PeerState::notify_node() {
|
||||
if (node.empty()) {
|
||||
return;
|
||||
}
|
||||
td::actor::send_signals_later(node, td::actor::ActorSignals::wakeup());
|
||||
}
|
||||
|
||||
void PeerState::notify_peer() {
|
||||
if (peer.empty()) {
|
||||
return;
|
||||
}
|
||||
td::actor::send_signals_later(peer, td::actor::ActorSignals::wakeup());
|
||||
}
|
||||
} // namespace ton
|
Loading…
Add table
Add a link
Reference in a new issue