mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-08 20:47:59 -05:00
Bft block period transition (#2902)
Allow block period to be configured using transitions for IBFT2 and QBFT Signed-off-by: Jason Frame <jasonwframe@gmail.com>
This commit is contained in:
@@ -27,6 +27,12 @@ public class TestClock extends Clock {
|
||||
|
||||
private Instant now = Instant.ofEpochSecond(24982948294L);
|
||||
|
||||
public TestClock() {}
|
||||
|
||||
public TestClock(final Instant now) {
|
||||
this.now = now;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ZoneId getZone() {
|
||||
return ZoneOffset.UTC;
|
||||
|
||||
Reference in New Issue
Block a user