Skip to content

create a trim_headers functional test  #1242

Closed

Description

@delta1

we really need a functional test that exercises the trim_headers mode (#1190)

this would be useful to make sure that it continues to work after merging changes from upstream, or any other fixes/features

Activity

  1. psgreco commented on Jun 15, 2023

    @psgreco
    Contributor

    Some things come to mind that would be needed for this:

    1. 2 nodes, 1 for generation and 1 for testing (trim_header nodes don't offer blocks)
    2. signed blocks (not -generate)
    3. short epoch times, to make it easier to trigger
    4. start in non-dynafed mode (to check blocks with Proof)
    5. transition into dynafed after a few blocks to have both types of blocks trimmed
    6. test both real time cleanup and IBD
    7. test getblock and getblockheader rpcs
    8. check interaction with pruning (I don't think this is working right now)
    
  2. delta1 commented on Sep 17, 2024

    @delta1
    MemberAuthor

    was included in #1270

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions