threefoldtecharchive / rivine

Blockchain technology for creating custom chains.
Apache License 2.0
22 stars 12 forks source link

support the extension of the consensus module #456

Open GlenDC opened 6 years ago

GlenDC commented 6 years ago

Currently modules (and chains build using Go-rivine) can only subscribe to the consensus module, but cannot extend it. Meaning that:

This is an issue in tfchain currently as this blockchain has all kind of non-standard transaction versions (minting of coins and registration/management of 3bot records), for which they currently cannot test those inner-block Tx's dependencies. Should they be able to extend the consensus module logic, it would fix their issues. See threefoldfoundation/tfchain#195 for more context.

GlenDC commented 6 years ago

For now I leave this on state_question. So far I did not find a nice way to allow this feature. Again, it's one of those things that really shouldn't have to be solved, and only arises because the weird way we try to make use of this codebase.

Either way, will continue to figure it out and work on this once the 3bot story works on devnet of tfchain with all its features.