mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-10-23 12:12:37 +00:00
feat: process messages for new channels at boot
any new channel added to config will get backfilled if there are any messages to decrypt closes: #68
This commit is contained in:
11 files changed
+386
-47
No files matched your search
@@ -156,6 +156,11 @@ type Querier interface {
|
||||
// IATA membership comes from trace_iatas (joining observations here spilled the
|
||||
// hash join). Per-tag details filled in only for the returned page.
|
||||
ListTraceTags(ctx context.Context, arg ListTraceTagsParams) ([]ListTraceTagsRow, error)
|
||||
// Returns GRP_TXT packets (payload_type=5) never successfully decrypted. Used at boot to
|
||||
// retry decryption against the current keystore for packets whose channel key was only added
|
||||
// to the config after they'd already been ingested -- see
|
||||
// internal/ingest.BackfillChannelMessages.
|
||||
ListUndecryptedGroupTextPackets(ctx context.Context) ([]ListUndecryptedGroupTextPacketsRow, error)
|
||||
// Delete node_neighbors where the neighbor has departed from node_short_ids
|
||||
// for that IATA, or where its prefix_4 is now ambiguous.
|
||||
ReconfirmNeighbors(ctx context.Context) error
|
||||
|
||||
Reference in new issue
Block a user