hyperledger / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
324 stars 277 forks source link

Implement crash recovery for all SATP phases and communicate abnormalities to other Cacti nodes #3114

Open RafaelAPB opened 3 months ago

RafaelAPB commented 3 months ago

SATP-Hermes has capacity to recover from failure (if a gateway goes down in the middle of a transfer, we need to make sure the state is still consistent).

Requirements: 1- update the already implemented recovery messages according to the latest Crash recovery draft. Please make sure to update the corresponding tests.

2- Implement crash recovery for other steps of the protocol, and implement tests for each

3- Implement organizational interoperability strategies for crash recovery: when gateway crashes emit an event (see https://rxjs.dev/guide/observer as a possible solution); see other situations that require communication with other Cacti nodes within SATP context.

Resources:

LordKubaya commented 3 months ago

hi