Skip to content

== Generating == section missing from v23 upwards #211

Closed

Description

@jamillambert

There is a missing method invalidateblock in the types table under == Generating ==, when adding it I got to v23 and the whole section is missing. It is also missing from verify.

Is this intentional or should be fixed?

Activity

  1. jamillambert commented on May 29, 2025

    @jamillambert
    CollaboratorAuthor

    It is also missing from the output of running bitcoind v23 help, but the methods e.g. generateblock and invalidateblock are still there and don't say deprecated.

  2. tcharding commented on May 29, 2025

    @tcharding
    Member

    Gawd damn, I removed the section because it doesn't show up in the docs. No idea right at this minute what to do about that. Open to your suggestions.

  3. jamillambert commented on May 30, 2025

    @jamillambert
    CollaboratorAuthor

    It looks to have been intentionally dropped from the help section of core for v23 onwards, but I can't find the commit that does it and it's not in the release notes.

    We could either follow and not document it but keep the functionality, or add the section in for all versions and just treat them like the other commands. I guess undocumented means verify wont check it, or will need some kind of special rule.

  4. tcharding commented on May 30, 2025

    @tcharding
    Member

    I'm inclined to think, for a method:

    • If integration tests pass for the version we should test it even if its undocumented
    • We should not verify anything except what appears in the Core docs, and the types version specific mod files should keep in sync with the docs
  5. jamillambert commented on Sep 10, 2025

    @jamillambert
    CollaboratorAuthor

    The RPCs in Generating are implemented and tested up to v29. They will be handled similar to the Hidden RPCs in that they are implemented and have docs on the structs, but do not appear in the types rustdoc table for each version.

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