solana/gossip
Wen 0a3810854f
Add RestartLastVotedForkSlots for wen_restart. (#33239)
* Add RestartLastVotedForkSlots and RestartHeaviestFork for wen_restart.

* Fix linter errors.

* Revert RestartHeaviestFork, it will be added in another PR.

* Update frozen abi message.

* Fix wrong number in test generation, change to pub(crate) to limit scope.

* Separate push_epoch_slots and push_restart_last_voted_fork_slots.

* Add RestartLastVotedForkSlots data structure.

* Remove unused parts to make PR smaller.

* Remove unused clone.

* Use CompressedSlotsVec to share code between EpochSlots and RestartLastVotedForkSlots.

* Add total_messages to show how many messages are there.

* Reduce RestartLastVotedForkSlots to one packet (16k slots).

* Replace last_vote_slot with shred_version, revert CompressedSlotsVec.
2023-10-09 15:01:50 -07:00
..
benches Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00
src Add RestartLastVotedForkSlots for wen_restart. (#33239) 2023-10-09 15:01:50 -07:00
tests gossip test update (#33431) 2023-09-29 08:57:32 -07:00
.gitignore
Cargo.toml Split vote related code from runtime to its own crate (#32882) 2023-09-19 10:46:37 -07:00
build.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00