mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 21:01:21 +00:00
Remove BeginBlock
This commit is contained in:
@ -68,19 +68,13 @@ func RequestInitChain(validators []*Validator) *Request {
|
||||
}
|
||||
}
|
||||
|
||||
func RequestBeginBlock(height uint64) *Request {
|
||||
func RequestEndBlock(height uint64) *Request {
|
||||
return &Request{
|
||||
Type: MessageType_BeginBlock,
|
||||
Type: MessageType_EndBlock,
|
||||
Height: height,
|
||||
}
|
||||
}
|
||||
|
||||
func RequestEndBlock() *Request {
|
||||
return &Request{
|
||||
Type: MessageType_EndBlock,
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------
|
||||
|
||||
func ResponseException(errStr string) *Response {
|
||||
@ -158,12 +152,6 @@ 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