├── .clippy.toml ├── .editorconfig ├── .github ├── dependabot.yml ├── grcov.yml └── workflows │ ├── deny.yml │ └── rust.yml ├── .gitignore ├── Cargo.toml ├── LICENSE ├── README.md ├── deny.toml ├── fuzz ├── .gitignore ├── Cargo.toml ├── afl_targets │ ├── graph.rs │ └── round.rs └── libfuzz_targets │ ├── graph.rs │ └── round.rs ├── fuzz_corpus ├── a8898e66e34fee70c41c7aac26369c02e249dfe9 ├── be9e58ec5a0d4dce97bd1f07a3d1ffddd7d4b48b └── crash-499bf756959c90958d05c669b77b4a6f85e4fbf5 ├── img └── grandpa.png ├── rustfmt.toml └── src ├── bitfield.rs ├── bridge_state.rs ├── fuzz_helpers.rs ├── lib.rs ├── round.rs ├── round └── context.rs ├── testing.rs ├── vote_graph.rs ├── voter ├── mod.rs ├── past_rounds.rs └── voting_round.rs ├── voter_set.rs └── weights.rs /.clippy.toml: -------------------------------------------------------------------------------- 1 | type-complexity-threshold = 9000 2 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/grcov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/.github/grcov.yml -------------------------------------------------------------------------------- /.github/workflows/deny.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/.github/workflows/deny.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target 3 | **/*.rs.bk 4 | Cargo.lock 5 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/README.md -------------------------------------------------------------------------------- /deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/deny.toml -------------------------------------------------------------------------------- /fuzz/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/.gitignore -------------------------------------------------------------------------------- /fuzz/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/Cargo.toml -------------------------------------------------------------------------------- /fuzz/afl_targets/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/afl_targets/graph.rs -------------------------------------------------------------------------------- /fuzz/afl_targets/round.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/afl_targets/round.rs -------------------------------------------------------------------------------- /fuzz/libfuzz_targets/graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/libfuzz_targets/graph.rs -------------------------------------------------------------------------------- /fuzz/libfuzz_targets/round.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz/libfuzz_targets/round.rs -------------------------------------------------------------------------------- /fuzz_corpus/a8898e66e34fee70c41c7aac26369c02e249dfe9: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz_corpus/a8898e66e34fee70c41c7aac26369c02e249dfe9 -------------------------------------------------------------------------------- /fuzz_corpus/be9e58ec5a0d4dce97bd1f07a3d1ffddd7d4b48b: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz_corpus/be9e58ec5a0d4dce97bd1f07a3d1ffddd7d4b48b -------------------------------------------------------------------------------- /fuzz_corpus/crash-499bf756959c90958d05c669b77b4a6f85e4fbf5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/fuzz_corpus/crash-499bf756959c90958d05c669b77b4a6f85e4fbf5 -------------------------------------------------------------------------------- /img/grandpa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/img/grandpa.png -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/rustfmt.toml -------------------------------------------------------------------------------- /src/bitfield.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/bitfield.rs -------------------------------------------------------------------------------- /src/bridge_state.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/bridge_state.rs -------------------------------------------------------------------------------- /src/fuzz_helpers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/fuzz_helpers.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/round.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/round.rs -------------------------------------------------------------------------------- /src/round/context.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/round/context.rs -------------------------------------------------------------------------------- /src/testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/testing.rs -------------------------------------------------------------------------------- /src/vote_graph.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/vote_graph.rs -------------------------------------------------------------------------------- /src/voter/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/voter/mod.rs -------------------------------------------------------------------------------- /src/voter/past_rounds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/voter/past_rounds.rs -------------------------------------------------------------------------------- /src/voter/voting_round.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/voter/voting_round.rs -------------------------------------------------------------------------------- /src/voter_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/voter_set.rs -------------------------------------------------------------------------------- /src/weights.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paritytech/finality-grandpa/HEAD/src/weights.rs --------------------------------------------------------------------------------