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

Re-order modules and re-name data types #265

Closed dr-orlovsky closed 1 month ago

dr-orlovsky commented 2 months ago

Pure chore: just type renames and tossing them across the modules.

Since after https://github.com/RGB-WG/rgb-core/pull/263 meaning of many data types has changed, this re-naming ensures the names remain consistent to the type semantics.

Moving types around modules is required to ensure proper module abstractions: schema -> operation -> vm -> validation, where module on the left doesn't know anything (or imports anything) about the module on the right