乐高版《王者荣耀》英雄 李白和貂蝉“美”到哭瞎
百度 他以图案字体来设计书名,大胆改变汉字原有的笔划结构,突破传统书法的既有规则,赋予其强大的隐喻功能,可谓自成一派。
Pay-to-PubKey-Hash is the standard format for making payments on the Bitcoin network.
96 questions
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 = ...
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
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
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 ...
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??
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-...
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 ...
2
votes
1
answer
211
views
Certain spent P2PKH outputs give error: Non-canonical DER signature
Certain rare spent P2PKH outputs give error: Non-canonical DER signature when I try to verify the spent output using both btcdeb (version 5.0.24) and bitcoinconsensus (version 0.20.2, using Rust ...
3
votes
1
answer
239
views
Stuck dissecting a P2PKH Bitcoin transaction, what am I doing wrong?
I'm attempting to dissect a P2PKH transaction based on guidance from Rene Pickhardt's video (link). At around the 2:54 minute mark, he calculates the Bitcoin Address from the input. I'm interested in ...
0
votes
1
answer
94
views
Do we pay cheaper fees for less security in P2TR rather than P2PKH?
Answer quote:
P2TR now is a spiritual successor of P2PK: it locks funds directly to a key and only requires a signature to spend the funds.
If P2TR UTXOs are guarded by Schnorr signatures and P2PKH ...