EndBlock
EndBlock is a concept in the Tendermint consensus engine and its application interface (ABCI) used by many blockchain ecosystems, notably those built on the Cosmos SDK. It refers to the end-of-block processing step. After all transactions in a block are executed, the application receives an EndBlock request for the corresponding block height. The EndBlock method executes module logic that should occur at block boundaries and returns an EndBlockResponse.
Typically, EndBlock logic includes updating the validator set due to stake changes, processing slashing decisions, finalizing
EndBlock is distinct from BeginBlock, which handles per-block initialization tasks before transactions are processed. Together, they
In practice, EndBlock is implemented by the blockchain application. In Cosmos SDK-based chains, modules implement an