Merge pull request #1908 from majestrate/lrsm-and-queue-flush-2022-05-02

plug LRSM infoleak and queue flushing
pull/1912/head
majestrate 2 years ago committed by GitHub
commit a80f7e1cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -319,6 +319,8 @@ namespace llarp
self->hop = nullptr;
};
self->context->ForwardLRCM(self->hop->info.upstream, self->frames, func);
// trigger idempotent pump to ensure that the build messages propagate
self->context->Router()->TriggerPump();
}
// this is called from the logic thread

@ -145,8 +145,8 @@ namespace llarp
void
LR_StatusMessage::SetDummyFrames()
{
// TODO
return;
for (auto& f : frames)
f.Randomize();
}
// call this from a worker thread

Loading…
Cancel
Save