Commit 7004553
authored
RFC 12 Implementation: Reduce heartbeat probability to 6.25% (#3759)
Refs: threshold-network/tbtc-v2#737
The currently used probability of 12.5% means that a completely idle
wallet will perform a heartbeat every 4 coordination windows on average
(or 8 in the worst case) so, every 3600 blocks (~12 hours assuming a
coordination every 900 blocks and 12 seconds per Ethereum block).
User acceptance tests executed on our Sepolia testnet (10 live wallets)
show that such a value often leads to simultaneous heartbeats for
several wallets at the same time. This, in turn, can cause increased
resource consumption for individual nodes and harm some signing
processes. Although nothing bad happens if those are just heartbeats,
this may be problematic for redemptions and deposit sweeps. To lower the
risk of signing failures, we are lowering the heartbeat probability to
6.25%.
The probability of 6.25% means that a completely idle wallet will
perform a heartbeat every 8 coordination windows on average (or 16 in
the worst case) so, every 7200 blocks (~24 hours assuming a coordination
every 900 blocks and 12 seconds per Ethereum block).2 files changed
+6
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
568 | 568 | | |
569 | 569 | | |
570 | 570 | | |
571 | | - | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
572 | 575 | | |
573 | 576 | | |
574 | 577 | | |
| |||
579 | 582 | | |
580 | 583 | | |
581 | 584 | | |
582 | | - | |
583 | 585 | | |
584 | 586 | | |
585 | 587 | | |
| |||
615 | 617 | | |
616 | 618 | | |
617 | 619 | | |
618 | | - | |
619 | 620 | | |
620 | 621 | | |
621 | 622 | | |
| |||
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
646 | | - | |
| 647 | + | |
647 | 648 | | |
648 | 649 | | |
649 | 650 | | |
| |||
0 commit comments