Commit 8653d04
committed
cmd/network: Consider max checkpoint creation time for trust
Prevents a problem where the most recent checkpoint target height
is still being created on the remote nodes, but second oldest
target height would be already older than the suggested trust.
This is only relevant when configuring runtime where state is much
bigger. In such case if you are connected to remote nodes that
preserve many runtime state versions, checkpoint creation time is
significant.1 parent 78f432b commit 8653d04
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | 30 | | |
| |||
94 | 99 | | |
95 | 100 | | |
96 | 101 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| |||
0 commit comments