SebastianElvis / ebft

ISC License
2 stars 0 forks source link

server: `OnTimer` #24

Closed SebastianElvis closed 2 years ago

SebastianElvis commented 2 years ago

Problem

SyncORazor requires a function OnTimer to handle the timer of 3\Delta.

Description

We need to implement OnTimer in https://github.com/SebastianElvis/orazor/blob/main/server.go, which defines the state machine.

Upon the timer of 3\Delta expires, if the block is certified, finalise the block, otherwise discard/cache the block.

Alternatives

Additional context