public interface BlockCommittedEvent
Service.afterCommit(BlockCommittedEvent) method
and is used for the interaction between service business logic and the blockchain state.| Modifier and Type | Method and Description |
|---|---|
long |
getHeight()
Returns the current blockchain height, which is the height of the last committed block.
|
Snapshot |
getSnapshot()
Returns the current database snapshot.
|
OptionalInt |
getValidatorId()
If this node is a validator,
returns its identifier.
|
OptionalInt getValidatorId()
long getHeight()
Copyright © 2019 Exonum. All rights reserved.