Skip to content
Commit 32a86d8e authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Adds support for returning a custom header from `validate_block` (#825)

* Adds support for returning a custom header from `validate_block`

This adds support for returning a custom header from `validate_block`. Before this, we always
returned the header of the block that was validated (and still do it by default). However, after
this pr it is possible to set a custom header or better custom head data that will be returned
instead from `validate_block`. This can be for example when a chain wants to fork.

* FMT
parent 70ea9899
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment