Page MenuHomePhabricator

[paybutton spec] Updates to spec
ClosedPublic

Authored by bytesofman on Jan 20 2024, 15:34.

Details

Reviewers
Klakurka
Group Reviewers
Restricted Project
Commits
rABCdb058e9c530c: [paybutton spec] Updates to spec
Summary
  • Specify data pushes will be utf8 encoded
  • Specify that all pushes are required. OP_0 may be pushed in the data or nonce position to signify these pushes are empty.

Ref https://github.com/PayButton/paybutton/pull/340

Test Plan

Confirm spec is accurate + desirable

Diff Detail

Repository
rABC Bitcoin ABC
Branch
more-paybutton-spec-improvements
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26530
Build 52630: Build Diff
Build 52629: arc lint + arc unit

Event Timeline

Klakurka requested changes to this revision.Jan 21 2024, 00:58
Klakurka added a subscriber: Klakurka.

We're using 12-byte examples for the nonce (payment ID) here but we're actually going to be doing 8 bytes so let's change that. The rest looks good.

This revision now requires changes to proceed.Jan 21 2024, 00:58

specify nonce at 8 bytes, change data example to 12 bytes to avoid confusion with nonce

Update spec to require all pushes

bytesofman retitled this revision from [paybutton spec] Specify pushes to be utf8 encoded to [paybutton spec] Updates to spec.Jan 22 2024, 17:57
bytesofman edited the summary of this revision. (Show Details)
bytesofman edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 23 2024, 00:57
This revision was automatically updated to reflect the committed changes.