All Questions
28,690
questions
0
votes
0
answers
12
views
Who will use the blockchain if bitcoin has millions of users? [duplicate]
I am probably misunderstanding some things with either bitcoin or lightning. However, I'm confused how the bitcoin network will practically function at scale.
Let's say there are 400k transactions per ...
4
votes
2
answers
1k
views
Why do bitcoin exchanges use "central" wallets?
Most exchanges that have the option to deposit crypto offer individual wallets for every customer. What is the benefit of moving that money to a "central" wallet? Could they also just ...
0
votes
1
answer
26
views
testnet output address has no matching Script?
Here is my code to create a PSBT on the testnet:
const bitcoin = require("bitcoinjs-lib")
const privKey1 = "..."
const address1 = "mkVPHMR5euGTcvpFj6tfyVERstDdH4RtQs"
...
5
votes
1
answer
220
views
What is the difference between blocksonly and block-relay-only in Bitcoin Core?
The terms blocksonly and block-relay-only that are used in Bitcoin Core are very similar. What is the difference between them?
1
vote
1
answer
50
views
The true reason bitcoin needs merkle proof for SPV wallet?
I know exactly what merkle tree is, and I know it is used to verify a transaction is in a block with just a hundred of bytes flowing through my network cable (btw do I really lack that megabytes ...
1
vote
1
answer
32
views
How can i get the payee public key from the payment request
I'm trying to get the payees public key (destination node) from the payment request. You can see an example here.
In the source code for (https://lightningdecoder.com/) it seems like they get it from ...
0
votes
1
answer
40
views
Can miners single handedly perform 51 attack toward the network?
Is this true that miners alone cannot do 51 attack even one or a group of miners posses >51 percentage of hashrate of the network?
As far as I know, every block should be accepted by nodes to be ...
0
votes
0
answers
35
views
What are the incentives behind mining different coins (i.e., profit-switching)?
Consider for example BTC and BCH (and possibly BSV) that are coins with significant market capitalization and share the same algorithm (SHA-256). We observe:
(i) Large miners (or mining pools) divide ...
1
vote
1
answer
180
views
Why did Satoshi choose to start the block subsidy at 50 bitcoin per block?
It would seem that the subsidy for the first 4 years (210,000 blocks) could have been 40, 100, or any other value. Was there a reason Satoshi choose 50? Or was that an arbitrary decision?
0
votes
2
answers
22
views
Withdrawal Transaction Went to Mempool
I am very noob in bitcoin world and I have invested at one of the BTC trader.
After trading and making profit I did the withdrawal transaction of rupees 5220$ And suddenly it went in pending state.
...
0
votes
1
answer
32
views
Is there a way to know how many of currently unconfirmed transactions in the MemPool is currently being attempted by other miners?
Assume there there 100 unconfirmed transactions currently in the MemPool. And the size of a block is such that it's roughly made up of 10 transactions.
Now when a miner completes the Proof of Work &...
4
votes
1
answer
38
views
What is the largest multisig quorum currently possible?
Bitcoin script allows for a UTXO to be (un)encumbered by an N-of-N signature. When N is 1, this is referred to as a single signature.
What are the limits of N for this application?
What is the ...
3
votes
1
answer
44
views
How can I simulate a reorg for testing?
I'm trying to test the Bitcoin Dev Kit Electrum client with Electrs 0.9.1 for the case of a 1-block reorg. I use
invalidateblock on my single regtest bitcoind 22.0, but I don't see my
test transaction ...
2
votes
0
answers
45
views
How many blocks would it take to reduce the UTXO set to a single UTXO?
Assuming all block space were used to consolidate the UTXO set in the most efficient manner (and all key holders were collaborating for this purpose). How many blocks would it take to consolidate the ...
2
votes
1
answer
26
views
Does bitcoind validate every block for every time it starts?
When running bitcoind, it starts downloading the blockchain and validate every block in a row. It stores the blockchain in the ~/.bitcoin/blocks directory. And when we break daemon and restart it, ...
3
votes
4
answers
1k
views
Is bitcoin script necessary?
satoshi created bitcoin script which is the language that the bitcoin client uses to handle most of the operations such as sending or verifying transactions.
was it necessary to have another language ...
0
votes
1
answer
17
views
Old Blockchain Wallet App Not Working (android)
I have the Blockchain wallet app most recent version (yet, years old) everytime I try to login it says "error connecting to server" And I have the internet and 4 digit pin, and this app is ...
1
vote
1
answer
60
views
Baffled by endianness: How do I compute the HASH160 of the public key of a base58 address?
Given an address as follows:
> spend_address=$(btc-cli getnewaddress '' legacy)
> btc-cli getaddressinfo $spend_address
spend_address info {
"address": "...
0
votes
0
answers
19
views
Programatically acquire Bitcoin after acquiring funds from a user
Forgive me if this sounds stuoid, but I have done some research and Im still not clear.
We have an application that acquires money from my users via Adyen and my users' debit cards. We now want to buy ...
3
votes
1
answer
58
views
Is commenting on github as reviewer good place to ask questions about source code?
I'm not sure even this question is off-topic or not. But bear with me.
Currently I have a good knowledge of bitcoin protocol and network but know very little about its source code and implementation ...
0
votes
0
answers
28
views
What's purpose of "signed by A & B" in atomic swap algorithm?
We can implement cross chain trading with atomic swap. Here's the algorithm in its wiki page.
I'm curious why is signed by A & B in Tx1 have to be a condition, since atomic swap succeed with x and ...
2
votes
1
answer
58
views
Can the difference be determined between two nonces k1, k2, having a linear relationship if the nonce and private key are unknown, i.e., k2 - k1 = n?
My question is related to weak signature vulnerability testing where a hypothetical attacker does not know the values of the nonce or private key itself, but can determine that the nonce 'k1' is ...
0
votes
2
answers
43
views
Monitor multiple bitcoin addresses
I would like to know if I could monitor new transactions on several addresses that I do not have access to personally and see if the transactions were validated by the network with an API, and if ...
0
votes
1
answer
80
views
Where to download "Bitcoin core" wallet application from?
Why there are 2-3 bitcoin core applications online?
bitcoin-qt at bitcoin.org,
bitcoin knots
bitcoin core on bitcoincore.org
Which should I use?
0
votes
0
answers
9
views
./minerd --url=127.0.0.1:6332 1 miner threads started, using 'scrypt' algorithm. HTTP request failed: json_rpc_call failed, retry after 30 seconds
I'm experimenting mycoin running the cpuminer using the command: ./minerd --url=http://127.0.0.1:6332 --user=myuser --pass=mypassword --coinbase-addr=my_address
I tried to run this because blocks are ...
0
votes
0
answers
15
views
Electron readonly password
Is it possible to add a read-only password to wallet? Or to have it open in read-only mode without password at all?
One can create a watching wallet but then the synchronization goes separately.
5
votes
2
answers
342
views
Was the addition of OP_NOP codes in Bitcoin 0.3.6 a hard or soft fork?
I'm doing some deeper research into historical consensus changes and it seems like most folks consider the addition of the OP_NOP codes to be a hard fork. Here's the diff for their addition: https://...
0
votes
0
answers
17
views
Generate list address bitcoin - python 3.9.6
i try to generate list address bitcoin by code below but not worked, please help. Thanks
low = 0x2C45E9017ED4 #2^250
high = 0x2C45E9017fff #2^251
def prv():
while True:
ran = (low,high,1)
def ...
5
votes
1
answer
104
views
BIP-341: Should key-path-only P2TR be eschewed altogether?
Consider BIP-341 "Constructing and spending Taproot outputs" where it says
If the spending conditions do not require a script path, the output key should commit to an unspendable script ...
0
votes
0
answers
27
views
Bitcoin Node not working
i am using docker approach to set up the bitcoin node , which i have used earlier and worked fine for me . but now when i try this approach using the image from - https://hub.docker.com/r/kylemanna/...
0
votes
0
answers
52
views
What is the first Deterministic BIP39 Wallet released?
I'm studying the BIP39 and the seed phrase.
I can read this doc (https://en.bitcoin.it/wiki/BIP_0039) and I can find Created: 2013-09-10.
In bitcoin talk I can read this article (https://bitcointalk....
1
vote
0
answers
42
views
nunchuk.io - "To create new wallets, additional XPUBs from the key are needed."
I'm trying to start using Nunchuk (nunchuk.io), so I created 3 software keys on 3 different devices for my account, and then was able to create a wallet using those 3 keys as signers.
But when I try ...
2
votes
1
answer
32
views
Why is the intersection of two quorums must be greater than N/3 when proving streamlet?
Why is the intersection of two quorums must be greater than N/3 when proving Streamlet, a blockchain consensus protocol [BY Chan, Elaine Shi, 2020]?
In Streamlet, honest node vote for proposed block ...
0
votes
0
answers
41
views
How to cash crypto in fiat in Ireland?
How to cash USDT (preferable) or other crypto currency (stablecoin preferable) in fiat (EURO preferable) to withdraw fiat from ATM in Ireland finally (with reasonable commission)?
Debit card issued by ...
0
votes
2
answers
65
views
How can a transaction be spent unless it is written in the blockchain?
I'v seen an unconfirmed transaction in the blockchain.com and one of its outputs is currently spent. How it this possible for coin to be spent before the transaction is written on the blockchain?
0
votes
1
answer
27
views
cryptopunks , wallet recovery [closed]
i guys, i tried all i can think off . if any off you knew gamecredits wallet app from 2017 ?? that is no longer in excistense but i just after years found the info . i transferred 2 punks into that ...
0
votes
1
answer
19
views
How can i write my own bitcoin miner software/program?
I want to produce satoshis from the computer's cpu or gpu, collect them in a pool and transfer them to the wallet I want. I've been searching for months, but I couldn't find a training set for what I ...
0
votes
1
answer
40
views
Technology and logics behind BTC flashing apps
How they develop BTC flashing software ? I mean, is there any technical way to send fake BTC ? If not, how BTC flashing app works.. I am just curious ..
1
vote
1
answer
49
views
Can a transaction be dependent on another in the same block?
Say I'm creating a multi-sig wallet with a friend to bet on the election. Can my deposit to the multi-sig wallet be dependent on the my friends deposit to the wallet?
Say I'm Alice, and my friend is ...
0
votes
0
answers
27
views
What has to be signed in the scriptSig for (non-standard) P2SH?
I'm trying to spend coins put in a P2SH address (custom script).
I've built a transaction (call it dummytx) with the same output as the one I'd like to send, and the same input except for the ...
0
votes
0
answers
8
views
bitcoinj startAsync() causes app to fail repeatedly
I have no experience with android programming. I am just trying to build a simple wallet.
Following is the trial code:
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
...
1
vote
0
answers
29
views
How can I recover from a "Bitcoin not sent" error on Bitcoin wallet
I use the Bitcoin wallet by the Bitcoin Wallet Developers.
Wallet 9.03, Android 9, Huawei P10 Plus.
After trying to send bitcoin to my Coinbase account, the message "Bitcoin not sent" ...
3
votes
1
answer
42
views
Do BIP21 URIs have a required order for the parameters?
I need some help understanding a finer point of BIP21 URIs. Is there a required order for the parameters? I'm not very experienced with the concept of ABNF grammar, so I'm having trouble understanding....
0
votes
1
answer
78
views
Minimum disk space required for running a full node
As far as I know, for running a full node, we should have enough storage to store the whole block chain which is currently around 390 GB. But here at the official bitcoin.org the minimum hard-disk is ...
0
votes
1
answer
76
views
How do we know that Bitcoin supply is actually capped at 21 million?
Everyone says that the Bitcoin supply is capped at 21 million. But how did everybody come to this number? In Nakamoto's paper, I could not find this number. Can someone explain where it is or how we ...
1
vote
1
answer
238
views
Question about Bitcoin's Median Time Past
I was currently reading the book Mastering Bitcoin written by Andreas and was pretty confused about the concept called Median Time Past. Hopefully I can get some of your advice.
From my understanding, ...
1
vote
1
answer
50
views
Verifying the Pizza transaction in Python
A friend of mine and I are trying to learn how to read the bitcoin blockchain. We've gotten pretty much everything except the ECDSA verification that the coins spent actually belong to the person who ...
0
votes
1
answer
44
views
Scripthash from bitcoin address with Golang
I broke my head looking for a solution.
I want use bitcoin address for electrumx
Take bitcoin address from docs example: 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa
And i need convert to ...
2
votes
2
answers
264
views
Can I use RBF Protocol to change the value of the transaction?
I understand that we can use RBF Protocol to replace a transaction with higher fees to get the transaction confirmed faster.
However, is it possible to use RBF to change the value of the transaction ...
2
votes
1
answer
107
views
What is an inflationary bug in the context of bitcoin?
I often hear that the worst bug that could impact bitcoin is an inflationary bug.
But what exactly is meant by 'inflationary bug'?