Module io.hotmoka.node.api
Package io.hotmoka.node.api.requests
Interface InitializationTransactionRequest
- All Superinterfaces:
InitialTransactionRequest<InitializationTransactionResponse>,io.hotmoka.marshalling.api.Marshallable,TransactionRequest<InitializationTransactionResponse>
public interface InitializationTransactionRequest
extends InitialTransactionRequest<InitializationTransactionResponse>
A request to initialize a node. It sets the manifest of the node.
After the manifest has been set, no more initial transactions can be executed,
hence the node is considered initialized. The manifest cannot be set twice.
-
Method Summary
Modifier and TypeMethodDescriptionYields the classpath of the transactions, that will be set as jar reaching the basic Takamaka classes.Yields the storage reference that must be set as manifest.Methods inherited from interface io.hotmoka.marshalling.api.Marshallable
into, size, toByteArrayMethods inherited from interface io.hotmoka.node.api.requests.TransactionRequest
equals, hashCode, toString
-
Method Details
-
getClasspath
TransactionReference getClasspath()Yields the classpath of the transactions, that will be set as jar reaching the basic Takamaka classes. This must have been already installed by a previous transaction.- Returns:
- the reference
-
getManifest
StorageReference getManifest()Yields the storage reference that must be set as manifest.- Returns:
- the storage reference that must be set as manifest
-