Stack Exchange - Bitcoin
2,466 FOLLOWERS
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts.
Stack Exchange - Bitcoin
2d ago
What's the simplest way to test and verify that I am the owner of the fund except sending a real coin?
For legacy address, I think i can verify with signing/verifying message, is this simplest? But what can i do for the SegWit address ..read more
Stack Exchange - Bitcoin
2d ago
Can litecoin transaction to be send to bitcoin blockchain(to be sent to bitcoin address)using lighting network ..read more
Stack Exchange - Bitcoin
2d ago
One possible optimization to compress bitcoin transaction size is avoiding repetition of redundant data between inputs.
As a consensus change, a new transaction type could allow signing a list of txid:vout pairs if they all share the same output script.
To pick an extreme example, there are 1.6 million outputs with script 1HckjUpRGcrrRAtFaaCAUaGjsPx9oYmLaZ. Spending one of these P2PKH outputs costs 40+72 vBytes (prevOut + scriptSig) per input. By aggregating the scriptSig across inputs, the transaction could omit 72 per input and only include it once per transaction. When consolidating all the ..read more
Stack Exchange - Bitcoin
2d ago
I requested a withdraw for some funds to my wallet but customer service keep telling me that its going to take awhile for it to be processed because I'm not top tier members. It's been three days now and still nothing, should I be worried ..read more
Stack Exchange - Bitcoin
2d ago
What is a simple explanation of CScriptNum, the number encoding used by arithmetic opcodes in Bitcoin Script?
What would an illustrative pseudocode/python example look like?
What should the encoding of the following integers be (in hexadecimal)?
42
88
257
17000
8589934592
When is it not 4 bytes?
See Also:
Why are arithmetic script opcodes limited to 4 byte operands?
Arithmetic operations in Bitcoin (OP_ADD, etc)
Compact integer in Scripts ..read more
Stack Exchange - Bitcoin
2d ago
I test PSBT in my wallet today, create a transaction in Bitcoin Core, click "send" and "create unsigned", then "Load PSBT from ..." from menu, error shows:
Unable to decode PSBT
Unsigned tx does not have empty scriptSigs and scriptWitnesses.: unspecified iostream_category error
decodepsbt and analyzepsbt show the same error too:
TX decode failed Unsigned tx does not have empty scriptSigs and scriptWitnesses.: unspecified iostream_category error (code -22)
I have no ideal what happened. But same procedure works fine in another wallet of testnet. Both wallets are not watch-only. Besides, I ..read more
Stack Exchange - Bitcoin
2d ago
how do I find out if I have a bitcoin wallet. I have been contacted by a company who say I have a wallet but I did not buy bitcoin ..read more
Stack Exchange - Bitcoin
2d ago
The exchange requests the beneficiary's VASP. What to indicate ..read more
Stack Exchange - Bitcoin
2d ago
After searching for libraries that could do this, and/or code that could do this, all around the internet, and also AI code assistants failing me, I have managed to write C code (not C++, simple C) that generates a valid Bitcoin message signature! I used to code in C 30 years ago, so my code may not be the best, and I share it here in case one of you knows of a good library that does it all, as my next steps will be verifying a signature, preparing and posting transactions, etc. Here is what I have done:
Compile with (assuming you have all the libs in your path):
gcc btcsign.c -o btcsign -lse ..read more
Stack Exchange - Bitcoin
2d ago
I still have a private key from an old Bitcoin wallet (circa 2012), and I have a private key. I downloaded the bitWallet app for iOS, entered my private key there and my wallet with balance and all transactions was displayed. I wanted to transfer bitcoins to my new wallet, but I get the following error:
mandatory-script-verify-flag-failed (Public key is neither compressed or uncompressed)
My secret key is 52 characters long, starts with 5HpH….
Step 1: in the bitWallet (iOS) application I insert the private key, and it automatically calculates the correct address.
Step 2: I click “save” and s ..read more