bosnet / sebak

SEBAK, the next BOScoin Blockchain
https://devteam.blockchainos.org
GNU General Public License v3.0
44 stars 15 forks source link

Provide a way to handle (internal) breaking changes #834

Open Geod24 opened 5 years ago

Geod24 commented 5 years ago

Now that MainNet is deployed, we loose the ability to reset the database at will as we did for TestNet.

This means that the following will have to be handled carefully:

Database

API

Consensus

I think in this area, we are still okay as the network is closed.

Sync

Since the watcher node is going to be used by exchanges, we should treat it as we treat the API.

I suggest we add a Breaking label for any breaking change, and consider its inclusion carefully.

Geod24 commented 5 years ago

Addition of required fields to existing endpoint (we can use json:omitempty for optional fields)

Actually that is not true at the moment. The hash depends on the internal data structure, which means that even optional fields will break compatibility.