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

Refactor validate_block #2069

Merged
merged 5 commits into from
Jan 10, 2023
Merged

Commits on Jan 9, 2023

  1. Refactor validate_block

    This pull request changes the `validate_block` implementation. One of the key changes are that we
    free data structures as early as possible. The memory while validating the block is scarce and we
    need to give as much as possible to the actual execution of the block. Besides that the pr moves the
    validation of the `validation_data` into the `validate_block` implementation completely instead of
    using this machinery with putting the data into some global variable that would then be read while
    executing the block. There are also some new docs to explain the internals of `validate_block`.
    bkchr committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    91ed4a5 View commit details
    Browse the repository at this point in the history
  2. No clone wars!!

    bkchr committed Jan 9, 2023
    Configuration menu
    Copy the full SHA
    6b443eb View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Integrate more feedback

    bkchr committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    7eda556 View commit details
    Browse the repository at this point in the history
  2. FMT

    bkchr committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    178a45c View commit details
    Browse the repository at this point in the history
  3. Delay the header encoding

    bkchr committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    d519aca View commit details
    Browse the repository at this point in the history