Skip to content

01a052b6 - Do not reset pending notes to stamp Damus hashtags - #78

Merged
TaprootFreak merged 2 commits into
developfrom
01a052b6-hashtag-resign-pending
Aug 30, 2026
Merged

01a052b6 - Do not reset pending notes to stamp Damus hashtags#78
TaprootFreak merged 2 commits into
developfrom
01a052b6-hashtag-resign-pending

Conversation

@TaprootFreakAI

@TaprootFreakAI TaprootFreakAI commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

EN:
New forum posts were never reaching Damus because hashtag re-sign reset every unpaid note every two seconds and restarted a 60-second send lock. Photo-URL re-sign had the same lease rule but ran at a different point in the tick. Both now run after unsigned rows are signed, and only on already-published unpaid notes. Pending notes are sent as they are.

DE:
Neue Forum-Posts kamen nicht bei Damus an, weil das Hashtag-Re-Sign alle zwei Sekunden jede unbezahlte Note zurückgesetzt und die 60-Sekunden-Sendesperre neu gestartet hat. Foto-URLs hatten dieselbe Lease-Regel, liefen aber an einer anderen Stelle im Tick. Beides läuft jetzt nach dem Signieren neuer Posts und nur bei bereits veröffentlichten unbezahlten Notes. Pending Notes werden unverändert gesendet.

Details

Tick order: legacy t=bitcoin repair → signBatch → photo-URL resign → hashtag resign → publish.

listSignedMissingHashtags matches listSignedMissingPhoto: published, sats = 0, pending excluded. First sign still appends #bitcoin #21gifts via buildKind1Event. Zapped rows keep their event id.

Resetting every signed row every tick renewed the 60s sign lease, so
nothing reached a relay — including new forum posts. Only published
unpaid notes are re-signed, and only after unsigned rows are signed,
matching the photo-URL lease rule.
Both published-only resets now run after unsigned rows are signed, so
new forum posts are not queued behind a 20-row rewrite of old notes.
Pending notes still EVENT without being reset. Docs match that order.
@TaprootFreakAI

Copy link
Copy Markdown
Collaborator Author

EN:
Ready after 1 review pass.
Photo and hashtag re-sign now share the same order so new forum posts reach Damus instead of waiting behind a rewrite lock.

DE:
Bereit nach 1 Review-Durchlauf.
Foto- und Hashtag-Nachrüstung laufen in derselben Reihenfolge, damit neue Forum-Posts Damus erreichen statt hinter einer Rewrite-Sperre zu warten.

Details

CI on 07b61f28 is green. MERGEABLE onto develop. Tick: sign unsigned first, then reset published unpaid notes missing a photo URL or #bitcoin/#21gifts. Pending notes EVENT as-is.

@TaprootFreakAI
TaprootFreakAI marked this pull request as ready for review August 30, 2026 15:34
@TaprootFreak
TaprootFreak merged commit aeb3b43 into develop Aug 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants