Skip to content

Cover the zallet#644 mining-pool payout scenario (fragmented transparent funds gathered via z_sendfromaccount any_transparent) #175

Description

@pacu

zcash/zallet#644 reports that a wallet created from scratch fragments its transparent funds onto internal change addresses on every t->t send, after which the account reports a spendable total that no single-address z_sendmany source can pay in one transaction. The fix is the any_transparent fund source of z_sendfromaccount (zcash/zallet#531, integration-test coverage on branch dw/sendfromaccount).

The scenario suite on dw/sendfromaccount does not yet reproduce the reported situation: an any_transparent payout larger than any single address holds, gathered across multiple addresses including a wallet-created internal change fragment, paying multiple transparent recipients with zero shielded inputs (exchanges reject deposits whose transaction has shielded inputs).

Add a wallet_z_send_scenarios.py scenario driving the miner's exact pipeline (coinbase -> shield -> de-shield -> fragmenting t->t payout -> gathered payout round), pinning both the failure preconditions and the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions