Commit Graph

12 Commits

Author SHA1 Message Date
Yuki Kishimoto
ad5dff52bb
Add pow field to filter JSON object 2024-09-23 14:54:10 -04:00
Jon Staab
e7eb776288 Revert example code update 2024-09-09 17:41:57 -03:00
fiatjaf
b3c1a56269 nip13: remove section about pow prefix querying.
prefix searching was removed from the spec.
2024-08-20 15:42:40 -03:00
Václav Navrátil
f5be59b052
Fix of otherwise unverifiable event
I'm reverting a change made by @arkin0x in commit: 6fb9e54f7b (diff-cb504c91ef546f76741fb8fd4c13b1f97e4b5ce2a9d78afa545fb6ec799e06c2L39) which renders the example event unverifiable because of a changed hash.
2024-05-24 16:20:25 +02:00
fiatjaf
5dcfe85306
reformat a bunch of json things and small nitpicks. 2023-11-18 09:13:12 -03:00
fiatjaf
37f6cbb775 remove all NIP authors. 2023-11-16 10:24:53 -03:00
fiatjaf_
72bb8a128b
merge nips 12, 16, 20 and 33 into nip 01 (#703)
Co-authored-by: Viktor Vsk <me@viktorvsk.com>
2023-08-13 13:47:45 -03:00
arkin0x
61475db6f4
forgot to update the initial nonce in the explanation 2023-04-24 14:43:15 -05:00
arkin0x
6fb9e54f7b
example was incorrect
the example event id had 21 leading zeroes, not 20

I provided new C code that has been tested to work (I couldn't get the original example code to work) and I provided some JavaScript code to test event ids as well.

I did not re-compute the event id for the example event; I simply changed the nonce to be 21. Since it is an example, it may not matter that the event id is not correct.
2023-04-24 14:34:02 -05:00
vivganes
3cec80d99e fix grammar and typos 2023-04-07 11:45:06 -03:00
sgmoore
8918dc06ee Minor grammar fixes
Minor grammar fixes at lines 9 and 93.
2022-12-17 22:28:49 -03:00
William Casarin
d7a4aad4a0 Proof of Work
Thanks-to: Cameri and scsibug for the initial idea of using the id for PoW
Thanks-to: David A. Harding for the difficulty commitment idea
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-06 22:04:57 -03:00