Merge pull request #689 from meshtastic/key-validation

add nodeinfo bool/bitfield for is_manually_validated
This commit is contained in:
Ben Meadors 2025-05-20 19:42:17 -05:00 committed by GitHub
commit 0b32ce24f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View file

@ -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;
}
/*

View file

@ -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;
}
/*