Skip to main content

Unanswered Questions

107 questions with no upvoted or accepted answers
0 votes
0 answers
20 views

Multisig Transaction Failure with High Threshold: 'Signature Must Be Zero for Failed CHECK(MULTI)SIG Operation'

I successfully created a transaction using a 3-of-4 P2SH script, but the transaction failed when attempting with a 5-of-8 P2SH script mandatory-script-verify-flag-failed (Signature must be zero for ...
1 vote
0 answers
34 views

In what cases is FindAndDelete useful?

In the non-segwit case, FindAndDelete removes signature data from scriptCode. In P2PKH, the signature is not included in the scriptPubKey, so I think the only thing that may actually have signature ...
0 votes
0 answers
45 views

How to create register system that automatically give each user his own Bitcoin address

I am a complete newbie and I made a website that will have a register system. I need to know how I can make a wallet that automatically generate a new address for each new register and of course ...
0 votes
0 answers
115 views

Bitcoin wallet generation with P2TR

I am a newbie in bitcoin development and I just started it with bitcoinj library for Java. I can get the code snippet to generate bitcoin wallet and legacy address. Timestamp createdAt = Timestamp....
0 votes
1 answer
117 views

Error validating transaction: Transaction orphaned, missing reference (TESTNET)

RAWTRANSACTION HEX ...
1 vote
1 answer
72 views

collision attack on bitcoin p2sh

Book "mastering bitcoin" 3rd edition, on page 73, there is a statement as following: "but there are organizations that expect to receive billions of dollars in bitcoins to addresses ...
0 votes
0 answers
70 views

Lib bitcoinconsensus verification returns SCRIPT_ERR_INVALID_STACK_OPERATION on a P2SH multisig output

I tried to verify an old transaction 6a26d2ecb67f27d1fa5524763b49029d7106e91e3cc05743073461a719776192 P2SH multisig input 0 using lib bitcoinconsensus and I got SCRIPT_ERR_INVALID_STACK_OPERATION. ...
0 votes
1 answer
128 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
145 views

Script evaluated without error but finished with a false/empty top stack element (Electrum gives error)

My raw Transaction ...
1 vote
0 answers
63 views

Import BitcoinCore's blockchain into bitcoinj

I'm a newbie in bitcoin. I've started programming some software using bitcoinj to make some transactions in bitcoin's testnet. But there is a huge problem I faced with. I cannot normally download the ...
0 votes
0 answers
89 views

How to extract p2sh from tx block

I'm trying to extract p2sh addresses from blocks and I am not doing something correctly. What I have tried is: def decodep2sh(self, redeemscript): sha256 = hashlib.sha256(bytes.fromhex(...
1 vote
1 answer
594 views

Generating HD Wallet Addresses in Java Using Bitcoinj

Is there some method that can be used to get the address, private and public key for any type of supported coin in a HD wallet? I can correctly generate these for Ethereum, which I verified on https://...
-1 votes
1 answer
299 views

Can I recover missed phrase on p2sh wallet?

I have a wallet from past with p2sh format, also I know my private key but I just lost 4 character of that, I tried few apps to recover that but no one works(they work on another wallets prefectly), I ...
1 vote
0 answers
154 views

Java bip32 library

I'm looking for java library that will cover bip32 address derivation (xpub to P2PKH, P2SH, P2WSH, P2WPKH, P2SH-P2WPKH). There seem to be a lot of libraries covering P2PKH, but not much else (like ...
0 votes
0 answers
519 views

How do you Derive Addresses from a BIP49 Master Public Key using P2WPKH-P2SH?

I am trying to derive addresses from a master public key (aka extended public key) in python. I don't fully understand the math behind the key derivation, but have been able to decode the master ...

15 30 50 per page
1
2 3 4 5
8