diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-05 00:50:38 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-02-05 15:38:39 +0100 |
commit | ee865f851ca4b173da8d00e87a0ad446efc8037e (patch) | |
tree | 92a627afa5799d78df0fd5b09a711ca3b89a8b6b /src/namestore/namestore.h | |
parent | 65f9e37ce036acdfab29b25b9b6f69de1b126962 (diff) | |
download | gnunet-ee865f851ca4b173da8d00e87a0ad446efc8037e.tar.gz gnunet-ee865f851ca4b173da8d00e87a0ad446efc8037e.zip |
GNS: Implement Tombstone logic
GNS: Namestore zonemaster record store processing
ZONEMASTER: Do not publish records if tombstone expires in the future
NAMESTORE: Purge old tombstones.
Diffstat (limited to 'src/namestore/namestore.h')
-rw-r--r-- | src/namestore/namestore.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/namestore/namestore.h b/src/namestore/namestore.h index fd9a8ed47..bcc8f5d4e 100644 --- a/src/namestore/namestore.h +++ b/src/namestore/namestore.h | |||
@@ -83,9 +83,11 @@ struct RecordStoreMessage | |||
83 | uint16_t rd_count GNUNET_PACKED; | 83 | uint16_t rd_count GNUNET_PACKED; |
84 | 84 | ||
85 | /** | 85 | /** |
86 | * always zero (for alignment) | 86 | * This is a zonemaster request. |
87 | * It means more authoritative tombstone processing | ||
88 | * and not notification of monitors. | ||
87 | */ | 89 | */ |
88 | uint16_t reserved GNUNET_PACKED; | 90 | uint16_t is_zonemaster GNUNET_PACKED; |
89 | 91 | ||
90 | /** | 92 | /** |
91 | * The private key of the authority. | 93 | * The private key of the authority. |