diff --git a/13.md b/13.md index cf5b1ac..77daf51 100644 --- a/13.md +++ b/13.md @@ -96,6 +96,21 @@ function countLeadingZeroes(hex) { } ``` +Filter +------ + +A new `pow` field is introduced for `REQ` messages from clients: + +```jsonc +{ + // other fields on filter object... + "pow": +} +``` + +`pow` field is an integer (between 0 and 255) that represent the minimum `difficulty` that an event ID must have. +Relays SHOULD discard from query result all events with a difficulty lower than `pow`. + Delegated Proof of Work -----------------------