wormhole-foundation / example-liquidity-layer

Apache License 2.0
11 stars 11 forks source link

solana: add example VAA deduper #75

Closed a5-pickle closed 5 months ago

a5-pickle commented 5 months ago

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.