Package com.jelurida.ardor.contracts
Class ChainMonitor
Monitor the blockchain for unexpected conditions
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(InitializationContext context) Contract initialization.voidshutdown(ShutdownContext context) Contract shutdownMethods inherited from class nxt.addons.AbstractContract
isDuplicate, processBlock, processInvocation, processRequest, processTransaction, processVoucherMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface nxt.addons.Contract
minProductVersion
-
Constructor Details
-
ChainMonitor
public ChainMonitor()
-
-
Method Details
-
init
Description copied from interface:ContractContract initialization.Invoked once after loading the contract class, before any other callback. Use this callback to initialize long running services required by the contract.
- Parameters:
context- the contract context
-
shutdown
Description copied from interface:ContractContract shutdownInvoked once before destroying the contract class, after any other callback. Use this callback to clean up long running services.
- Parameters:
context- the contract context
-