| Age | Commit message (Collapse) | Author |
|
|
|
prefix searching was removed from the spec.
|
|
I'm reverting a change made by @arkin0x in commit: https://github.com/nostr-protocol/nips/commit/6fb9e54f7b4886272f7464aba2f0971543d8df40#diff-cb504c91ef546f76741fb8fd4c13b1f97e4b5ce2a9d78afa545fb6ec799e06c2L39 which renders the example event unverifiable because of a changed hash.
|
|
|
|
|
|
Co-authored-by: Viktor Vsk <me@viktorvsk.com>
|
|
|
|
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.
|
|
|
|
Minor grammar fixes at lines 9 and 93.
|
|
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>
|