aggregation

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2025 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByzantineQuorum

func ByzantineQuorum(N int, F int) (Q int)

ByzantineQuorum is a utility to calculated the number of responses from a DON before Byzantine tolerant quorum is achieved. NOTE: Typical usage is when N >= 3f + 1

The formula is floor( (N+F)/2 ) + 1. F should be >= 1. If N = 1, a quorum size of 1 is returned. Double check usage for small N and F if N < 3f + 1.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL