mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Automatically issue and import fast sync overlay certificates
This commit is contained in:
parent
09c4488fbf
commit
378b5e94c8
12 changed files with 661 additions and 183 deletions
|
@ -100,7 +100,10 @@ class FullNodeImpl : public FullNode {
|
|||
void set_validator_telemetry_filename(std::string value) override;
|
||||
|
||||
void import_fast_sync_member_certificate(adnl::AdnlNodeIdShort local_id,
|
||||
overlay::OverlayMemberCertificate cert) override {
|
||||
overlay::OverlayMemberCertificate cert) override {
|
||||
VLOG(FULL_NODE_DEBUG) << "Importing fast sync overlay certificate for " << local_id << " issued by "
|
||||
<< cert.issued_by().compute_short_id() << " expires in "
|
||||
<< (double)cert.expire_at() - td::Clocks::system();
|
||||
fast_sync_overlays_.add_member_certificate(local_id, std::move(cert));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue