Keep messages the server rejects or drops out of the duplicate filter (#5258) Until the handshake completes the server now rejects any header other than node_id_handshake before reading the payload. Such a message used to be deserialized first, which entered a publish or vote into the duplicate filter, and only then ended the connection, so the same message from an established peer counted as a duplicate until the entry expired. When the message processor has no room for a publish or vote, the server now clears its digest from the filter, as the dispatcher already does when the block or vote processor refuses one, so a copy from another peer still gets through.
__________
Type: commit
Hash: efb52631a0441fd587acf3dd8b88d2e53127ec4b
Created: yesterday
__________
gr0v1ty/nano-node:efb52631a0441fd587acf3dd8b88d2e53127ec4b
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 104 s | -9.5 s | GitHub job logs | Show |
| 5n4pr_conf_10k_change | PASS | 130 s | -14.5 s | GitHub job logs | Show |
| 5n4pr_conf_change_dependant | PASS | 121 s | 6.0 s | GitHub job logs | - |
| 5n4pr_conf_change_independant | PASS | 115 s | 3.5 s | GitHub job logs | - |
| 5n4pr_conf_send_dependant | PASS | 118 s | 2.5 s | GitHub job logs | - |
| 5n4pr_conf_send_independant | PASS | 112 s | 0.0 s | GitHub job logs | - |
| 5n4pr_rocks_10k_bintree | PASS | 116 s | 3.5 s | GitHub job logs | - |
| 5n4pr_rocks_10k_change | PASS | 137 s | -23.5 s | GitHub job logs | - |