Questions tagged [forks]

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

17 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
63 views

How can I extract sidechains (transient forks) from a geth node before they get discarded?

According to my understanding, transient forks (also known as sidechains in geth's source code) are discarded or overwritten when a reorganization happens. But before that, when the node detects a ...
2
votes
0answers
37 views

Ropsten issues - two forks happening, transactions showing in both places

There seems to be a few issues going on with ropsten right now: https://twitter.com/sbetamc/status/1092167042709573633 https://twitter.com/stevenleeg/status/1092546643604459521 At the same time, a ...
2
votes
0answers
38 views

Geth Clique: can change config params in genesis and still retain the existing blocks?

I have altered my custom Geth private chain Clique PoA, but it seems after I do that I encounter: BAD BLOCK Error: invalid receipt root hash Is it possible to: change the Geth code add a new hard ...
2
votes
0answers
254 views

What does Vlad Zamfir mean by 'the fork-choice rule is stateful'?

Does he mean the rule to determine the next blockchain requires knowing the state of currently bonded validators? This “out-of-band authentication only necessarily once” property is what Vitalik ...
1
vote
1answer
104 views

How to fork current eth mainnet chain in new private blockchain from block #####

I want to run my own eth fork from mainnet (keeping history of transactions, balances & etc). How can I start my new geth instance that will start working after ###### block of mainnet chain? I ...
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 ?
1
vote
0answers
165 views

Why is my geth node stuck on block 7130891?

My geth mainnet node (version 1.8.21) has stopped on block 7130891. Interestingly, eth.syncing returns false and eth.blockNumber constantly returns 7130891. It was working up until ~24 hours ago. ...
1
vote
1answer
83 views

Spoon vs fork vs airdrop

Can someone explain the exact differences between the three? I'm most familiar with the fork, where the rules of generating blocks change creating a fork where miners can choose to follow the old ...
1
vote
0answers
42 views

What precisely classifies an off-chain block as a fork?

I am looking for validation (or invalidation) of my assumption of what strictly counts as a fork in Ethereum. If you start filters to multiple ETH nodes at the same time, you will very often see 2 or ...
1
vote
0answers
357 views

DB - How do I roll back to a block height?

I was informed on this post that I was, indeed, on a fork. My client starts syncing and encounters a discrepancy with my local DB copy. My peers then vanish. In my case, it would be a great hassle if ...
0
votes
0answers
24 views

gas estimation about tests on Ganache forked mainnet

I come up with this solution with gas estimation. Could someone help check whether it is feasible? If we want to send a transaction, first, we just fork the newest mainnet blockchain using ganache-...
0
votes
2answers
22 views

Could smart contract use a fork block?

If generated two forked block A and B. Can the smart contract in block A access to transaction in block B? I know that PoS is consensus algorithm working by check all stake in block. The verifier ...
0
votes
0answers
22 views

PIVX fork CryptoDezire Coin SendRawTransaction not working

A CDZC coin basically fork of PIVX . I am trying to send coin via rpc calls. Successfuly created RawTxn, SignRawTxn but unable to SendRawTxn. `await rpc.listunspent().then(async r => { ...
0
votes
0answers
54 views

Does uncle blocks in poa forks contains transactions?

Since that forks can happen in poa networks (I asked how to prevent forks here); What does means ? is uncle blocks contains transactions or they are just empty blocks ?
0
votes
0answers
36 views

What way there is to implement a new signing scheme in Ethereum?

I want to deploy a new signing scheme for the Ethereum transactions as an alternative to the currently implemented ECDSA. This will be for future research purposes on post-quantum signing schemes. The ...
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 ...
0
votes
1answer
52 views

Possible replay attack when paying to smart contract

I am afraid of a possible replay attack when paying to a smart contract. Given these 3 assumptions An action gas cost may change according to the state of the blockchain (even if its the same action)....