Questions tagged [forks]

forks are events where the blockchain consensus is not guaranteed and clients may have different states

Filter by
Sorted by
Tagged with
11
votes
1answer
940 views

How can I reliably induce a blockchain fork for testing purposes?

I would like to reliably induce a fork on a private testnet so that I can test the behavior of off-blockchain code that interacts with contracts. (see related questions as to why I would want to do ...
16
votes
1answer
2k views

How should I handle blockchain forks in my DApp?

In the user interface of my DApp, how can I detect that a blockchain reorganization happened and what should I do to update the UI state once the fork is resolved?
3
votes
1answer
2k views

How to fork Ethereum from the current state?

I've read a lot of tutorials and guides that teach how to set up your own private network from scratch. However, how would I do that from the current state of the blockchain? Instead of generating a ...
12
votes
1answer
732 views

parity Ropsten testnet forked at block 296151?

I am seeing what looks like a fork in the Ropsten testnet at block 296151 (Jan 6, 11:14 PM UTC). Is this expected? My local Parity node (Parity/v1.4.7-beta-f2058bd-20161227/x86_64-macos/rustc1.13.0) ...
6
votes
2answers
264 views

Do I need to prepare anything for the upcoming homestead release?

This is a canonical question. What actions should regular users miners and pool operators developers undertake to prepare for the upcoming homestead release which includes a forking mechanism.
4
votes
1answer
726 views

What improvements will the upcoming Byzantium fork bring to Smart Contract development?

The Ethereum Team announced recently that the Byzantium fork will happen on October 16. This will be the first phase of the Metropolis upgrade. What improvements will the Byzantium bring to Smart ...
3
votes
3answers
1k views

Lost ether: wallet on some other chain

Yesterday I decided to move my Ethereum coins to my coinbase account from my PC based Ether wallet from Ethereum.org . I had 107ish coins. I sent 1.2 to my coinbase address as a test and they arrived ...
16
votes
3answers
3k views

TheDAO difference between a hard and a soft fork?

There are currently different scenarios examined which include soft or hardforking the ethereum blockchain to mitigate the DAO attack. What plans are there exactly and what are the difference between ...
9
votes
1answer
2k views

How to check if a transaction is still in the blockchain?

Say we want to confirm that a value transaction tx has reached certain finality, which we define as waiting for 12 block confirmations. We do this to drop the probability of tx getting lost due a fork ...
0
votes
0answers
55 views

Why does my private network transaction use a different amount of gas than my mainnet transaction performed immediately after?

I am forking the mainnet from my own geth node with ganache-cli --fork option. Immediately after the fork, I simulate a transaction to a contract on the forked, private network. I then immediately ...
2
votes
1answer
242 views

What happens if a miner who didn't soft fork mines an “invalid” block?

Can someone explain, technically, what would happen if a majority of the miners adopted a soft fork (forward-compatible) making some tx invalid and then a miner who didn't fork happened to mine a ...
1
vote
1answer
66 views

How to prevent fork in poa network?

I discover that forks in poa network can happen! I have 4 nodes (trusted nodes) I want to create a poa network with no forks, is it possible ?