Commit 6ce6c6d
committed
Randomly draw forwarding delays
Now that we have `BackgroundProcessor` drive the batch forwarding of
HTLCs, we implement random sampling of batch delays from a log-normal
distribution with a mean of 50ms.1 parent dadf08f commit 6ce6c6d
2 files changed
Lines changed: 452 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments