Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractConsensusConfig<C,
B> - Class in io.mokamint.node -
The configuration of a Mokamint node.
- AbstractConsensusConfig(AbstractConsensusConfigBuilder<C, B>) - Constructor for class io.mokamint.node.AbstractConsensusConfig
-
Full constructor for the builder pattern.
- AbstractConsensusConfigBuilder<C,
B> - Class in io.mokamint.node -
The builder of a configuration object.
- AbstractConsensusConfigBuilder() - Constructor for class io.mokamint.node.AbstractConsensusConfigBuilder
-
Creates the builder.
- AbstractConsensusConfigBuilder(Toml) - Constructor for class io.mokamint.node.AbstractConsensusConfigBuilder
-
Reads the properties of the given TOML file and sets them for the corresponding fields of this builder.
- AbstractConsensusConfigBuilder(ConsensusConfig<C, B>) - Constructor for class io.mokamint.node.AbstractConsensusConfigBuilder
-
Creates a builder with properties initialized to those of the given configuration object.
B
- BasicConsensusConfigBuilders - Class in io.mokamint.node
-
Providers of basic consensus configurations.
- BasicConsensusConfigBuilders.Decoder - Class in io.mokamint.node
-
Gson decoder.
- BasicConsensusConfigBuilders.Encoder - Class in io.mokamint.node
-
Gson encoder.
- BasicConsensusConfigBuilders.Json - Class in io.mokamint.node
-
Json representation.
- BlockDescriptions - Class in io.mokamint.node
-
Providers of block descriptions.
- BlockDescriptions.Decoder - Class in io.mokamint.node
-
Gson decoder.
- BlockDescriptions.Encoder - Class in io.mokamint.node
-
Gson encoder.
- BlockDescriptions.Json - Class in io.mokamint.node
-
Json representation.
- Blocks - Class in io.mokamint.node
-
Providers of blocks.
- Blocks.Decoder - Class in io.mokamint.node
-
Gson decoder.
- Blocks.Encoder - Class in io.mokamint.node
-
Gson encoder.
- Blocks.Json - Class in io.mokamint.node
-
Json representation.
C
- ChainInfos - Class in io.mokamint.node
-
Providers of chain information objects.
- ChainInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- ChainInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- ChainInfos.Json - Class in io.mokamint.node
-
Json representation.
- ChainPortions - Class in io.mokamint.node
-
Providers of objects containing the hashes of a sorted, sequential portion of the current best chain of a Mokamint node.
- ChainPortions.Decoder - Class in io.mokamint.node
-
Gson decoder.
- ChainPortions.Encoder - Class in io.mokamint.node
-
Gson encoder.
- ChainPortions.Json - Class in io.mokamint.node
-
Json representation.
- current() - Static method in class io.mokamint.node.Versions
-
Yields a version object, corresponding to the version of Mokamint as reported the pom.xml file of the parent project.
D
- Decoder() - Constructor for class io.mokamint.node.BasicConsensusConfigBuilders.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.BlockDescriptions.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.Blocks.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.ChainInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.ChainPortions.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.MempoolEntries.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.MempoolInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.MempoolPortions.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.MinerInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.NodeInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.PeerInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.Peers.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.TaskInfos.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.TransactionAddresses.Decoder
-
Creates a new decoder.
- Decoder() - Constructor for class io.mokamint.node.Versions.Decoder
-
Creates a new decoder.
- defaults() - Static method in class io.mokamint.node.BasicConsensusConfigBuilders
-
Creates a configuration builder containing default data.
E
- Encoder() - Constructor for class io.mokamint.node.BasicConsensusConfigBuilders.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.BlockDescriptions.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.Blocks.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.ChainInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.ChainPortions.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.MempoolEntries.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.MempoolInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.MempoolPortions.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.MinerInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.NodeInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.PeerInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.Peers.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.TaskInfos.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.TransactionAddresses.Encoder
-
Creates a new encoder.
- Encoder() - Constructor for class io.mokamint.node.Versions.Encoder
-
Creates a new encoder.
F
- from(UnmarshallingContext) - Static method in class io.mokamint.node.BlockDescriptions
-
Unmarshals a block description from the given context.
- from(UnmarshallingContext) - Static method in class io.mokamint.node.Blocks
-
Unmarshals a block from the given context.
- from(UnmarshallingContext) - Static method in class io.mokamint.node.Peers
-
Unmarshals a peer from the given context.
- from(UnmarshallingContext) - Static method in class io.mokamint.node.Transactions
-
Unmarshals a transaction from the given context.
- from(UnmarshallingContext, ConsensusConfig<?, ?>) - Static method in class io.mokamint.node.BlockDescriptions
-
Unmarshals a block description from the given context.
- from(UnmarshallingContext, ConsensusConfig<?, ?>) - Static method in class io.mokamint.node.Blocks
-
Unmarshals a block from the given context.
G
- genesis(GenesisBlockDescription, byte[], PrivateKey) - Static method in class io.mokamint.node.Blocks
-
Yields a genesis block with the given description.
- genesis(LocalDateTime, int, int, HashingAlgorithm, HashingAlgorithm, HashingAlgorithm, HashingAlgorithm, SignatureAlgorithm, PublicKey) - Static method in class io.mokamint.node.BlockDescriptions
-
Yields a new genesis block description.
I
- io.mokamint.node - module io.mokamint.node
-
This module implements the classes shared by all implementations of a Mokamint node.
- io.mokamint.node - package io.mokamint.node
J
- Json(Block) - Constructor for class io.mokamint.node.Blocks.Json
-
Creates the Json representation for the given block.
- Json(BlockDescription) - Constructor for class io.mokamint.node.BlockDescriptions.Json
-
Creates the Json representation for the given block.
- Json(ChainInfo) - Constructor for class io.mokamint.node.ChainInfos.Json
-
Creates the Json representation for the given chain info.
- Json(ChainPortion) - Constructor for class io.mokamint.node.ChainPortions.Json
-
Creates the Json representation for the given portion of chain.
- Json(ConsensusConfig<?, ?>) - Constructor for class io.mokamint.node.BasicConsensusConfigBuilders.Json
-
Creates the Json representation for the given configuration.
- Json(MempoolEntry) - Constructor for class io.mokamint.node.MempoolEntries.Json
-
Creates the Json representation for the given mempool entry.
- Json(MempoolInfo) - Constructor for class io.mokamint.node.MempoolInfos.Json
-
Creates the Json representation for the given mempool information object.
- Json(MempoolPortion) - Constructor for class io.mokamint.node.MempoolPortions.Json
-
Creates the Json representation for the given portion of mempool.
- Json(MinerInfo) - Constructor for class io.mokamint.node.MinerInfos.Json
-
Creates the Json representation for the given miner information.
- Json(NodeInfo) - Constructor for class io.mokamint.node.NodeInfos.Json
-
Creates the Json representation for the given node info.
- Json(Peer) - Constructor for class io.mokamint.node.Peers.Json
-
Creates the Json representation for the given peer.
- Json(PeerInfo) - Constructor for class io.mokamint.node.PeerInfos.Json
-
Creates the Json representation for the given peer information.
- Json(TaskInfo) - Constructor for class io.mokamint.node.TaskInfos.Json
-
Creates the Json representation for the given task information.
- Json(TransactionAddress) - Constructor for class io.mokamint.node.TransactionAddresses.Json
-
Creates the Json representation for the given transaction address.
- Json(Version) - Constructor for class io.mokamint.node.Versions.Json
-
Creates the Json representation for the given version.
L
- load(Path) - Static method in class io.mokamint.node.BasicConsensusConfigBuilders
-
Creates a configuration builder from the given TOML configuration file.
M
- Memories - Class in io.mokamint.node
-
A provider of memories of things.
- MempoolEntries - Class in io.mokamint.node
-
Providers of entries of the mempool of a Mokamint node.
- MempoolEntries.Decoder - Class in io.mokamint.node
-
Gson decoder.
- MempoolEntries.Encoder - Class in io.mokamint.node
-
Gson encoder.
- MempoolEntries.Json - Class in io.mokamint.node
-
Json representation.
- MempoolInfos - Class in io.mokamint.node
-
Providers of mempool information objects.
- MempoolInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- MempoolInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- MempoolInfos.Json - Class in io.mokamint.node
-
Json representation.
- MempoolPortions - Class in io.mokamint.node
-
Providers of objects containing the transaction information objects of a sorted, sequential portion of the mempool of a Mokamint node.
- MempoolPortions.Decoder - Class in io.mokamint.node
-
Gson decoder.
- MempoolPortions.Encoder - Class in io.mokamint.node
-
Gson encoder.
- MempoolPortions.Json - Class in io.mokamint.node
-
Json representation.
- MinerInfos - Class in io.mokamint.node
-
Providers of miner information objects.
- MinerInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- MinerInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- MinerInfos.Json - Class in io.mokamint.node
-
Json representation.
- MisbehavingNodeException - Exception Class in io.mokamint.node
-
An exception stating that a node is misbehaving, that is, performing in a buggy way.
- MisbehavingNodeException() - Constructor for exception class io.mokamint.node.MisbehavingNodeException
-
Creates a new exception.
- MisbehavingNodeException(String) - Constructor for exception class io.mokamint.node.MisbehavingNodeException
-
Creates a new exception with the given message.
- MisbehavingNodeException(String, Throwable) - Constructor for exception class io.mokamint.node.MisbehavingNodeException
-
Creates a new exception with the given message and cause.
- MisbehavingNodeException(Throwable) - Constructor for exception class io.mokamint.node.MisbehavingNodeException
-
Creates a new exception with the given cause.
N
- NodeInfos - Class in io.mokamint.node
-
Providers of non-consensus node information.
- NodeInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- NodeInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- NodeInfos.Json - Class in io.mokamint.node
-
Json representation.
O
- of(byte[]) - Static method in class io.mokamint.node.Transactions
-
Yields a new transaction object.
- of(byte[], int) - Static method in class io.mokamint.node.TransactionAddresses
-
Yields a new transaction address.
- of(byte[], long) - Static method in class io.mokamint.node.MempoolEntries
-
Yields a new mempool entry.
- of(int) - Static method in class io.mokamint.node.Memories
-
Yields a memory with the given maximal size, initially empty.
- of(int, int, int) - Static method in class io.mokamint.node.Versions
-
Yields a version object with the given components.
- of(long) - Static method in class io.mokamint.node.MempoolInfos
-
Yields a new mempool information object.
- of(long, BigInteger, long, long, BigInteger, Deadline, byte[], int, int, HashingAlgorithm, HashingAlgorithm) - Static method in class io.mokamint.node.BlockDescriptions
-
Yields a new non-genesis block description.
- of(long, Optional<byte[]>, Optional<byte[]>, Optional<byte[]>) - Static method in class io.mokamint.node.ChainInfos
-
Yields a new chain information object.
- of(NonGenesisBlockDescription, Stream<Transaction>, byte[], PrivateKey) - Static method in class io.mokamint.node.Blocks
-
Yields a non-genesis block with the given description.
- of(Peer, long, boolean) - Static method in class io.mokamint.node.PeerInfos
-
Yields peer information with the given data.
- of(Version, UUID, LocalDateTime, int, int) - Static method in class io.mokamint.node.NodeInfos
-
Yields a node information object.
- of(String) - Static method in class io.mokamint.node.TaskInfos
-
Yields a task information object.
- of(URI) - Static method in class io.mokamint.node.Peers
-
Yields a peer with the given URI.
- of(Stream<byte[]>) - Static method in class io.mokamint.node.ChainPortions
-
Yields the container of the hashes of a sequential portion of the current best chain of a Mokamint node.
- of(Stream<MempoolEntry>) - Static method in class io.mokamint.node.MempoolPortions
-
Yields the container of the entries of a sequential portion of the mempool of a Mokamint node.
- of(UUID, long, String) - Static method in class io.mokamint.node.MinerInfos
-
Yields a miner information object.
P
- PeerInfos - Class in io.mokamint.node
-
Providers of peer information objects.
- PeerInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- PeerInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- PeerInfos.Json - Class in io.mokamint.node
-
Json representation.
- Peers - Class in io.mokamint.node
-
Providers of peers.
- Peers.Decoder - Class in io.mokamint.node
-
Gson decoder.
- Peers.Encoder - Class in io.mokamint.node
-
Gson encoder.
- Peers.Json - Class in io.mokamint.node
-
Json representation.
T
- TaskInfos - Class in io.mokamint.node
-
Providers of task information objects.
- TaskInfos.Decoder - Class in io.mokamint.node
-
Gson decoder.
- TaskInfos.Encoder - Class in io.mokamint.node
-
Gson encoder.
- TaskInfos.Json - Class in io.mokamint.node
-
Json representation.
- TransactionAddresses - Class in io.mokamint.node
-
Providers of transaction address objects.
- TransactionAddresses.Decoder - Class in io.mokamint.node
-
Gson decoder.
- TransactionAddresses.Encoder - Class in io.mokamint.node
-
Gson encoder.
- TransactionAddresses.Json - Class in io.mokamint.node
-
Json representation.
- Transactions - Class in io.mokamint.node
-
Providers of transaction objects.
V
- Versions - Class in io.mokamint.node
-
Providers of versions.
- Versions.Decoder - Class in io.mokamint.node
-
Gson decoder.
- Versions.Encoder - Class in io.mokamint.node
-
Gson encoder.
- Versions.Json - Class in io.mokamint.node
-
Json representation.
All Classes and Interfaces|All Packages|Serialized Form