ElementsProject / ElementsProject/elements

reissuance tokens can not be exercised from unblinded outputs

Đang mở
#259 13 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
1.2k
Fork
416
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
15

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
blockchain
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.