nip-13: check zero leading bits #64

Merged
offbyn merged 1 commits from update-difficulty-filter into master 1 year ago
offbyn commented 1 year ago
Owner

before it was only testing if the nonce commitment is high enough
but didn't verify leading zero bits.

with this change rendering checks now the leading zero bits count
of the event id.

before it was only testing if the nonce commitment is high enough but didn't verify leading zero bits. with this change rendering checks now the leading zero bits count of the event id.
offbyn added 1 commit 1 year ago
ci/woodpecker/pr/woodpecker Pipeline was successful Details
ci/woodpecker/push/woodpecker Pipeline was successful Details
8ff1d2c1d8
nip-13: check zero leading bits
before it was only testing if the nonce commitment is high enough
but didn't verify leading zero bits.

with this change rendering checks now the leading zero bits count
of the event id.
offbyn commented 1 year ago
Poster
Owner

keeping for now, but similar to #60 this could be done only once when receiving an event, instead of checking on every render.

keeping for now, but similar to https://git.qcode.ch/nostr/nostrweb/pulls/60 this could be done only once when receiving an event, instead of checking on every render.
offbyn merged commit 8ff1d2c1d8 into master 1 year ago
offbyn deleted branch update-difficulty-filter 1 year ago
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
The pull request has been merged as 8ff1d2c1d8.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b update-difficulty-filter master
git pull origin update-difficulty-filter

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff update-difficulty-filter
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nostr/nostrweb#64
Loading…
There is no content yet.