ScorexFoundation / sigmastate-interpreter

ErgoScript compiler and ErgoTree Interpreter implementation for Ergo blockchain
MIT License
62 stars 40 forks source link

[6.0.0] Support Header (de)serialization #972

Closed kushti closed 2 weeks ago

kushti commented 4 months ago

In this PR, versioned (for Sigma >=6.0) Header type (de)serialization is implemented.

For that, ErgoHeader from Ergo codebase, its serializer and related classes and their respective serializers are copied from the original repository. Thus there is a need to import those classes from Sigma in future versions of Ergo node codebase, see https://github.com/ergoplatform/ergo/issues/2163

close #969

kushti commented 3 months ago

@ergomorphic comments addressed, please make another pass!

kushti commented 3 months ago

@ergomorphic comments addressed, please make another pass!

kushti commented 3 months ago

@ergomorphic comments addressed, please make another pass!

kushti commented 1 month ago

@ergomorphic comments addressed, please make another pass!

kushti commented 1 month ago

@aslesarenko comments addressed, please make another pass!