mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-02 22:21:44 +00:00
New TMSP message BeginBlock
This commit is contained in:
@ -68,6 +68,13 @@ func RequestInitChain(validators []*Validator) *Request {
|
||||
}
|
||||
}
|
||||
|
||||
func RequestBeginBlock(height uint64) *Request {
|
||||
return &Request{
|
||||
Type: MessageType_BeginBlock,
|
||||
Height: height,
|
||||
}
|
||||
}
|
||||
|
||||
func RequestEndBlock(height uint64) *Request {
|
||||
return &Request{
|
||||
Type: MessageType_EndBlock,
|
||||
@ -153,6 +160,12 @@ func ResponseInitChain() *Response {
|
||||
}
|
||||
}
|
||||
|
||||
func ResponseBeginBlock() *Response {
|
||||
return &Response{
|
||||
Type: MessageType_BeginBlock,
|
||||
}
|
||||
}
|
||||
|
||||
func ResponseEndBlock(validators []*Validator) *Response {
|
||||
return &Response{
|
||||
Type: MessageType_EndBlock,
|
||||
|
Reference in New Issue
Block a user