Merge pull request #689 from meshtastic/key-validation

add nodeinfo bool/bitfield for is_manually_validated
pull/692/head
Ben Meadors 2025-05-20 19:42:17 -05:00 zatwierdzone przez GitHub
commit 0b32ce24f0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 13 dodań i 0 usunięć

Wyświetl plik

@ -164,6 +164,12 @@ message NodeInfoLite {
* Last byte of the node number of the node that should be used as the next hop to reach this node.
*/
uint32 next_hop = 12;
/*
* Bitfield for storing booleans.
* LSB 0 is_key_manually_verified
*/
uint32 bitfield = 13;
}
/*

Wyświetl plik

@ -1459,6 +1459,13 @@ message NodeInfo {
* Persists between NodeDB internal clean ups
*/
bool is_ignored = 11;
/*
* True if node public key has been verified.
* Persists between NodeDB internal clean ups
* LSB 0 of the bitfield
*/
bool is_key_manually_verified = 12;
}
/*