Skip to content

test: Rename SegwitVersion1SignatureHash() - #17141

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
jnewbery:2019-10-segwit-v1-is-segwit-v0
Oct 15, 2019
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
jnewbery:2019-10-segwit-v1-is-segwit-v0

Conversation

@jnewbery

Copy link
Copy Markdown
Contributor

The function implementing segwit v0 signature hash was originally named
SegwitVersion1SignatureHash() (presumably before segwit v0 was named
segwit v0). Rename it to SegwitV0SignatureHash().

Also rename SignatureHash() to LegacySignatureHash() for disambiguation.

The function implementing segwit v0 signature hash was originally named
SegwitVersion1SignatureHash() (presumably before segwit v0 was named
segwit v0). Rename it to SegwitV0SignatureHash().

Also rename SignatureHash() to LegacySignatureHash() for disambiguation.
@fanquake fanquake added the Tests label Oct 14, 2019
@laanwj

laanwj commented Oct 15, 2019

Copy link
Copy Markdown
Member

ACK eebcdfa

@elichai

elichai commented Oct 15, 2019 •

Copy link
Copy Markdown
Contributor

ACK eebcdfa (Checked to see you didn't miss any renaming)

@theStack

Copy link
Copy Markdown
Contributor

ACK eebcdfa

@fanquake fanquake changed the title Test: Rename SegwitVersion1SignatureHash() test: Rename SegwitVersion1SignatureHash() Oct 15, 2019
fanquake added a commit that referenced this pull request Oct 15, 2019
eebcdfa [test] rename SegwitVersion1SignatureHash() (John Newbery)

Pull request description:

  The function implementing segwit v0 signature hash was originally named
  SegwitVersion1SignatureHash() (presumably before segwit v0 was named
  segwit v0). Rename it to SegwitV0SignatureHash().

  Also rename SignatureHash() to LegacySignatureHash() for disambiguation.

ACKs for top commit:
  laanwj:
    ACK eebcdfa
  elichai:
    ACK eebcdfa (Checked to see you didn't miss any renaming)
  theStack:
    ACK eebcdfa

Tree-SHA512: ae504ac33dc4fca38079a113beb5ebcaf509162aef121edec5368a460a24c2ac040ef84f0be1dfc6186c32d94d68f8129db049907f1d6449f92eea9d39a40dbd
@fanquake
fanquake merged commit eebcdfa into bitcoin:master Oct 15, 2019
@jnewbery
jnewbery deleted the 2019-10-segwit-v1-is-segwit-v0 branch October 15, 2019 14:19
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants