commit 20f0aed2ed17aeb6b8a4f6c861c594641f458954 parent d44c4c2f9c007995d8b660787fc81d0d6f1433fd Author: William Casarin <jb55@jb55.com> Date: Wed, 31 Jul 2024 14:21:47 -0700 doc: add docs for get_unknown_note_ids Signed-off-by: William Casarin <jb55@jb55.com> Diffstat:
M | src/app.rs | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/app.rs b/src/app.rs @@ -269,6 +269,14 @@ impl<'a> UnknownId<'a> { } } +/// Look for missing notes in various parts of notes that we see: +/// +/// - pubkeys and notes mentioned inside the note +/// - notes being replied to +/// +/// We return all of this in a HashSet so that we can fetch these from +/// remote relays. +/// fn get_unknown_note_ids<'a>( ndb: &Ndb, _cached_note: &CachedNote,