Registry / Library

library · v0.1.1
Quorum Overlap
Calculate the minimum overlap between two successful quorum sets in a universe of distinct nodes.
Use Quorum Overlap
use vendor::quorum_overlap::quorum_overlap;
Run the example
nest demo quorum_overlap@0.1.1
blyxc native-run quorum_overlap-demo/main.blyx
Example source and expected output
use vendor::quorum_overlap::quorum_overlap;
fn main() {
println!(quorum_overlap(5,3,3));
}
Expected output
1
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 440944b927 | 7acee47952d929fa4433ec62eb0a2f8e908d01c01acc535a99a384102c22d355 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | e336e3886a191342fcddc23a737aa29f44d811600aa81716c09db338ed543449 |