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

Adds support for returning a custom header from validate_block #825

Merged
merged 2 commits into from
Dec 3, 2021

Commits on Dec 2, 2021

  1. 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.
    bkchr committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    4c94b9a View commit details
    Browse the repository at this point in the history
  2. FMT

    bkchr committed Dec 2, 2021
    Configuration menu
    Copy the full SHA
    306dabf View commit details
    Browse the repository at this point in the history