ElementsProject / ElementsProject/elements
reissuance tokens can not be exercised from unblinded outputs
- Langage dominant
- C++
- Étoiles
- 1.2k
- Forks
- 416
- Merge moyen
- 1 j 23 h
- PR mergées (30 j)
- 15
Description
In the current logic, `CAssetIssuance`'s `assetBlindingNonce` being null implies that the issuance is an initial issuance. When re-issuing, this field is re-used to expose the asset blinder for the spent output.
Clearly this is in direct conflict when the output itself has a null blinder.
If the user attempts to make a reissuance with the null blinder output, it will be interpreted as an initial issuance, using the reissuance token purely as the entropy.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by tracing CAssetIssuance::assetBlindingNonce through the issuance and reissuance logic described in the issue, focusing on the null-blinder case. Identify the relevant validation tests and establish behavior that distinguishes a reissuance from an initial issuance when the spent output has a null blinder.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- cpp
- Domaine
- blockchain
- Type d'issue
- Bug
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100