Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractNode - Class in io.hotmoka.nodes
-
A generic implementation of a node.
- AbstractNode() - Constructor for class io.hotmoka.nodes.AbstractNode
-
Builds an abstract node.
- AbstractNode(AbstractNode) - Constructor for class io.hotmoka.nodes.AbstractNode
-
Builds a shallow clone of the given node.
- Account - Class in io.hotmoka.nodes
-
The information to control an account of a Hotmoka node.
- Account(StorageReference) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account in a Hotmoka node.
- Account(StorageReference, String) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account in a Hotmoka node.
- Account(Entropy, byte[]) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account in a Hotmoka node, from its entropy and from the byte representation of its storage reference.
- Account(Entropy, StorageReference) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account.
- Account(String) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account in a Hotmoka node.
- Account(String, String) - Constructor for class io.hotmoka.nodes.Account
-
Creates the information to control an account in a Hotmoka node.
- addConstructorCallTransaction(ConstructorCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands this node's store with a transaction that runs a constructor of a class.
- addGameteCreationTransaction(GameteCreationTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands the store of this node with a transaction that creates a gamete, that is, a red/green externally owned contract with the given initial amount of coins, of class
io.takamaka.code.lang.Gamete. - addInitializationTransaction(InitializationTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands the store of this node with a transaction that marks the node as initialized and installs its manifest.
- addInstanceMethodCallTransaction(InstanceMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands this node's store with a transaction that runs an instance method of an object already in this node's store.
- addJarStoreInitialTransaction(JarStoreInitialTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands the store of this node with a transaction that installs a jar in it.
- addJarStoreTransaction(JarStoreTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands the store of this node with a transaction that installs a jar in it.
- addStaticMethodCallTransaction(StaticMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Expands this node's store with a transaction that runs a static method of a class in this node.
- allowMintBurnFromGamete(boolean) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies to allow the gamete of the node to call, for free, the add method of the accounts ledger and the mint/burn methods of the accounts, without paying gas and without paying for the minted coins.
- allowSelfCharged(boolean) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies to allow the
@@SelfChargedannotation in the Takamaka code that runs in the node. - allowsMintBurnFromGamete - Variable in class io.hotmoka.nodes.ConsensusParams
-
True if and only if the gamete of the node can call, for free, the add method of the accounts ledger and the mint/burn methods of the accounts, without paying gas and without paying for the minted coins.
- allowsSelfCharged - Variable in class io.hotmoka.nodes.ConsensusParams
-
True if and only if the use of the
@@SelfChargedannotation is allowed. - allowsUnsignedFaucet - Variable in class io.hotmoka.nodes.ConsensusParams
-
True if and only if the use of the faucet of the gamete is allowed without a valid signature.
- allowUnsignedFaucet(boolean) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies to allow the
faucet()methods of the gametes without a valid signature.
B
- build() - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Builds the parameters.
- Builder() - Constructor for class io.hotmoka.nodes.ConsensusParams.Builder
- buyerSurcharge - Variable in class io.hotmoka.nodes.ConsensusParams
-
Extra tax paid when a validator acquires the shares of another validator (in percent of the offer cost).
C
- chainId - Variable in class io.hotmoka.nodes.ConsensusParams
-
The chain identifier of the node.
- close() - Method in interface io.hotmoka.nodes.Node.Subscription
-
Closes the subscription, so that no more events are sent to its handler.
- compareTo(Entropy) - Method in class io.hotmoka.nodes.Account
- ConsensusParams - Class in io.hotmoka.nodes
-
A specification of the consensus parameters of a node.
- ConsensusParams.Builder - Class in io.hotmoka.nodes
- constructorSupplierFor(TransactionReference) - Method in class io.hotmoka.nodes.AbstractNode
-
Yields a code supplier that polls for the outcome of a transaction that ran a constructor.
D
- DeserializationError - Exception Class in io.hotmoka.nodes
-
An exception thrown when a storage reference cannot be deserialized.
- DeserializationError(String) - Constructor for exception class io.hotmoka.nodes.DeserializationError
- DeserializationError(Throwable) - Constructor for exception class io.hotmoka.nodes.DeserializationError
E
- ed25519() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields the ed25519 signature algorithm for transaction requests.
- ed25519det() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields a signature algorithm for transaction requests that uses the ed25519 cryptography.
- empty() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields an empty signature algorithm that signs all transaction requests with an empty array of bytes.
F
- finalSupply - Variable in class io.hotmoka.nodes.ConsensusParams
-
The final supply of coins in the node.
G
- genesisTime - Variable in class io.hotmoka.nodes.ConsensusParams
-
The genesis time, UTC, in ISO8601 pattern.
- get() - Method in interface io.hotmoka.nodes.Node.CodeSupplier
-
Waits if necessary for the transaction to complete, and then retrieves its result.
- get() - Method in interface io.hotmoka.nodes.Node.JarSupplier
-
Waits if necessary for the transaction to complete, and then retrieves its result.
- getClassTag(StorageReference) - Method in interface io.hotmoka.nodes.Node
-
Yields the class tag of the object with the given storage reference.
- getManifest() - Method in interface io.hotmoka.nodes.Node
-
Yields the manifest installed in the store of the node.
- getNameOfSignatureAlgorithmForRequests() - Method in interface io.hotmoka.nodes.Node
-
Yields the name of the algorithm used to sign requests with this node.
- getNodeInfo() - Method in interface io.hotmoka.nodes.Node
-
Yields node-specific information about the node.
- getPolledResponse(TransactionReference) - Method in interface io.hotmoka.nodes.Node
-
Waits until a transaction has been committed, or until its delivering fails.
- getReferenceAsBytes() - Method in class io.hotmoka.nodes.Account
- getReferenceOfRequest() - Method in interface io.hotmoka.nodes.Node.CodeSupplier
-
Yields the reference of the request of the transaction.
- getReferenceOfRequest() - Method in interface io.hotmoka.nodes.Node.JarSupplier
-
Yields the reference of the request of the transaction.
- getRequest(TransactionReference) - Method in interface io.hotmoka.nodes.Node
-
Yields the request that generated the transaction with the given reference.
- getResponse(TransactionReference) - Method in interface io.hotmoka.nodes.Node
-
Yields the response generated for the request for the given transaction.
- getState(StorageReference) - Method in interface io.hotmoka.nodes.Node
-
Yields the current state of the object at the given storage reference.
- getTakamakaCode() - Method in interface io.hotmoka.nodes.Node
-
Yields the reference, in the store of the node, where the base Takamaka base classes are installed.
I
- ignoreGasPrice(boolean) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies that the minimum gas price for transactions is 0, so that the current gas price is not relevant for the execution of the transactions.
- ignoresGasPrice - Variable in class io.hotmoka.nodes.ConsensusParams
-
True if and only if the node ignores the minimum gas price.
- initialGasPrice - Variable in class io.hotmoka.nodes.ConsensusParams
-
The initial gas price.
- initialInflation - Variable in class io.hotmoka.nodes.ConsensusParams
-
The initial inflation applied to the gas consumed by transactions before it gets sent as reward to the validators.
- initialRedSupply - Variable in class io.hotmoka.nodes.ConsensusParams
-
The initial supply of red coins in the node.
- initialSupply - Variable in class io.hotmoka.nodes.ConsensusParams
-
The initial supply of coins in the node.
- io.hotmoka.nodes - module io.hotmoka.nodes
- io.hotmoka.nodes - package io.hotmoka.nodes
J
- jarSupplierFor(TransactionReference) - Method in class io.hotmoka.nodes.AbstractNode
-
Yields a jar supplier that polls for the outcome of a transaction that installed a jar in the store of the node.
L
- logger - Static variable in class io.hotmoka.nodes.AbstractNode
M
- maxCumulativeSizeOfDependencies - Variable in class io.hotmoka.nodes.ConsensusParams
-
The maximal cumulative size (in bytes) of the instrumented jars of the dependencies of a transaction.
- maxDependencies - Variable in class io.hotmoka.nodes.ConsensusParams
-
The maximal number of dependencies in the classpath of a transaction.
- maxErrorLength - Variable in class io.hotmoka.nodes.ConsensusParams
-
The maximal length of the error message kept in the store of the node.
- maxGasPerTransaction - Variable in class io.hotmoka.nodes.ConsensusParams
-
The maximal amount of gas that a non-view transaction can consume.
- methodSupplierFor(TransactionReference) - Method in class io.hotmoka.nodes.AbstractNode
-
Yields a code supplier that polls for the outcome of a transaction that ran a method.
- mk(SignatureAlgorithms.TYPES) - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields the signature algorithm for transaction requests with the given type.
- mk(String) - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields the signature algorithm for transaction requests with the given name.
N
- Node - Interface in io.hotmoka.nodes
-
A node of the Hotmoka network, that provides the storage facilities for the execution of Takamaka code.
- Node.CodeSupplier<V extends StorageValue> - Interface in io.hotmoka.nodes
-
The future of a transaction that executes code in a node.
- Node.JarSupplier - Interface in io.hotmoka.nodes
-
The future of a transaction that stores a jar in a node.
- Node.Subscription - Interface in io.hotmoka.nodes
- NonWhiteListedCallException - Exception Class in io.hotmoka.nodes
-
An exception thrown when a potentially white-listed method is called with a parameter (or receiver) that makes it non-white-listed.
- NonWhiteListedCallException(String) - Constructor for exception class io.hotmoka.nodes.NonWhiteListedCallException
- notifyEvent(StorageReference, StorageReference) - Method in class io.hotmoka.nodes.AbstractNode
-
Notifies the given event to all event handlers for the given creator.
O
- oblivion - Variable in class io.hotmoka.nodes.ConsensusParams
-
How quick the gas consumed at previous rewards is forgotten: 0 means never, 1_000_000 means immediately.
- OutOfGasError - Exception Class in io.hotmoka.nodes
-
An exception thrown when a transaction has not enough gas to complete its computation.
- OutOfGasError() - Constructor for exception class io.hotmoka.nodes.OutOfGasError
- OutOfGasError(String) - Constructor for exception class io.hotmoka.nodes.OutOfGasError
P
- percentStaked - Variable in class io.hotmoka.nodes.ConsensusParams
-
The amount of validators' rewards that gets staked.
- postConstructorCallTransaction(ConstructorCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Posts a transaction that runs a constructor of a class in this node.
- postInstanceMethodCallTransaction(InstanceMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Posts a transaction that runs an instance method of an object already in this node's store.
- postJarStoreTransaction(JarStoreTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Posts a transaction that expands the store of this node with a transaction that installs a jar in it.
- postStaticMethodCallTransaction(StaticMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Posts a request that runs a static method of a class in this node.
- publicKeyOfGamete - Variable in class io.hotmoka.nodes.ConsensusParams
-
The Base64-encoded public key of the gamete account.
Q
- qtesla1() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields the qTESLA-p-I signature algorithm for transaction requests.
- qtesla3() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields the qTESLA-p-III signature algorithm for transaction requests.
R
- runInstanceMethodCallTransaction(InstanceMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Runs an instance
@@Viewmethod of an object already in this node's store. - runStaticMethodCallTransaction(StaticMethodCallTransactionRequest) - Method in interface io.hotmoka.nodes.Node
-
Runs a static
@@Viewmethod of a class in this node.
S
- setBuyerSurcharge(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the extra tax paid when a validator acquires the shares of another validator (in percent of the offer cost).
- setChainId(String) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies the chain identifier that will be set for the node.
- setFinalSupply(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the final supply of coins of the node.
- setGenesisTime(String) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies the genesis time that will be set for the node.
- setInitialGasPrice(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the initial gas price.
- setInitialInflation(long) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the initial inflation applied to the gas consumed by transactions before it gets sent as reward to the validators.
- setInitialRedSupply(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the initial supply of red coins of the node.
- setInitialSupply(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the initial supply of coins of the node.
- setMaxCumulativeSizeOfDependencies(long) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the maximal cumulative size of the dependencies per transaction.
- setMaxDependencies(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the maximal number of dependencies per transaction.
- setMaxErrorLength(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the maximal length of the error message kept in the store of the node.
- setMaxGasPerTransaction(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the maximal amount of gas that a non-view transaction can consume.
- setOblivion(long) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets how quick the gas consumed at previous rewards is forgotten: 0 means never, 1_000_000 means immediately.
- setPercentStaked(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the amount of validators' rewards that gets staked.
- setPublicKeyOfGamete(String) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the public key for the gamete account.
- setSlashingForMisbehaving(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the percent of stake that gets slashed for each misbehaving validator.
- setSlashingForNotBehaving(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the percent of stake that gets slashed for each not behaving (not voting) validator.
- setTargetGasAtReward(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the units of gas that are aimed to be rewarded at each reward.
- setTicketForNewPoll(BigInteger) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the amount of coins that must be payed to start a new poll amount to validators, for instance to change a consensus parameter.
- setVerificationVersion(int) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Sets the version of the verification module to use.
- sha256dsa() - Static method in interface io.hotmoka.nodes.SignatureAlgorithmForTransactionRequests
-
Yields a signature algorithm for transaction requests that uses the SHA256 hashing algorithm and then the DSA algorithm.
- SideEffectsInViewMethodException - Exception Class in io.hotmoka.nodes
-
An exception thrown when a transaction for the execution of amethod has side-effects different from the modification of the balance of the caller.
invalid @link
io.takamaka.code.lang.View - SideEffectsInViewMethodException(MethodSignature) - Constructor for exception class io.hotmoka.nodes.SideEffectsInViewMethodException
- signature - Variable in class io.hotmoka.nodes.ConsensusParams
-
The name of the signature algorithm for signing requests.
- SignatureAlgorithmForTransactionRequests - Interface in io.hotmoka.nodes
-
An algorithm that signs transaction requests and verifies such signatures back.
- Signer - Interface in io.hotmoka.nodes
-
An object that provides the signature of a request.
- signRequestsWith(String) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Specifies to signature algorithm to use to sign the requests sent to the node.
- skipsVerification - Variable in class io.hotmoka.nodes.ConsensusParams
-
True if and only if the static verification of the classes of the jars installed in the node must be skipped.
- skipVerification(boolean) - Method in class io.hotmoka.nodes.ConsensusParams.Builder
-
Requires to skip the verification of the classes of the jars installed in the node.
- slashingForMisbehaving - Variable in class io.hotmoka.nodes.ConsensusParams
-
The percent of stake that gets slashed for each misbehaving validator.
- slashingForNotBehaving - Variable in class io.hotmoka.nodes.ConsensusParams
-
The percent of stake that gets slashed for validators that do not behave (or do not vote).
- subscribeToEvents(StorageReference, BiConsumer<StorageReference, StorageReference>) - Method in class io.hotmoka.nodes.AbstractNode
- subscribeToEvents(StorageReference, BiConsumer<StorageReference, StorageReference>) - Method in interface io.hotmoka.nodes.Node
-
Subscribes the given handler for events with the given creator.
T
- targetGasAtReward - Variable in class io.hotmoka.nodes.ConsensusParams
-
The units of gas that are aimed to be rewarded at each reward.
- ticketForNewPoll - Variable in class io.hotmoka.nodes.ConsensusParams
-
The amount of coin to pay to start a new poll amount the validators, for instance in order to change a consensus parameter.
- toBuilder() - Method in class io.hotmoka.nodes.ConsensusParams
-
Chain a builder initialized with the information in this object.
V
- verificationVersion - Variable in class io.hotmoka.nodes.ConsensusParams
-
The version of the verification module to use.
W
- with(SignatureAlgorithm<SignedTransactionRequest>, KeyPair) - Static method in interface io.hotmoka.nodes.Signer
-
Yields a signer for the given algorithm with the given key pair.
- with(SignatureAlgorithm<SignedTransactionRequest>, PrivateKey) - Static method in interface io.hotmoka.nodes.Signer
-
Yields a signer for the given algorithm with the given private key.
- wrapInCaseOfExceptionFull(Callable<T>) - Static method in class io.hotmoka.nodes.AbstractNode
-
Runs a callable and wraps any exception into an
TransactionRejectedException, if it is not aTransactionExceptionnor aCodeExecutionException. - wrapInCaseOfExceptionMedium(Callable<T>) - Static method in class io.hotmoka.nodes.AbstractNode
-
Runs a callable and wraps any exception into an
TransactionRejectedException, if it is not aTransactionException. - wrapInCaseOfExceptionSimple(Callable<T>) - Static method in class io.hotmoka.nodes.AbstractNode
-
Runs a callable and wraps any exception into an
TransactionRejectedException.
All Classes and Interfaces|All Packages|Serialized Form