Package com.exonum.binding.service
Interface BlockCommittedEvent
-
- All Known Implementing Classes:
BlockCommittedEventImpl
public interface BlockCommittedEventThe blockchain state just after the corresponding block is committed. This structure is passed to theService.afterCommit(BlockCommittedEvent)method and is used for the interaction between service business logic and the blockchain state.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetHeight()Returns the current blockchain height, which is the height of the last committed block.SnapshotgetSnapshot()Returns the current database snapshot.java.util.OptionalIntgetValidatorId()If this node is a validator, returns its identifier.
-