Questions tagged [blockchain-fork]
This tag should be used for questions regarding any split in the Bitcoin blockchain
397
questions
3
votes
1
answer
219
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 ...
2
votes
1
answer
79
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 ...
0
votes
2
answers
56
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
0
answers
39
views
Litecoin withdraw to a bitcoin wallet by mistake how can I fix?
Litecoin withdraw transaction where bitcoin address was mistakenly used and a new litecoin address was created. Once on the chain it took the bitcoin address and created a litecoin address still ...
0
votes
2
answers
60
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
690
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
41
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
93
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
47
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 ...
1
vote
1
answer
91
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
58
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
52
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
327
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
84
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&...
0
votes
1
answer
51
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
377
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
94
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
64
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
123
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
150
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
42
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
899
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
38
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
64
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
80
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
42
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
197
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 ...
5
votes
2
answers
476
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
61
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
74
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
30
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
45
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
122
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
70
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
77
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
124
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://...
2
votes
1
answer
437
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
84
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?
1
vote
1
answer
105
views
How are malicious forks resolved?
I understand that forks are resolved by opting in for the eventual longest chain, preferring the chain with the longest POW. But everything I read on this suggests it's just random chance or that the ...
1
vote
0
answers
40
views
Questions RE soft forks
I’m trying to understand how the Bitcoin network works a bit better and the main thing I’m having trouble with is forks, particularly soft forks. I have a few questions about how exactly a soft fork ...
9
votes
1
answer
2k
views
When bitcoin forks, how do they decide which fork gets the original name?
Bitcoin has had a number of forks over the years. The biggest one was Bitcoin and Bitcoin Cash.
Bitcoin seems to have won out in this fork, and is much more popular than Bitcoin Cash.
However, how was ...
1
vote
0
answers
36
views
How to fork Bitcoin with ease [duplicate]
I want to create a fork of Bitcoin which I can mine and have a wallet to send to another address to learn more about how Bitcoin works. Is there a very easy way to do this? Like can I just fork the ...
0
votes
1
answer
148
views
Why am i picking up 2 blockchains for my BTC address
So this is my address
38UPP6po1NJvNQoTavvTBzbRi1bKcyR7tZ
And i am picking up 2 blockchains ,one for BTC and BCH ? I did a transfer a week ago and i am not sure why i cant see the funds in my coinbase ...
0
votes
1
answer
55
views
Safe way to claim hard fork coin [closed]
let said ALice own 10 BTC at address "ABC", at block height 3,456,700, it was hard-forked to Bitcoin "Zaza".
At block height 3,500,000. The stable version of Bitcoin"Zaza"...
1
vote
1
answer
60
views
What were some discussed and current potential issues with pre-forked Bitcoin coins from August 2017 that have never moved since then?
I was speaking to a friend that mentioned that there were issues with pre-forked Bitcoin coins from Aug 2017 that never moved. He wouldn't tell me exactly what the potential issue was, but what were ...
1
vote
2
answers
522
views
Were anyone-can-spend transactions valid before SegWit?
Non-segwit nodes (legacy nodes) see segwit transactions as anyone-can-spend (ACS) transactions. It is clear that such a nodes can (and do) validate blocks containing ACS transactions, because the ...
0
votes
0
answers
31
views
Most Energy-Efficient Way To Reactivate Disabled Operational Codes (Opcodes)?
Currently, there exist a number of operational codes (opcodes) within the bitcoin protocol that have been disabled for security reasons. These script functions of the bitcoin protocol were taken out ...
1
vote
1
answer
70
views
With the right technology, could the entire blockchain be rewritten?
Imagine that someone had access to an alien super computer such that they could mine any block in nanoseconds. At that point, could that person create a chain with the same BTC genesis block, generate ...
1
vote
2
answers
181
views
How do we distinguish between BTC and BCH in an address?
Bitcoin.com has recently published an article about the DOJ seizure of Silk Road-related funds. The article states:
From 1HQ3, 101 BTC were sent to BTC-e, the defunct Russian exchange.
About 69,370 ...