Skip to content

2 way reliable messaging (VatTP) layer #94

@dckc

Description

@dckc

Currently, https://github.com/rchain-community/rchain-api/blob/master/src/proxy.js only supports calls from off chain to the chain and back, not the other way.

To support CapTP, it should be split into a lower level that just does reliable messaging (with acknowledgements) in both direction.
For example, perhaps listenAtDeployId should be used for acknowledgements, not for the results of computation.

A design wrinkle:

  • in Agoric, reliable messaging is done with sequence numbers. listenAtDeployId would support a more concurrent approach. Should we take advantage of that? Or stick to the simpler vat model? I lean toward embedding the simpler approach for now.

cc @Bill-Kunj

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions