Primary purpose of this patch-set is to get Friendship working again, and clean-up the logic so that it correctly works accross multiple Networks and Nodes. Currently friendship must be enabled by manually editting the appropriate node.json file, but suppport will eventually be available with a soon-to-come mesh.conf file. v2: Added an additional Debug Output clean-up patch that makes logging of incoming messages less noisy when multiple local nodes can decrypt the same incoming messages. Brian Gix (2): mesh: clean-up Recieved Message debug output mesh: Friendship clean-up and rewrite mesh/crypto.c | 4 +- mesh/friend.c | 610 ++++++++------------------------------------------ mesh/friend.h | 7 +- mesh/net.c | 328 ++++++++++++--------------- mesh/net.h | 31 ++- mesh/node.c | 2 +- 6 files changed, 271 insertions(+), 711 deletions(-) -- 2.21.0