forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
scoping master task to enable cross-chain message transfer
- subscription management
- subscription initiation
- a system contract providing
subscribe
API and should emit a specialsubscribe
event - geth should monitor such events and start listening to specific events
- (future) because
subscribe
will cost full node resources, a proper fee mechanism should be designed to avoid spamming
- a system contract providing
- event monitoring
- geth should be aware of supported chains and corresponding JSONRPC API, and manage event monitoring accordingly
- geth should support "replaying" chain monitoring - in case a node crashes and restarts, it should be able to catch up the previous event subscription
- new system design required
- event delivery (
emitTo
)- callback contract template should have a unified interface to receive delivery
- monitored events should be submitted to destination chain
- (?) exactly-once mechanism design required
- subscription termination
- system contract should have a terminate function to stop the event monitoring
- geth should stop monitoring and close the websocket after the special events
- subscription initiation
Metadata
Metadata
Assignees
Labels
No labels