南梦宫发布了《七龙珠》AR组件 人人能发龟派气功
百度 (记者王天淇)
Pay-to-PubKey-Hash is the standard format for making payments on the Bitcoin network.
96 questions
0
votes
1
answer
181
views
How to spend P2WSH address with full redem script and witness program?
I just put few dollar in here.
Bech32 Address: bc1qx6c07u2s6pu6d5ede8ee9hmynahp9edgg764cm58gfxmryk3ryqsxarnnv
Witness Script Hex 76a914b1217062623d9101426f61593cb1abc3e44ed00488ac
Witness Script Asm
...
0
votes
1
answer
68
views
Xpub used to create vendor addresses, btc not seen in wallet. How choose which derivation path is needed?
2020 I used xpub to generate btc addresses. Little did I know these would not be picked up by my wallet.
I still have all the keys for my wallet, but any wallet program does not seem to be able to see ...
0
votes
2
answers
108
views
bitcoin testnet transaction creation(in python)
import hashlib
import random
import requests
# Secp256k1 curve parameters
P = 2**256 - 2**32 - 977
N = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141
A = 0
B = 7
Gx = ...
3
votes
1
answer
189
views
Does a P2PKH transaction send to the hash of the uncompressed key or the compressed key?
Simple question but I didn’t find a reference. Is it the compressed public key that is used or the uncompressed public key?? Or can it be both??
0
votes
0
answers
47
views
Safety of dormant wallets on quantum breakthrough
I was researching the safety of dormant wallets when there is a quantum breakthrough that allows SHA-256 and RIPEMD-160 cracking from public addresses. I expect this to be decades away, but I would ...
1
vote
1
answer
91
views
P2PKH adresses containing sentences
I would like to know more about sentences that can exist in P2PKH adresses and how to find them.
For instance in the case of the bitcoin puzzle 66 that was stolen by someone's bot [1], the stealer ...
0
votes
2
answers
120
views
Can I spend a P2PKH transaction via the script-path of P2TR?
Is it possible to use a P2TR script-path to spend a legacy P2PKH UTXO? I have heard it is possible to "wrap" a P2PKH transaction with P2SH. Maybe it would be possible to "wrap" the ...
0
votes
1
answer
110
views
Why does Electrum's createnewaddress() only return legacy addresses?
Why does Electrum's createnewaddress() (or "Create Request") only return legacy addresses? How do I make it create bech32 addresses?
3
votes
1
answer
86
views
What's the reason for the scriptCode format for a P2WPKH? (BIP 143)
When signing a P2WPKH input, the P2WPKH locking script is converted to the pattern of a legacy P2PKH when creating the scriptCode.
From BIP 143:
For P2WPKH witness program, the scriptCode is ...
1
vote
2
answers
920
views
How does this simple script use the OP_CHECKSIG opcode?
I have this Script P2PKH
<A Signature> <A Public Key>
OP_DUP OP_HASH160 <A Public Key Hash> OP_EQUALVERIFY OP_CHECKSIG
The bitcoin.org documentation say this
The entire ...
2
votes
1
answer
147
views
Exact witness requirements for a segwit transaction with P2PKH and P2WPKH inputs
Segwit transactions can mix segwit and non-segwit inputs:
Segwit transaction from mixed addresses (segwit and non-segwit)
Can I build a raw segwit transaction with no segwit inputs?
But how exactly ...
1
vote
1
answer
89
views
I cannot broadcast my raw tx (P2PKH) on testnet: Signature must be zero for failed CHECK(MULTI)SIG operation
I am trying to broadcast my transaction on the test network with no success so far. I get always this error:
sendrawtransaction RPC error: {"code":-26,"message":"mandatory-...
3
votes
1
answer
697
views
Bitcoin Exchange only sends funds to P2PKH and P2SH addresses, but my address is Bech32. What can I do to get that fund into my account?
This is the email that I've received from my exchange:
There are three bitcoin address formats currently in use:
P2PKH addresses which begin with the number 1. P2SH addresses
starting with the ...
1
vote
1
answer
506
views
Creating a P2PKH address
I have been learning about how P2PKH addresses are generated so I thought I would try and work through one myself manually. I start with the following public key hash:
...
5
votes
1
answer
357
views
How can I cheaply consolidate P2PKH outputs?
I have thousands of UTXOs that were created for experimental purposes back in 2016, programmatically, using P2PKH transactions, each generating hundreds of 10K-ish sat outputs.
Since these are now ...