RGB-WG / rgb-core

RGB Core Library: consensus validation for private & scalable client-validated smart contracts on Bitcoin & Lightning
https://spec.rgb.tech
Apache License 2.0
207 stars 52 forks source link

Refactor validation status to match all other API changes #260

Closed dr-orlovsky closed 4 months ago

dr-orlovsky commented 4 months ago

Closes #259, #254

With the recent clarification on the use of resolvers and consignment-stored transaction ("public witness") information (see RCP-240313A for the details) there is no reason to provide separate fields listing unresolved transaction/witnesses - they all can be retrieved from Failure::SealNoPubWitness variants when iterating over failures vector.

I also moved UncheckableConfidentialState from info to warning (since it is the client who needs to decide whether this is important) and removed unused warning variant.

dr-orlovsky commented 4 months ago

@zoedberg should be fixed with 85af0b7c609915e0084055321c085171c83ba9df