Skip to content

Should generate txout nonces deterministically #947

@apoelstra

Description

@apoelstra

Makes testing easier and reduces dependency on strong random sources.

We only blind outputs when we have an unlocked wallet currently (I think) so we could just do a tagged hash of the commitment and the master wallet blinding key.

Unsure what we should use for the blinding factors themselves. A hash of the scriptPubKey + amount could work, but would result in equal commitments when people reused addresses, which we ought not to compromise privacy on even more..

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