handshake-org / hsd

Handshake Daemon & Full Node
Other
1.9k stars 273 forks source link

Covenant: add details to the covenant serialization #862

Open nodech opened 9 months ago

nodech commented 9 months ago

https://github.com/handshake-org/hsd/pull/271

Covenant items are not actually scripts, so instead of using toASM - I think it would be more useful to have "description" instead that defines for the covenant type, what the items in the covenant mean.

It would be similar the implementation in the #271, but semantics needs to be slightly different.