Simple de-duping mechanism when listening to the Wormhole gossip network. All this uses is a map, which gets cleaned out based on some simple config parameters (interval for timeout, how many to remove at a time, time criteria for when to remove VAA hashes).
Also add to the Makefile a command to run the spy for testnet or mainnet.
Simple de-duping mechanism when listening to the Wormhole gossip network. All this uses is a map, which gets cleaned out based on some simple config parameters (interval for timeout, how many to remove at a time, time criteria for when to remove VAA hashes).
Also add to the Makefile a command to run the spy for testnet or mainnet.