Skip to content

Document the optional project donation: cost, route, verification and how to stop it #3698

Closed

Description

@pithead-developer

What's the problem

Part of #2476. Owner priority (2026-10-27): build the opt-in donation feature now, shipping dark. The disclosure text is the trust surface of this feature and none of it exists. Today the docs say only what the README donate section says (README.md:269-275, a manual transfer), and several existing sentences would become wrong or incomplete once a project route exists:

  • README.md:34-36 claims "no pool operator, no fee". It stays true only because the donation is optional and off by default; the wording must say so.
  • The egress table in docs/privacy.md (:182-199) and its XvB donation section (:307-325) describe only the XvB donation route.
  • docs/faq.md:102-109 answers "Is the XvB donation mandatory?" and has no entry for the project donation.
  • docs/configuration.md:252 explains proxy.donate_level and warns it is not the XvB donation; a third look-alike needs the same disambiguation.

Add docs/donation.md, the single source for the dashboard copy and for the address drift test ({{A2}}), covering:

  • What it is: a time slice of your hashrate, from your own P2Pool payouts, sent to a stratum endpoint the project runs. Off by default; separate from XMRig's built-in 1 % fee, from proxy.donate_level and from the XvB donation.
  • What it costs: minutes a day for 1, 2, 5 and 10 percent (14.4, 28.8, 72 and 144), the expected-XMR formula, and the plain fact that the amount is small.
  • Where it goes: recipient, project address, endpoint kind, and the route (Tor by default, or direct when donation.tor is false) and what the project endpoint can see (a Tor exit or your IP; never your payout address, worker names or any per-donor label).
  • How to verify it on chain, how to stop it (set donation.enabled to false; effective within one 10-minute cycle), and what happens when the endpoint is down (the slice ends and the rigs go back to P2Pool).
  • When the XvB tier and the P2Pool reserve leave no room, the project slice is reduced first and the dashboard says so.

Then update: the README donate section (link, one sentence, keep the manual-transfer address); a new FAQ entry after faq.md:109; a new row in the docs/privacy.md egress table after the XvB donation row (:198) and a short section modelled on :307-325; a one-line pointer from docs/configuration.md:252.

What it impacts

Every reader deciding whether to turn the feature on, and the claims the project makes in public. While the destination constants are empty the docs state that the setting appears only in releases that publish a project endpoint.

How I found it

Read-only scan of origin/develop-v2.1.0 at 02852bd on 2026-10-27 from the paths above and scripts/lint/lint-docs-voice.sh:6 (the banned words). Nothing was executed. Unknown: the owner's wording choice between "donation" and "support" (the code already says "donation" for XvB), whether to publish a view key for audit, and the final cost figures, which depend on difficulty and price at publication time.

How important is it

Medium-high: a hashpower route that is not fully disclosed breaks the project's own claims. Docs only; no code.

Acceptance criteria

  • docs/donation.md exists with the sections above, uses factual prose per docs/dev/STYLE.md, and contains no hostname, IP address or local path.
  • Every number in it is derivable from a stated formula or constant (minutes per day from the percentage; the cost line says it is an estimate and names its inputs).
  • README.md:34-36 is reworded so the "no fee" claim carries "optional donation, off by default"; the donate section links docs/donation.md. The FAQ, privacy table row, privacy section and configuration pointer exist and link to each other with working anchors.
  • make lint-md, make lint-docs-voice, make lint-path-references and make lint-topology pass.
  • The project address appears only as a placeholder in docs/donation.md and docs/privacy.md until the constants are filled, and the drift test from {{A2}} accepts that state.
  • make test passes. No code changes.

Possible solutions

  • One new page plus short pointers (recommended: one source of truth).
  • Put everything in docs/privacy.md: the privacy table is where egress is documented, but the cost and verification text does not belong there.

Part of #2476.

Activity

  1. added this to the v2.1.0 milestone on Oct 27, 2026
  2. added
    documentation
    enhancement
    on Oct 27, 2026
  3. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

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

    Should #3698 document both endpoint kinds supported by #3695, despite #3699 specifying an onion-only endpoint? My default is to document both: onion through Tor without an exit relay; clearnet through Tor with an exit relay, or directly with IP exposure when donation.tor is false, because this matches the destination schema and preserves the requested routing choice?

  4. added
    question
    on Oct 27, 2026
  5. pithead-architect commented on Oct 27, 2026

    @pithead-architect

    Ruling: Document both endpoint kinds supported by #3695 in docs/donation.md: onion uses Tor without an exit relay; clearnet uses a Tor exit by default or exposes the donor's IP when direct routing is chosen. State that onion destinations require Tor; donation.tor false cannot make an onion endpoint directly reachable. Distinguish supported routing from #3699's proposed onion-only project deployment. Keep destination placeholders and the shipping-dark disclosure; this does not authorize publishing an endpoint or changing its deployment.

  6. removed
    question
    on Oct 27, 2026
  7. pithead-developer commented on Oct 30, 2026

    @pithead-developer
    ContributorAuthor

    Merged in #3713.

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

    documentationenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions