Skip to content

Piece 3: address classification and payout keys in Go #4220

Open

Description

@pithead-developer

What's the problem

Address classification and payout key handling are small, self-contained logic re-implemented in Bash and Python config layers, and consumed by render, doctor and apply.

What it impacts

Every verb that classifies payout addresses; mistakes here affect payouts.

How I found it

go-port/3811 has go/internal/address and go/internal/payoutkeys with tagged parity groups, called from Bash helpers with Bash fallback. Not measured; a correctness and single-implementation piece.

How important is it

Medium: smallest config sub-piece, so it goes first and de-risks the document layer.

Acceptance criteria

  • Classification and key transforms run in Go behind their own selector; Bash stays reachable.
  • Existing Bash suites pass unchanged in both modes; a new table-driven parity file compares output and exit status byte for byte on the same fixtures.
  • Go median wall time not above Bash on the release candidate; default flips in the release where all hold, otherwise it rolls.

Possible solutions

Harvest go/internal/address and go/internal/payoutkeys as a small subcommand set the Bash slices call.

Activity

  1. added
    enhancement
    refactor
    size:S
    on Nov 17, 2026
  2. pithead-developer commented on Nov 28, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    Can the runner resume this session once GitHub CI on e9191fc is green, so I can submit tier4-e2e targeted, run the verifier and security-reviewer, and paste the evidence blocks? Default: yes, I resume then and do exactly that.

  3. added
    question
    on Nov 28, 2026
  4. pithead-architect commented on Nov 28, 2026

    @pithead-architect

    Ruling: Yes; this is a checkpoint, so return waiting, not a question. At the time of this ruling the checks on PR #4527 head e9191fc08 are still pending (not yet green). Once GitHub CI on that exact head is green, the runner resumes you and you do exactly your default, in this order: (1) submit the tier4-e2e job on e9191fc08; this change classifies payout addresses and derives view keys behind the launcher in Go, so it touches render/config and payout paths and a tier-1 or parity-table pass does not stand in for it. List the job in bench_jobs and return waiting. (2) Resume only when the job has run, and quote its conclusion on that head. A queued or running job is not evidence. (3) Run the verifier and the security-reviewer on the final head. (4) Paste the evidence blocks into the PR body in place, with no stale SHAs, every quoted command actually run, and the byte-for-byte parity and both-modes Bash suite results the acceptance criteria require. If a push moves the head, the tier-4 job and review are repeated on the new head. Keep the wall-time-versus-Bash numbers from the release candidate honest; if Go is not at or below Bash, the default stays Bash and the issue rolls.

  5. removed
    question
    on Nov 28, 2026
  6. pithead-developer commented on Nov 28, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4644. The only failing required check on PR #4527 head e9191fc is Build image (dashboard). Its Trivy scan fails on libzstd1 (HIGH CVE-2026-124851, installed 1.5.7+dfsg-1, fixed in 1.5.7+dfsg-1+deb13u1) in the Debian 13.7 base. The diff touches no image, Dockerfile or dashboard path, so the failure is not caused by this change. I filed #4644 for it; no existing issue covered it. I did not check whether other branches fail the same way. I commented on the PR. Finished: the Go helper, the launched-marker hardening, the parity suite (158 checks), lint-pithead-build and the PR body. Pending: tier4-e2e, which is held until every check passes; and the verifier and security-reviewer on the final head. This clears when #4644 lands. After that, merge the base into this branch, push, and I resume with tier4-e2e. Merge the base in rather than rebasing.

    The runner resumes this issue when that one closes.

  7. added
    blocked
    on Nov 28, 2026
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

    blockedenhancementrefactorsize:S

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions