The v2 specs must define user interaction messages which can be sent and received “externally” to and from a node implementation. Many of these may simply proxy internal implementations, but we should probably define a distinct interface. For example, this will likely include:
- transaction submission and status information
- state reads, including indexed state reads
- node status queries (storage, compute, peers, etc.)
- publish/subscribe to specific topics:
- should these be P2P topics directly?
- or should there be a more abstract interface here?
cc @mariari Is this in line with what you were thinking about?