Uses of Class
io.mokamint.application.api.ClosedApplicationException
-
Uses of ClosedApplicationException in io.mokamint.application.api
Methods in io.mokamint.application.api that throw ClosedApplicationExceptionModifier and TypeMethodDescriptionvoidApplication.abortBlock(int groupId) The node calls this method to abort the execution of the group of transactions identified byid.intApplication.beginBlock(long height, LocalDateTime when, byte[] stateId) The node calls this method at the start of the execution of the transactions inside a block.booleanApplication.checkPrologExtra(byte[] extra) Checks if the given extra data from the prolog of a deadline is considered valid by this application.voidApplication.checkTransaction(Transaction transaction) Checks if the given transaction is valid according to this application.voidApplication.commitBlock(int groupId) The node calls this method to commit the state resulting at the end of the execution of the group of transactions identified byid.voidApplication.deliverTransaction(int groupId, Transaction transaction) Delivers another transaction inside the group execution identified byid.byte[]The node calls this method when a group execution of transactions ends.byte[]Application.getInitialStateId()Yields the identifier of the state of this application when it starts, before any transaction has been executed.longApplication.getPriority(Transaction transaction) Computes the priority of the given transaction.Application.getRepresentation(Transaction transaction) Yields a string representation of the transaction, that can be used to print or process its structure.voidApplication.keepFrom(LocalDateTime start) Informs the application that states of blocks created with aApplication.beginBlock(long, LocalDateTime, byte[])whosewhenparameter is beforestartare allowed to be garbage-collected, if the application has some notion of garbage-collection.voidPublishes the given block, that has just been added to the blockchain.