add nodeinfo bool/bitfield for is_manually_validated

This commit is contained in:
Jonathan Bennett 2025-05-20 18:22:37 -05:00
parent d8b709aa5d
commit 2b59c7f519
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_manually_validated
*/
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 validated.
* Persists between NodeDB internal clean ups
* LSB 0 of the bitfield
*/
bool is_manually_validated = 12;
}
/*