Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

Batch should define Hash method #11

@tzdybal

Description

@tzdybal

It is crucial that both the client and server side of go-sequencing API is using exactly the same method of hashing transactions from a Batch. To ensure this, Batch.Hash() method should be defined. Without this, lastBatchHash parameter is very fragile to any implementation changes..

In case of Go implementation, this method will be available for programmers. It will also serve as an example for implementations in other languages.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions