Commit f767566
fix: accept proofless transfer messages, count them separately
Archives do not persist RLN proofs (no proof column in the message
store schema), so every message served from a peer's archive via
store-sync transfer arrives proofless and was rejected in an endless
retry loop (observed in the simulator: same missing messages
re-transferred and re-rejected every sync round). Validate only
proof-carrying messages; count proofless ones via the new
total_transfer_messages_unverified metric. Real enforcement requires
persisting proofs in the archive - recorded as a production gap.
Part of the "Store as a startup-only dependency" experiment (step 8 fix).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent e57546b commit f767566
3 files changed
Lines changed: 18 additions & 5 deletions
File tree
- logos_delivery/waku
- node
- waku_store_sync
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
408 | | - | |
409 | | - | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
413 | 420 | | |
414 | 421 | | |
415 | 422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
0 commit comments