diff options
| author | 2025-09-15 03:15:42 +0330 | |
|---|---|---|
| committer | 2025-09-15 03:15:42 +0330 | |
| commit | a13488312502b3f12c549040b529091be78e8f82 (patch) | |
| tree | 6ce9dc35fe4595f4563320bfcd110b9b53ddc7e1 /src/common.c | |
| parent | 75% instead of 50% (diff) | |
remove auth for querying by author
Diffstat (limited to 'src/common.c')
| -rw-r--r-- | src/common.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common.c b/src/common.c index 0cc0240..c85d166 100644 --- a/src/common.c +++ b/src/common.c @@ -50,12 +50,7 @@ enum client_input { register_neighbor = 0x15, // query packets for a specific author - // note: to prevent DoS, you must provide a signature by the requested author to be approved. - // the signature needs to be from a struct shaped `public_key + pub_sign_key + u16 count + u64 - // offset`. - // server must verify the signing key is of the author's pubkey and signing key by looking at - // the packet's metadata. - // (input public_key, input pub_sign_key, signature, u16 count, u64 offset) + // (input public_key, pub_sign_key, u16 count, u64 offset) // (responds with queried_author_packets) query_packets = 0x16, |
