Skip to content

orchestrator: size an OP_RETURN by its real script - #3062

Merged
octobocto merged 2 commits into
masterfrom
qa/o1-op-return-size
Nov 28, 2026
Merged

octobocto merged 2 commits into
masterfrom
qa/o1-op-return-size

Conversation

@octobocto

Copy link
Copy Markdown
Collaborator

This PR sizes an OP_RETURN output by the script the wallet builds, so electrum news stories and comments pay the full fee rate and can be longer than 520 bytes.

  • Electrum send of a story or comment over 75 bytes paid under the fee rate (0.990 to 0.996 sat/vB at 1 sat/vB). Cause: fe42d74. Reproduce: electrum wallet on regtest, Broadcast News with a body, no fee typed, then getmempoolentry.
  • Electrum send of a story over 520 bytes failed with "exceed the maximum allowed script element size of 520"; a Core wallet sends it. Cause: ea12765. Reproduce: electrum wallet, Broadcast News with a 600-byte body.
Before After
before after
before after

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T17:51:45.472287Z 4ad1556 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@octobocto
octobocto force-pushed the qa/o1-op-return-size branch from c7dbe88 to 8409a5b Compare November 28, 2026 17:50
@octobocto
octobocto merged commit a4a9da5 into master Nov 28, 2026
@octobocto
octobocto deleted the qa/o1-op-return-size branch November 28, 2026 17:50
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.

1 participant