All Questions
30,477
questions
0
votes
1
answer
29
views
SHA-256 hashing algorithm
Where in the Bitcoin github repo is the SHA-256 hashing algorithm defined? Is it a methematical formula?
3
votes
1
answer
119
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 ...
3
votes
0
answers
25
views
How does Ocean’s TIDES payout scheme work?
This week a new mining pool "Ocean" was announced. The mining pool uses a payout scheme called Transparent Index of Distinct Extended Shares (TIDES). The Ocean website describes the scheme ...
0
votes
1
answer
22
views
Paper Wallet: can I use the import option in my case?
I have created a paper wallet and I generated the public/private keys with Ubuntu live + Electrum. Now I have 2 questions:
In this case, can I IMPORT ( instead of SWEEP ) my keys in electrum and ...
0
votes
0
answers
15
views
Reflecting Fee? [duplicate]
I'm currently dealing with a case where I am asked to pay a Bitcoin reflecting fee in order to receive my withdrawl amount to my cashapp/bitcoin wallet. It is not currently showing anything pending on ...
2
votes
1
answer
148
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 ...
-1
votes
0
answers
34
views
Withdrawal bitcoin [closed]
I have two email accounts in BTCfree.win, and I achieved 0.2 free bitcoin during 3 years. On 24th September I withdrawed my bitcoin to my trust wallet address. It took about 1 month from my request ...
1
vote
1
answer
26
views
Is it possible to use Bitcoin Script to implement a quantum-resistant locking script that would be safe to spend from?
Stewart, I., et. al. (2018). "Committing to quantum resistance: A slow defence for Bitcoin against a fast quantum computing attack" described a method by which funds could be safely moved ...
0
votes
0
answers
23
views
calc Block Header hash
I use the following code to calculate the header hash.
function serializeBlockHeader(blockHeader) {
const version = Buffer.alloc(4);
version.writeUInt32LE(blockHeader.version);
console.log(...
0
votes
1
answer
35
views
Network fee more than transaction?
I sent 0.0005 btc to my wallet.
Bittrex took 0.0003 btc fee.
In my wallet it says 0.0005btc ,18 usd.
Then it says 0.002btc network fee, 92usd.
But i still have the 0.0005 btc in my wallet.
Who pays ...
0
votes
0
answers
59
views
What are all the consensus rules for the block version value? [duplicate]
I am interested in what are the all consensus rules for block version number in a block header?
Found some answer here.
Andrew Chow said that it can be whatever value we want except some specific ...
0
votes
0
answers
27
views
Fell for crypto Scam, I NEED HELP [duplicate]
I think I am being scammed right now - I have researched (too late) about this operation and a lot of stories seem to match what is happening to me right now. They made me pay a 30% fee to withdrawal ...
1
vote
1
answer
34
views
How to get a receiving address from Bitcoin Wallet app?
So, I'm trying to obtain my winnings from this online casino OZWIN CASINO, which is based out of Australia, and I'm located in the United States. Problem is that I've never used Bitcoin and I've just ...
0
votes
0
answers
12
views
bitcoin core. 0/no confirmations, in the memory pool [duplicate]
I ask for help, today I sent bits from my core wallet, everything was as usual.an hour after sending, I checked the transaction in the blockchain and it's not there at all, as if I didn't send it.......
2
votes
1
answer
115
views
Are all transactions, whether SegWit or non-SegWit, part of the commitment in a coinbase transaction?
A merkle root in a block header is a way to commit all transactions in that block. However, since it does not cover transaction witness data, another commitment needs to be made in a coinbase ...
0
votes
1
answer
60
views
severity of bitcoin vulnerability to AES crack
In the event that AES is cracked, what are the implications for the consensus layer of bitcoin? What are the implications for user's bitcoin wallets? On average, how many bitcoin would be available to ...
0
votes
0
answers
33
views
Where is the custody with lightning node?
I wrapped my head about LN a bit with LND and voltage ressources but regarding the custody I don't really get it. With bitcoin it's stateless as one can have the utxo's key and sign offline and just ...
0
votes
1
answer
32
views
Impact of Future Blocks on Bitcoin
The Bitcoin protocol limits the timestamp of future blocks to be at most 2 hours greater than the current time. If this time limit were increased, let's say to 8 hours, what impact would it have on ...
0
votes
1
answer
50
views
What am I doing wrong in calculating Merkle root of the block with only 2 transactions (block #99997)?
I want to learn how to calculate the Merkle root so I started from a simple example, a block with only 2 transactions (block #99997). However, I ran into a problem.
Mempool online block explorer says ...
0
votes
0
answers
16
views
different mainnet address types [duplicate]
1-ltc can transfer from p2pkh L-address to p2sh deprecated 3-address?
2-ltc can transfer from p2pkh L-address to p2sh new M-address?
3-ltc can transfer from p2pkh L-address to native segwit bech32 ...
1
vote
2
answers
231
views
Why don't Bitcoin mining operations grow exponentially?
I went to Bitmain's home website one day when I saw the S21 Hyd. I ran calculations on that and found out it could pay for itself every 4 months (after power bills). So, how come Bitcoin mining ...
3
votes
0
answers
40
views
bitcoind still running after 'bitcoin-cli stop'
I'm running Debian 11, all updates installed. 12gb RAM, massive internal SSD for storage.
$ /usr/local/bin/bitcoin-25.0/bin/bitcoin-cli stop has worked well shutting down bitcoind on my computer until ...
1
vote
1
answer
58
views
Why do nodes have a maximum peer count?
Why do nodes have a maximum peer count, in other words what could go wrong if each node is connected to all the nodes of the network?
1
vote
2
answers
192
views
Bitcoin Received But Then Sent
I received Bitcoin to my wallet but it looks like that was the sent out to someone else. How could that be?
The transaction number for the received coin on explorer shows:
...
0
votes
1
answer
36
views
Why is hosting a public bitcoind RPC node not more popular?
Seems like it would be a great way to expand the usability of Bitcoin, i.e. tell your friends to send their transactions to your node when they are not at home and then their client software only ...
0
votes
0
answers
36
views
Bitcoin Core not displaying my account balance, can't do anything with it
Over a month ago on , I tried to send my balance from my Bitcoin Core wallet to another wallet on a different client, but I had accidentally set a really low transaction fee, leading to the ...
2
votes
1
answer
55
views
What is the probability of accidentally getting a seed phrase that is associated with a real address with a balance in the bitcoin blockchain?
Good afternoon! Such a question is interesting, and with what probability can you accidentally get a seed phrase that is associated with a real address with a balance in the bitcoin blockchain?
-1
votes
0
answers
26
views
Which Crypto exchange you use most to buy Bitcoin? [closed]
Which Crypto exchange you use most to buy Bitcoin? With or without KYC.
0
votes
0
answers
55
views
Why do we need additional secret value (k) in ECDSA?
Formula for calculating an ECDSA signature (r, s) is:
s = k-1(z + qr)
k - private key for a random point R
z - hash of a message
q - original private key
r - x(R)
I am interested in why do we need ...
0
votes
0
answers
22
views
Most Secure Bitcoin Node Motherboard to avoid IME & PSP?
What is the correct motherboard model / CPU type to choose if your goal is to build a secure Bitcoin Node that has none of the exploit compromised back doors listed below by CPU type:
Intel ...
1
vote
1
answer
55
views
Sats stuck in "pending" after lightning channel force closure
I had a lightning channel force close because the other node went offline. Its now been 24 days yet the on chain sats are still stuck in "Pending" status and can't be spent. This is the ...
0
votes
0
answers
25
views
Do multiple issuances of a taproot asset, using the same group_key, count conceptually as the same asset, even if they have different asset_ids?
I am trying to understand the minting of Taproot Assets.
In particular I want to understand how to mint more of an existing asset, i.e. add to the existing supply of that asset.
I am experimenting ...
2
votes
1
answer
59
views
Lost bitcoin in a blocked transacion
I was trying to transfer some bitcoins from my bitcoin core wallet to another online wallet.
I did this transaction like 3 weeks ago. and I think I have lowered too much the fees.
The transaction was ...
0
votes
0
answers
22
views
Cannot Withdraw BTCpay Balance...Assistance Needed
I have tried to be as detailed as possible.
I setup a BTCpay store. When setting up the wallet I used a xPub key, that I own the private keys to. These private keys are attached to my blockchain.com ...
1
vote
1
answer
89
views
Why does each Bitcoin wallet application generate the same new receive address?
I use Sparrow, Ledger Live, BlueWallet and Nunchuk Bitcoin wallets. I was under the impression that new receive addresses are randomly generated. However, I have noticed that each wallet application ...
0
votes
1
answer
82
views
What is an "empty vector" in Bitcoin?
EDIT: Pieter Wuille gave an answer (look at the comments) to the last situation (with OP_CHECKSIG). OP_CHECKSIG is pushing 0x00.
E.g. OP_0 pushes the empty vector, which represents the number 0 (to
...
0
votes
0
answers
20
views
Can I use 2 individual private keys to spend from my Bip32 HD 2 or 2 multisig?
Example keys are fake:
If I build a 2 of 2 in Sparrow or any Bip32 Determ wallet, with P2WSH native segwit, and ONLY send funds to the very FIRST receiving address:
m/48'/0'/0'/2'/0/0: ...
1
vote
1
answer
84
views
Is the signature check performed when the signature is the empty vector?
In this answer Vojtěch Strnad wrote the following:
OP_CHECKSIGADD always performs one check per signature, since unused
public keys are required to be paired with an empty witness item and
are ...
1
vote
1
answer
56
views
What are the all benefits/advantages of OP_CHECKSIGADD over OP_CHECKMULTISIG?
What are all the benefits of introducing OP_CHECKSIGADD in Taproot instead of OP_CHECKMULTISIG?
I assume the first benefit is the following.
For example, in pre-taproot approach, if we have 3-of-10 ...
1
vote
0
answers
23
views
Indexing Spent UTXOs
I want to do analytics on bitcoin data and for this I would need to be able to check in what tx a spent UTXO is spent.
For this Im going to index all spent UTXOs in a database and I need help with ...
2
votes
1
answer
94
views
What would happen if we provide to OP_CHECKMULTISIG more than threshold number (m) of signatures?
Asked here but still no answer.
What would happen if we provide to OP_CHECKMULTISIG opcode more than threshold number (m) of signatures?
For example, if the m = 3 and n = 6 and the output script is:
3 ...
1
vote
2
answers
42
views
Is there an incentive to broadcast high fee transactions?
The way I see it there's no incentive for miners to broadcast high fee transactions they receive. They are more incentivized to keep these high-fee transactions to themselves until they can mine them ...
1
vote
0
answers
17
views
sweep 52 Character private key beginning with L
I'm trying to sweep an unencrypted private key, created with bitaddress.org 4 years ago into, Electrum. I also gave these to family with small amounts on, so need to figure this out before I go down ...
3
votes
0
answers
29
views
Bitcoin core shutdown after running for about 1 day
I have my bitcoin core daemon up and running on Ubuntu. However it always stops after running for serveral hours or 1 day. Here's the debug.log before it stopped.
2023-11-23T18:04:42Z [net] Saw new ...
1
vote
0
answers
31
views
How to organize a lightning node so that the liquidity is self balancing?
Does anyone here know a method to organize a lightning node so that it becomes self balancing? By self balancing I mean that the liquidity is "mostly" balanced so that transactions flow in ...
8
votes
2
answers
471
views
If you have the required mining power, is it possible to mine your transaction in the next block without propagating it to the network?
Let's imagine that you have 51% of all mining power. Is it possible to put a single transaction in the next block without putting it into the mempool and/or propagating the tx to the other peers ...
0
votes
1
answer
56
views
What would happen if we provide witness program different than 32 bytes for SegWit 1?
If the witness program (at the time of writing this question) is greater than 1, it is considered as anyone-can-spend output. Also, if the witness version is 1 and the witness program is 32 bytes, ...
1
vote
0
answers
28
views
Destination in WoS invoice is not WoS node
When I create an invoice in Wallet of Satoshi / Android, and lncli decodepayreq --pay_req=lnbc2 the invoice, there's a destination
{
"destination": "...
1
vote
0
answers
30
views
Unconfirmed transaction for 18 days [duplicate]
My transaction has been sitting in mempool unconfirmed for 18 days. I was dumb enough to use a custody wallet so there's absolutely nothing I can do to fix it on my end. Is there anything I can do to ...
0
votes
1
answer
78
views
Do we need a taproot commit for multisignatures if there is no script path, but we are using the MuSig2 protocol?
I read in some article for Taproot that if there is no need for a script path spending and a number of participant (multisignature with key aggregation) create together a taproot output key (key for a ...