The contents newInfo struct were previously logged along with success/failure messages of sql executions. To avoid logging redundant information, those messages now include only the shortened nodeid.
TODO (#15):
In node_meta_info table, split the too_many_peers_counter field into 2: one for those received at p2p level (during handshake), another for those received at subprotocol level (during active peer connection)
Add counters for hello and status in node_info table. the counters should increment when updating the entries. When appending a new entry, they should be set to 0.
additional log messages specifically for Hello, Disconnect reason 4, Status, and DaoForkCheck.
[NEIGHBOR]|receivedAt=float64|fromId=string|node="..."
[HELLO]|receivedAt=float64|id=string|conn=trusted|"info=..."
[DISC4]|receivedAt=float64|id=string|conn=dyndial
[STATUS]|receivedAt=float64|id=string|conn=staticdial|"info="
[DAOFORK]|receivedAt=float64|id=string|conn=inbound|support=true
The contents
newInfo
struct were previously logged along with success/failure messages of sql executions. To avoid logging redundant information, those messages now include only the shortened nodeid.TODO (#15):
node_meta_info
table, split thetoo_many_peers_counter
field into 2: one for those received at p2p level (during handshake), another for those received at subprotocol level (during active peer connection)node_info
table. the counters should increment when updating the entries. When appending a new entry, they should be set to 0.