bosnet / sebak

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

Simplify BlockOperation and remove unused members #927

Closed Geod24 closed 5 years ago

Geod24 commented 5 years ago

One of my current goals is to merge BlockOperation into BlockTransaction. This should make the code much simpler and the DB much less heavy. However, there's a few things that are currently blocking this:

This addresses some of the 2nd and 3rd point. Operation hashes should be dealt with by using an unified way to access blocks/txs/ops (e.g. hash/hash/idx, hash/idx/idx or height/idx/idx).

Geod24 commented 5 years ago

Updated according to @spikeekips 's comment