Skip to content

Only validate proof of messages addressed to me

To reduce the load on the supernode, only the proof for messages addressed to the supernode should be validated. This change increases the throughput from 1.5m ops/s to 21m ops/s.

Benchmark                                                     Mode  Cnt         Score   Error  Units
InvalidProofOfWorkFilterBenchmark.acceptMsgAddressedToMe     thrpt    2   1588005,150          ops/s
InvalidProofOfWorkFilterBenchmark.acceptMsgNotAddressedToMe  thrpt    2  21401363,810          ops/s

Merge request reports

Loading