Spy#
Introduction#
In the Wormhole context, a Spy is a daemon that subscribes to the gossiped messages in the Guardian Network.
They don’t do any validation work. Instead, they watch the Guardian Network and act as an interface to allow users and applications to check on the Spy-accessible messages.
Spy-Accessible Messages#
The messages available over gossip are things like:
- Verifiable Action Approvals (VAAs) - packets of cross-chain data. A Spy can see whether a VAA has been approved by the Guardian Network
- Observations - messages emitted by Core Contracts that the Guardians have picked up
- Guardian heartbeats - the liveness of a Guardian
Source Code#
The source code for the Spy is available on GitHub.