Initial commit - Tutus Consensus (dBFT 2.0)
This commit is contained in:
9
commit.go
Normal file
9
commit.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package dbft
|
||||
|
||||
// Commit is an interface for dBFT Commit message.
|
||||
type Commit interface {
|
||||
// Signature returns commit's signature field
|
||||
// which is a final block signature for the current epoch for both dBFT 2.0 and
|
||||
// for anti-MEV extension.
|
||||
Signature() []byte
|
||||
}
|
||||
Reference in New Issue
Block a user