firedancer-io / firedancer

Firedancer is Jump Crypto's Solana consensus node implementation.
https://firedancer.io
Other
763 stars 127 forks source link

replay: get leader contact info and send vote txns to the leader TPU #2254

Closed yhzhangjump closed 2 days ago

yhzhangjump commented 2 days ago

This PR creates 2 links: a gossip->replay link passes contact information (IP/port of TPU vote) to replay tile and a replay->net link helps the replay tile send vote txns.

I wonder whether we should merge this PR -- most of the code should be removed later and moved to the new tile that Liam is working on. It also doesn't hurt to merge it because the code will only be executed if consensus.vote = true in the toml.