add nodeinfo bool/bitfield for is_manually_validated

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