hyperledger-labs / perun-node

State channel node of the blockchain-agnostic state channels framework Perun.
https://labs.hyperledger.org/perun-doc/
Apache License 2.0
18 stars 12 forks source link

[IoT State Channels] Organize needed protobuf defintions into a single directory #248

Closed manoranjith closed 1 year ago

manoranjith commented 1 year ago

Motivation / Context

To organize the protobuf definitions for implementing the remote watcher, remote funder and remote adjudicator interfaces for IoT state channels in a single directory.

Description

Currently, protobuf definitions used in perun are split in perun-node/api proto and go-perun/wire proto, as needed by these two functionalities. The protobuf definitions needed for implementing the interfaces (watcher, funder and adjudicator over gRPC) can be built on top of the available ones.

Hence, consolidating all protobuf definitions in a single folder could reduce duplication and make maintenance easier.

Relates to

Testing

All the existing tests should pass.

Thread Safety

NA