Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is the P2WPKH_WITNESS_EXAMPLE meaning?needs/bridge #2182

Open
LXHLeaner opened this issue Mar 11, 2024 · 2 comments
Open

what is the P2WPKH_WITNESS_EXAMPLE meaning?needs/bridge #2182

LXHLeaner opened this issue Mar 11, 2024 · 2 comments
Labels
kind/question Generic question needs/area Needs area label(s) needs/triage Waiting for triage to be accepted

Comments

@LXHLeaner
Copy link

LXHLeaner commented Mar 11, 2024

/**
 * A P2PKH witness example for estimating txn size before signing transaction.
 */
const P2WPKH_WITNESS_EXAMPLE: Witness = {
  scripts: [
    { hex: '3044022000000000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000000001' },
    { hex: '000000000000000000000000000000000000000000000000000000000000000000' }
  ]
}

Are the first 30440220 and the middle 22 fixed values? What is the signature algorithm we use?

Tasks

Preview Give feedback
No tasks being tracked yet.
@LXHLeaner LXHLeaner added the kind/question Generic question label Mar 11, 2024
@github-actions github-actions bot added the needs/triage Waiting for triage to be accepted label Mar 11, 2024
Copy link

@LXHLeaner: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the BirthdayResearch developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@github-actions github-actions bot added the needs/area Needs area label(s) label Mar 11, 2024
Copy link

@LXHLeaner: There are no 'area' labels on this issue. Adding an appropriate label will greatly expedite the process for us. You can add as many area as you see fit. If you are unsure what to do you can ignore this!

You can add area labels by leaving a /area comment.

Details

I am a bot created to help the BirthdayResearch developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@LXHLeaner LXHLeaner changed the title what is the P2WPKH_WITNESS_EXAMPLE meaning? what is the P2WPKH_WITNESS_EXAMPLE meaning?needs/bridge Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Generic question needs/area Needs area label(s) needs/triage Waiting for triage to be accepted
Projects
None yet
Development

No branches or pull requests

1 participant