wherostr on Nostr: PoW calculates the difficulty by counting the number of leading zeros in the event ID ...
PoW calculates the difficulty by counting the number of leading zeros in the event ID bits.
For PoW filtering, we convert the target number into zero bits and send it to the relay.
Published at
2024-09-18 04:59:23Event JSON
{
"id": "d962a971fe05d6381b278edf45cc859f22b764ebb9d05148e9ecc15e6c4cf860",
"pubkey": "d67e88b9279a53626c9f716c976718ad245c45ffe2463119424d19b34bf845ac",
"created_at": 1726635563,
"kind": 1,
"tags": [
[
"e",
"0db1c232be60b9a451a7176361e434d21bbe4e75f61ee73c52c14ace2f35bfb7",
"wss://relay.damus.io/",
"root"
],
[
"e",
"baecfdbef54d6b97358b20025e702968f8194f2c241a897cc7baaa8e7163fe6f",
"",
"reply"
],
[
"p",
"f77dfdcfbcf088d39bea6157b803330445c1ffa650da6e3d6deeaaa417e93422",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "PoW calculates the difficulty by counting the number of leading zeros in the event ID bits.\nFor PoW filtering, we convert the target number into zero bits and send it to the relay.",
"sig": "aaf175845b5dc6969ef75c18efd9d6b0b871c9868b3a128f40aa4cef3f32de86942adec3bc99d67f3f94ae9fe92e8f5f4de07fee70d5fe5ebb512298ce3f5f9e"
}