All benchmarks

Quorum and audits

tasqnetwork.io/benchmark/quorum

Mode R accepts a result when q of r independent seats agree. These simulations check the capture formula (Eq. 6), the distinct-machine rule, and the economics of an adversary that controls several seats. The attack simulation is what exposed a flaw in the first design: with public seat selection a coordinating adversary profits at any unit value. Hidden audits fixed it.

0.0012Largest gap, Eq. 6 versus simulation
400,000Draws per uniform point
Within 5%Simulated break-even versus Eq. 7
2.8%Wrong acceptance, no audits, ρ = 0.1

Capture probability: Eq. 6 against simulation

r = 3, q = 2r = 5, q = 3r = 7, q = 5Eq. 6 (dashed)
0.000.050.100.150.200.250.300.350.050.100.150.200.250.300.350.40adversary seat share ρcapture probability

Dots are simulated with uniform seat selection, dashed lines are Eq. 6. Stake-weighted results are in the CSV.

Source: S1_quorum_capture.csv, sim_protocol.py

Distinct-machine rule

Identities per machineIdentity share ρCapture without ruleCapture with ruleTrials
10.10.02770.027730,000
10.20.10330.103330,000
10.30.21530.215330,000
20.10.02910.028830,000
20.20.10350.102930,000
20.30.21450.214230,000
40.10.02770.027130,000
40.20.10440.103330,000
40.30.21540.214430,000
80.10.02800.025830,000
80.20.10260.100130,000
80.30.21800.215030,000

The rule stops one machine from filling several seats of the same unit. Its effect grows with the number of identities per machine: at 8 per machine and ρ = 0.1 it lowers capture from 2.8% to 2.6%. It is a backstop, not the main defence. Hidden audits are.

Source: S2_distinct_machines.csv

Attack economics with hidden audits

audit rate π = 0audit rate π = 0.05audit rate π = 0.1audit rate π = 0.2
0.000.020.040.060.080.511.522.53unit value V / σSadversary profit per unit

Coordinating adversary with ρ = 0.1, r = 3, q = 2. Profit above zero means the attack pays. Without audits it pays at every value.

Source: S3_attack_economics.csv

Break-even value versus the admission rule

Audit rate πSimulated break-even V / σSEq. 7 ruleDifference
0.050.1100.1054.5%
0.10.2260.2221.5%
0.20.5040.5000.8%
0.30.8620.8570.6%

The rule V ≤ πqσS / (1 − π) sits slightly below the simulated break-even at every audit rate, so it errs on the safe side.

Source: S3b_breakeven.csv