In case useful from a noob look at the logs I wonder:
Without detail - should this start of node line be reporting something?
[sn_node] #INFO# [src/bin/sn_node.rs:113]
shows no extra detail on each node.
What is this node? [Infant|Adult|Elder]
Could do with a consistent way state is declared for Infant; Adult; and Elder.
seeing
Checking duty level:
but that’s not appearing on every log?.. and unclear how frequently that check is done.
there is also a mix bag of
[sn_node] #INFO# [src/node/mod.rs:###] We are Infant
[sn_node] #INFO# [src/node/mod.rs:###] Becoming Adult
[sn_node] #INFO# [src/node/mod.rs:###] We are Adult
[sn_node] #INFO# [src/node/mod.rs:###] Running as Node: BecomeElder
[sn_node] #INFO# [src/node/mod.rs:###] Running as Node: PromotedToElder
[sn_node] #INFO# [src/node/node_duties/network_events.rs:##] Node promoted to Elder
but no “We are Elder”?
A consistent format would help reverse seek on logs trip over the first and latest instance of that state for each node.
Noting, there are a lot of instances of Prefix() without a reference, perhaps that’s a work in progress.
[sn_node] #INFO# [src/node/node_duties/mod.rs:##] Processing Node Duty: MessageReceived { content: "#0#..", src: Section(Prefix()), dst: Section(#REF#) }
[sn_node] #INFO# [src/node/node_duties/mod.rs:##] Processing Node Duty: EldersChanged { prefix: Prefix(), key: PublicKey(#key#), elders: {#REFs#} }
[sn_node] #INFO# [src/node/mod.rs:###] Running as Node: MessageReceived { content: "#0#..", src: Section(Prefix()), dst: Section(#REF#) }
[sn_node] #INFO# [src/node/mod.rs:###] Running as Node: EldersChanged { prefix: Prefix(), key: PublicKey(#key#), elders: {#REFs#} }
[sn_node] #INFO# [src/node/mod.rs:###] Running as Elder: ProcessElderChange { prefix: Prefix(), key: PublicKey::Bls(#REF#), elders: {#REFs#} }
[sn_node] #INFO# [src/node/mod.rs:###] New event received from the Network: MessageReceived { content: "#0#..", src: Section(Prefix()), dst: Section(#REF#) }
[sn_node] #INFO# [src/node/mod.rs:###] New event received from the Network: EldersChanged { prefix: Prefix(), key: PublicKey(#key#), elders: {#REFs#} }
Sent from Section(Prefix()) to Section(#REF#)