You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are things that are easy to workaround downstream, but would one-liner if we had upstream support. I will update the list as I find more things:
Direct API for calculating assetid and token id directly from prevouts during initial issuance. This currently a multi step process which requires dealing calling the AssetId::generate_asset_entropy() API.
Display implementations of Explicit Asset should add the 0x01 prefix
Add FromStr implementation for confidential::Asset/Value/Nonce. Currently, we need to decode a bytes and call encode::deserialize. It would be great to have methods for a) from_slice/to_vec() b) Display/FromStr c) FromHex/ToHex.
Implement auto-derives for Error data structures. For example: UnBlindError.
Separate out TxOut::unblind API into two APIs. TxOut::unblind_from_prf. This will also it to re-use it for psbt logic too
The text was updated successfully, but these errors were encountered:
Even in rust-bitcoin we have serialize_hex but not deserialize_hex for some reason, which often requires this decode-then-deserialize thing. I think the reason was something dumb like not having a good error return type.
These are things that are easy to workaround downstream, but would one-liner if we had upstream support. I will update the list as I find more things:
encode::deserialize
. It would be great to have methods for a) from_slice/to_vec() b) Display/FromStr c) FromHex/ToHex.UnBlindError
.The text was updated successfully, but these errors were encountered: