Interface Node

All Superinterfaces:
AutoCloseable, io.hotmoka.closeables.api.OnCloseHandlersContainer

public interface Node extends AutoCloseable, io.hotmoka.closeables.api.OnCloseHandlersContainer
A node of the Hotmoka network, that provides the storage facilities for the execution of Takamaka code. Calls to code in the node can be added, run or posted. Posted calls are executed, eventually, and their value can be retrieved through the future returned by the calls. Added calls are shorthand for posting a call and waiting until the value of their future is available. Run calls are only available for view methods, without side-effects. They execute immediately and never modify the store of the node.