Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

void #10712

Closed
ghost opened this issue Jun 1, 2019 · 3 comments
Closed

void #10712

ghost opened this issue Jun 1, 2019 · 3 comments
Labels
F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust.

Comments

@ghost
Copy link

ghost commented Jun 1, 2019

moved to: https://github.com/lazaridiscom/parity-ethereum/issues/2

@jam10o-new jam10o-new added F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust. labels Jun 3, 2019
@jam10o-new
Copy link
Contributor

jam10o-new commented Jun 6, 2019

https://github.com/paritytech/parity-ethereum/blob/dae5d75dd65d6a51873ecd9c1c4f159f49f2a9f3/ethcore/blockchain/src/blockchain.rs#L1049-L1056

You can see the important functions here, a route is created and then the block is inserted with the route - the blockchain reevaluates the best_block every insertion.

@jam10o-new
Copy link
Contributor

The sentiment among the core-devs seems to be that this train of though is a little counterproductive.

To elaborate we shouldn't be treating existing blocks as invalid after importing them in any case, as that would mean we imported them without validation at some point, any further chains built on top are ignored. More succinctly -> #10085 itself is the issue we should be looking into solving as it gets us into a scenario we explicitly don't want to handle, we should be fixing that, not handling the repurcussions of it afterwards.

@dvdplm
Copy link
Collaborator

dvdplm commented Jun 6, 2019

So, I've tried to use the repro code to see if it can help us pinpoint the problem and unfortunately I cannot trigger the error. Blocks #6942 and #6943 seem to be imported properly and while #6882 does cause 2019-06-06 18:55:43 UTC Verifier #2 TRACE blockchain #6882 0x28fd…5a04 - 0x273b…0377 HASH UNEQUAL, #6882 it does not trigger a panic or error.

Not sure if I'm doing something wrong here or if the repro does not work on all hosts or…?

@ghost ghost closed this as completed Jun 13, 2019
@ghost ghost changed the title Provide MissingParent Error-Recovery void Jun 13, 2019
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F8-enhancement 🎊 An additional feature request. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

No branches or pull requests

2 participants