subscribe-with-prefix
#75
Merged
offbyn
merged 1 commits from subscribe-with-prefix
into master
1 year ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'subscribe-with-prefix'
Deleting a branch is permanent. It CANNOT be undone. Continue?
fixes #69
cce0bd9115
tob4bb503bdd
1 year agodo it now in this PR? so it's all in a single change.
also, don't you want to apply the same filter for future events? here:
@ -13,6 +14,7 @@ export const sub24hFeed = (onEvent: SubCallback) => {
const now = Math.floor(Date.now() * 0.001);
const pubkeys = new Set<string>();
const notes = new Set<string>();
const prefix = Math.floor(config.filterDifficulty * 0.25);
consider using division instead of multiplying. i find this easier to understand:
because there are 4 bits in each
'0'
character.makes sense
#75 is this PR :)
maybe you meant #69?
b4bb503bdd
toe83e083e3d
1 year agoe83e083e3d
to5734736458
1 year ago5734736458
to4a8025cfe9
1 year ago4a8025cfe9
to5e61dcef0c
1 year ago5e61dcef0c
into master 1 year agoReviewers
5e61dcef0c
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.