Questions tagged [blockchain-fork]
This tag should be used for questions regarding any split in the Bitcoin blockchain
408
questions
8
votes
1
answer
259
views
Why are the checkpoints still in the codebase in 2024?
I have a few questions on checkpointData in src/kernel/chainparams.cpp file.
This variable seems stopped being updated from approximately 10 years ago, judging by the timestamp of the height of the ...
0
votes
1
answer
22
views
What is the total-work contribution of 20-minute exception blocks on Testnet 3?
Do 20-minute exception blocks on Testnet 3 contribute total work according to their nBits or according to the actual difficulty of the current period?
Concretely, let’s assume there were two competing ...
-5
votes
2
answers
200
views
Is PoW an indispensable component in blockchain?
There is an argument that if the Proof-of-Work (PoW) mechanism is removed from the Bitcoin network or if the puzzle does not have a sufficient level of difficulty proportional to the computing power ...
1
vote
1
answer
601
views
How can the Bitcoin blockchain be forked?
I understand in the past the blockchain has been forked (I.e BCH, etc). Can this be done by a single miner? How exactly does this happen?
3
votes
1
answer
82
views
When chains branch, are there multiple UTXO sets?
If there are "fork" chains coming off a block, how do we keep track of the UTXOs of different public keys?
Would I just store UTXOs derived from the longest chain and recalculate if another &...
1
vote
1
answer
158
views
I have a 24 word seed and a passphrase - I need master private key
there's a wallet initially created by trezor using a 24 word seed and 25th word passphrase. I need the master private key of this wallet (old P2PKH format) to get access to old fork coins.
However, ...
2
votes
0
answers
102
views
Would the network switch to a new chain that differ from the genesis block?
The rule is to follow the strongest chain, i.e., the chain that contains the most work is considered the one the entire network should follow (the chain of truth). If a new chain appears that differs ...
0
votes
1
answer
103
views
How is the problem of orphan blocks solved in this case?
All nodes are online all the time, they were not offline.
What will happen if some of my peers (blue peers) have their chains as follows:
... -> A -> B -> D (main chain)
\-> C
...
0
votes
0
answers
92
views
Is the stale block (its header) accepted only if it extends the existing stale chain tip or it is only necessary that the parent is known? [duplicate]
When I write "accepted" for non-main (canonical) chain blocks, I mean on accepting and storing their headers, not entire blocks. Additional request for an entire block is done once the chain ...
2
votes
1
answer
127
views
What is fee sniping?
What is a fee sniping attack? In several places I came across a mention of this type of attack, however, it is not clear to me what it represents.
They also say that today it is not so common and ...
3
votes
2
answers
175
views
What Satoshi Nakomoto quotes are there in relation to forks and altcoins?
What Satoshi Nakomoto quotes are there in relation to:
forks of Bitcoin?
forks in general?
altcoin/similar projects?
Here I mean forks that form distinct new coins/ecosystems, not in relation to ...
4
votes
1
answer
448
views
What are the last common blocks of Bitcoin and its hard forks (Bitcoin Cash, Bitcoin SV etc.)?
What are the last common blocks of Bitcoin and its most popular hard forks like Bitcoin Cash, Bitcoin SV, Bitcoin Gold, Bitcoin Diamond etc.?
4
votes
1
answer
258
views
Theoretical attack on the network by companies
I've thought about how powerful companies can change the protocol in pretty much any way they want. I'm pretty sure and hope there's some kind of way the network is resilient to this but I'm not sure ...
0
votes
1
answer
111
views
Does adding OP_1 to scriptSig create a fork between non-segWit and segWit nodes?
According to this, when the scriptPubKey equals to:
OP_n (with n between 0 and 16, inclusive) followed by a direct push of exactly 2 to 40 bytes inclusive
... it denotes the start of SegWit validating ...
1
vote
2
answers
78
views
How do we know whether a pull request will be a soft fork or a hard fork?
Aren't all pull requests either one or the other - a soft fork or a hard fork?
0
votes
2
answers
80
views
How does a node know if there are two conflicting blockchains?
I am curious to know how a node first knows if there are conflicting blockchains, I'm assuming, when two miners send a node a valid block, the node accepts the one it received first, and restores the ...
3
votes
3
answers
756
views
Why does everyone say that soft forks restrict the existing ruleset?
I understand that a key element of a soft fork is that legacy nodes will accept transactions from updated nodes. This is essentially the whole point of a soft fork as opposed to a hard fork.
But ...
0
votes
1
answer
57
views
rejecting a block (leaving it orphan) implies that also valid transactions become invalid?
In a comment to an answer to Why is not good having forks in a blockchain? loremas89 asked:
But ,rejecting a block (leaving it orphan) implies that also valid transactions become invalid ones. Can ...
3
votes
2
answers
113
views
Why is not good having forks in a blockchain?
To be more specific, if I imagine to work with isolated transactions chained to each other according to money flow, then I understand that we wish to have a single chain because forks would mean the ...
1
vote
0
answers
35
views
Who determines a hard fork [duplicate]
I'm trying to really get a deep understanding of the roles miners and nodes play in enforcing the Bitcoin rules.
If a hard fork is presented, who determines if the fork is accepted, nodes or miners? I ...
0
votes
2
answers
106
views
Deleting data in blockchain
I have read that block in blockchain is immutable since the next block is storing the hash of previous block .
What if , to remove a block from the blockchain , I set the "previous hash" of ...
2
votes
1
answer
299
views
How is it resolved when two miners find the block at the same time?
I am new in this world and I am trying to understand some simple concept of Blockchain and the propagation of transaction.
Let say that a transaction x is made so from what i understand until now this ...
1
vote
1
answer
73
views
Does Bitcoin need future consensus change upgrades or could a billion people use Bitcoin today?
Do Bitcoin Core and other base-layer implementations necessarily need further upgrades in order to become sufficiently fast and efficient to process the volume of transactions that you and others ...
2
votes
1
answer
58
views
Can you attack the network in a UASF-way?
Let's say that an attacker wants to deploy a softfork, that isn't desired by the majority of the Bitcoin users. Can he enforce that softfork in a UASF-way, essentially flooding the network with nodes ...
1
vote
1
answer
357
views
Bitcoin chain reorganization
When two blocks are mined and propagated at similar times times causing a fork, how long would a node store a stale chain until considered orphaned?
How many blocks (work) are needed on chain I for ...
2
votes
2
answers
99
views
What would happen to a LN channel if one of the parties followed a minority fork of Bitcoin?
Assuming a fork due to consensus-breaking rule change either hard-fork, UASF or similar. (So not including short reorgs.)
Would the channel simply become inactive/disabled and get "automatically&...
1
vote
1
answer
64
views
Selling BTC and claiming forks, what should be done first?
I own some small amount of BTC since 2015. As I was busy doing an offline business, I absolutely missed all information updates about BTC for latest 7 years. Now I am going to sell my BTC but I ...
4
votes
1
answer
395
views
Is every BIP actually a small fork?
What precisely do we consider as fork?
It seems that every BIP can be seen as a fork, at least a soft fork since a lot of BIPs indeed are backward compatible. How big or impactful something has to be ...
0
votes
1
answer
203
views
What is the difference between 51% attack fork, hard fork and soft fork?
I am confused between the forking that can be created because of the 51% attack and the soft fork and hard fork.
Does forks because of 51% attack can also lead to new crypto currency creation?
1
vote
1
answer
84
views
Restarting the bitcoin chain in a land far away, after a global total collapse disaster
So I've been thinking about this scenario, you are a survivor of a global disaster.
Years later you find a running solar powered bitcoin node and want to restart the chain.
You have a few running ...
0
votes
3
answers
159
views
How does Bitcoin prevent double-spending without penalizing miners?
In the network nodes below as shown in picture:
Let's say A is trying to double spend by sending bitcoins to B,C (A->B) and (A->C) and let's say A tried to relay (A->B) transaction to honest ...
1
vote
1
answer
187
views
Is the removal of Bitcoin checkpoints considered a hard-fork?
The value of DEFAULT_CHECKPOINTS_ENABLED is true and changing it will allow nodes using the default settings to accept blocks that would be currently rejected during a potential reorg. Is this change ...
0
votes
1
answer
48
views
is possibile to fork the bitcoin blockchain and change it checking if the pow is created from a clean energy?
is possible to Clone the Bitcoin blockchain and in the calculation, it does for the difficulty, instead of the global hash power given by the ASICs, put it the global production of clean energy ...
4
votes
1
answer
914
views
Does local blockchain database (blkXXXXX.dat) contain abandoned forks forever?
When my node realizes that the given block needs to be abandoned - does it leave it in the database or replace the block with a valid one? And if "invalid" block remains: is it somehow ...
0
votes
1
answer
43
views
Was the "sideloaded" data verified by bitcoind during the value overflow bug?
As a response to the overflow bug 2010, Satoshi wrote this post asking people to download the blockchain (blk****.dat and blkindex.dat) from a specific user.
Patch is uploaded to SVN rev 132!
For now,...
0
votes
1
answer
78
views
alertnotify: how long is long?
-alertnotify=<cmd>
Execute command when a relevant alert is received or we see a really
long fork (%s in cmd is replaced by message)
How long is "a really long fork"?
0
votes
1
answer
109
views
stop on alertnotify
-alertnotify=<cmd>
Execute command when a relevant alert is received or we see a really
long fork (%s in cmd is replaced by message)
How to stop Bitcoin Core on a really long fork?...
1
vote
1
answer
43
views
Where get list of all bitcoin data store changes?
I want to create my own database with bitcoin transactions, blocks and etc. I understand that bitcoin changes some times, added segwit and other. For support this thing i need remastered storage, ...
4
votes
1
answer
205
views
How is network conflict avoided between chains?
I have a question which may appear obvious but hopefully it’s not.
How do different Distributed Ledger Technologies (DLTs) and cryptocurrencies avoid network conflict?
I understand the distributed ...
6
votes
2
answers
532
views
Was Bitcoin 0.3.7 actually hard-forking?
Reading through the wiki (bitcoin.it consensus versions) I noticed that release 0.3.7 ("scriptSig + scriptPubKey evaluations separated") is listed as a hard-forking change. In BitMEX's ...
0
votes
1
answer
75
views
How is a large chain split resolved?
As far as I understood, on short timescales regularly a blockchain split happens, i.e. when two miners find a block concurrently. However just a few blocks later the chain with more work wins and all ...
0
votes
1
answer
82
views
Can a hacked/tampered full node be deployed in Bitcoin to accept blocks containing invalid transactions?
What if I deployed 3 of my personal tampered/hacked full nodes(with one of them a miner too) that accepts invalid blocks with proper PoW (containing invalid transactions) and rejects valid blocks. ...
1
vote
0
answers
34
views
What is the longest recorded "chainsplit" in bitcoin? [duplicate]
Wikipedia has this nice image:
where green is the genesis block, black is the best chain and purple are stale chaintips. What is the longest stale chaintip ever recorded?
0
votes
1
answer
50
views
Do BTC transactions also transfer funds of sister currencies that were forked from the BTC blockchain?
If I mined some bitcoin before the bitcoin blockchain was forked and I transfer those bitcoins to another bitcoin wallet after the bitcoin blockchain was forked, does that also transfer the "...
2
votes
1
answer
158
views
Does a hard fork need to include a soft fork as well?
Using these definitions of soft fork and hard fork:
soft fork – tightening of the consensus rules, new blocks remain valid for old nodes
hard fork – loosening of the consensus rules, new blocks might ...
0
votes
1
answer
71
views
I was wondering if Bitcoin Taproot is simply an upgrade or will it have its own coin as well? If so, where can I buy them?
I know Taproot is a soft fork, which basically means an upgrade. I see some forks have coins and some don't, I am lost on the difference and why. Litecoin is a fork and many others are that have coins ...
1
vote
1
answer
93
views
Choosing main chain based on difficulty
If a node observes a fork in the bitcoin chain, then the node will choose the chain that has the highest difficulty (sum of difficulty in each block of the chain).
But the difficulty changes only once ...
1
vote
1
answer
137
views
How do full nodes get the information about stale blocks?
In Bitcoin, many forks occur when multiple miners mine blocks at the same time. Then there will be multiple blocks at the same block height.
I was looking at the Bitcoin P2P developer guide at https://...
4
votes
1
answer
633
views
Will a hard fork be required to change timestamp fields?
In the protocol there are multiple timestamp fields with varying lengths. For example a 4 byte unix timestamp would overflow in the year 2106. Will a hard fork be needed to deal with this issue in the ...
0
votes
1
answer
106
views
Will the miner be provided with reward if a hard fork occurs?
When will the miner be provide with reward(if at all) when a hard fork occurs?
When will the miner be provide with reward(if at all) when a soft fork occurs?