A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractCloseableNativeProxy - Class in com.exonum.binding.core.proxy
-
A proxy of a native object.
- AbstractCloseableNativeProxy(long, boolean) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractCloseableNativeProxy(long, boolean, AbstractCloseableNativeProxy) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractCloseableNativeProxy(long, boolean, Collection<AbstractCloseableNativeProxy>) - Constructor for class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Creates a native proxy.
- AbstractKey - Class in com.exonum.binding.common.crypto
-
Represent either a private or public key in a digital signature system.
- AbstractNativeProxy - Class in com.exonum.binding.core.proxy
-
A base class of a native proxy.
- AbstractNativeProxy(NativeHandle) - Constructor for class com.exonum.binding.core.proxy.AbstractNativeProxy
- AbstractService - Class in com.exonum.binding.core.service
-
A base class for user services.
- AbstractService(short, String, TransactionConverter) - Constructor for class com.exonum.binding.core.service.AbstractService
-
Creates an AbstractService.
- AbstractServiceModule - Class in com.exonum.binding.core.service
-
A base class for
ServiceModule
implementations provided for convenience. - AbstractServiceModule() - Constructor for class com.exonum.binding.core.service.AbstractServiceModule
- accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
- accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofElement
- accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofHashNode
- accept(ListProofVisitor) - Method in interface com.exonum.binding.common.proofs.list.ListProofNode
-
Applies the visitor to this proof node.
- accept(ListProofVisitor) - Method in class com.exonum.binding.common.proofs.list.ListProofOfAbsence
- actualFrom() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
-
The height, starting from which this configuration becomes actual.
- actualFrom(long) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- add(CleanAction<?>) - Method in class com.exonum.binding.core.proxy.Cleaner
-
Registers a new clean action with this context.
- add(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Adds a new element to the set.
- add(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Adds a new element to the set.
- add(T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Adds a new element to the end of the list.
- addAll(Collection<? extends T>) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Adds all elements from the specified collection to this list.
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- addRepeatedField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- addTime(TemporalAmount) - Method in class com.exonum.binding.testkit.FakeTimeProvider
-
Increases stored time by given amount.
- afterCommit(long, int, long) - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
-
Handles block committed event.
- afterCommit(BlockCommittedEvent) - Method in interface com.exonum.binding.core.service.Service
-
Handles read-only block commit event.
- applySnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.testkit.TestKit
-
Performs the given function with a snapshot of the current database state (i.e., the one that corresponds to the latest committed block) and returns a result of its execution.
- asBytes() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns the value of this hash code as a byte array.
- asInt() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns the first four bytes of this hashcode's bytes, converted to an
int
value in little-endian order. - asLong() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns the first eight bytes of this hashcode's bytes, converted to a
long
value in little-endian order. - asOutputStream(PrimitiveSink) - Static method in class com.exonum.binding.common.hash.Funnels
-
Wraps a
PrimitiveSink
as anOutputStream
, so it is easy tofunnel
an object to aPrimitiveSink
if there is already a way to write the contents of the object to anOutputStream
. - assignee() - Method in annotation type com.exonum.binding.core.annotations.ImproveDocs
-
Whom this item is assigned to.
- Auditor - Annotation Type in com.exonum.binding.testkit
-
Changes main TestKit node type to auditor for injected TestKit.
- AUDITOR - com.exonum.binding.testkit.EmulatedNodeType
- AUTHOR_PUBLIC_KEY_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- AUTHOR_PUBLIC_KEY_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- authorPk(PublicKey) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Sets transaction author public key for the context.
- AutoGenerationCandidate - Annotation Type in com.exonum.binding.core.annotations
-
An annotation intended to mark APIs that are good candidates to be generated auto-magically.
- AutoValueGson_CommonTypeAdapterFactory - Class in com.exonum.binding.common.serialization.json
- AutoValueGson_CommonTypeAdapterFactory() - Constructor for class com.exonum.binding.common.serialization.json.AutoValueGson_CommonTypeAdapterFactory
- AutoValueGson_CoreTypeAdapterFactory - Class in com.exonum.binding.core.blockchain.serialization
- AutoValueGson_CoreTypeAdapterFactory() - Constructor for class com.exonum.binding.core.blockchain.serialization.AutoValueGson_CoreTypeAdapterFactory
B
- bits() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns the number of bits in this hash code; a positive multiple of 8.
- bits() - Method in interface com.exonum.binding.common.hash.HashFunction
-
Returns the number of bits (a multiple of 32) that each hash code produced by this hash function has.
- Block - Class in com.exonum.binding.core.blockchain
-
Exonum block header data structure.
- Block() - Constructor for class com.exonum.binding.core.blockchain.Block
- BLOCK_HEIGHT_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- Block.Builder - Class in com.exonum.binding.core.blockchain
- Blockchain - Class in com.exonum.binding.core.blockchain
-
Provides read-only access to the subset of blockchain::Schema features in the Core API: blocks, transaction messages, execution results.
- BlockCommittedEvent - Interface in com.exonum.binding.core.service
-
The blockchain state just after the corresponding block is committed.
- BlockCommittedEventImpl - Class in com.exonum.binding.core.service
- BlockCommittedEventImpl() - Constructor for class com.exonum.binding.core.service.BlockCommittedEventImpl
- blockHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the hash of the block binary representation.
- BlockSerializer - Enum in com.exonum.binding.core.blockchain.serialization
- bool() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of booleans.
- BRANCH - com.exonum.binding.common.proofs.map.DbKey.Type
- build() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- build() - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- build() - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
- build() - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Creates a new block with the set arguments.
- build() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- build() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- build() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- build() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- build() - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
-
Creates the RawTransaction instance with specified parameters.
- build() - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Creates the transaction context instance.
- build() - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Creates the TestKit instance.
- builder() - Static method in class com.exonum.binding.common.configuration.ConsensusConfiguration
- builder() - Static method in class com.exonum.binding.common.configuration.StoredConfiguration
- builder() - Static method in class com.exonum.binding.common.configuration.ValidatorKey
- builder() - Static method in interface com.exonum.binding.common.message.TransactionMessage
-
Creates a new builder for the transaction message.
- builder() - Static method in class com.exonum.binding.common.serialization.json.JsonSerializer
-
Returns preconfigured
Gson
builder instance. - builder() - Static method in class com.exonum.binding.core.blockchain.Block
-
Creates a new block builder.
- builder() - Static method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns the builder of the transaction context.
- builder() - Static method in class com.exonum.binding.testkit.TestKit
-
Creates a new builder for the TestKit.
- Builder() - Constructor for class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- Builder() - Constructor for class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- Builder() - Constructor for class com.exonum.binding.common.configuration.ValidatorKey.Builder
- Builder() - Constructor for class com.exonum.binding.core.blockchain.Block.Builder
- Builder() - Constructor for class com.exonum.binding.core.transaction.RawTransaction.Builder
- buildPartial() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- buildPartial() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- buildPartial() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- buildPartial() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- byteArrayFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel that extracts the bytes from a
byte
array. - bytes() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of byte arrays, which passes them as is.
C
- cancel() - Method in interface com.exonum.binding.core.proxy.CancellableCleanAction
-
Cancels this clean action, making
CleanAction.clean()
a no-op. - cancel() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
- CancellableCleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.core.proxy
-
A cancellable clean action can be cancelled.
- canModify() - Method in class com.exonum.binding.core.storage.database.View
-
Returns true if this view allows modifications to the database state; false if it is immutable.
- check() - Method in interface com.exonum.binding.common.proofs.list.UncheckedListProof
-
Checks that a proof has either correct or incorrect structure and returns a CheckedListProof.
- check() - Method in class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
- check() - Method in class com.exonum.binding.common.proofs.map.UncheckedFlatMapProof
- check() - Method in interface com.exonum.binding.common.proofs.map.UncheckedMapProof
-
Checks that a proof has either correct or incorrect structure and returns a CheckedMapProof.
- CheckedFlatMapProof - Class in com.exonum.binding.common.proofs.map
-
A checked flat map proof, which does not include any intermediate nodes.
- CheckedListProof<E> - Interface in com.exonum.binding.common.proofs.list
-
A proof that some elements exist in a proof list.
- CheckedListProofImpl<E> - Class in com.exonum.binding.common.proofs.list
-
A checked list proof includes list proof verification results.
- CheckedListProofImpl(HashCode, NavigableMap<Long, E>, ListProofStatus) - Constructor for class com.exonum.binding.common.proofs.list.CheckedListProofImpl
-
Creates checked list proof.
- CheckedMapProof - Interface in com.exonum.binding.common.proofs.map
-
A checked map proof.
- CheckedProof - Interface in com.exonum.binding.common.proofs
-
A checked proof is a result of proof verification operation.
- CheckingSerializerDecorator<T> - Class in com.exonum.binding.common.serialization
-
A serializer decorator, that performs some extra checks to ensure that a user-supplied serializer adheres to
Serializer
contract. - clean() - Method in interface com.exonum.binding.core.proxy.CleanAction
-
A clean operation to perform.
- clean() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
-
Closes the native handle, so that it can no longer be accessed, and performs a clean action, passing the native handle value.
- CleanAction<ResourceDescriptionT> - Interface in com.exonum.binding.core.proxy
-
A clean action is an operation that is performed to release some resources.
- Cleaner - Class in com.exonum.binding.core.proxy
-
A context controlling lifecycle of native proxies.
- Cleaner() - Constructor for class com.exonum.binding.core.proxy.Cleaner
-
Creates a new cleaner with no (an empty) description.
- Cleaner(String) - Constructor for class com.exonum.binding.core.proxy.Cleaner
-
Creates a new cleaner.
- clear() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- clear() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- clear() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clear() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- clear() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Removes all of the elements from this set.
- clear() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Clears the list.
- clear() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Removes all of the key-value pairs from the map.
- clear() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- clear() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- clear() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Removes all of the elements from this set.
- clearBlockHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- clearData() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- clearDescription() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clearField(Descriptors.FieldDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- clearHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clearOneof(Descriptors.OneofDescriptor) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- clearPositionInBlock() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- clearPrevHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- clearProposerId() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- clearStateHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- clearStatus() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- clearTxCount() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- clearTxHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- clone() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- clone() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- clone() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- clone() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- close() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
- close() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Performs all the clean operations that has been registered in this context in a reversed order of the registration order.
- close() - Method in interface com.exonum.binding.core.proxy.CloseableNativeProxy
-
Closes the native proxy and releases any native resources associated with this proxy.
- close() - Method in class com.exonum.binding.core.proxy.NativeHandle
- close() - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
-
Close this service adapter.
- CloseableNativeProxy - Interface in com.exonum.binding.core.proxy
-
A proxy of a native object that must be explicitly closed.
- CloseFailuresException - Exception in com.exonum.binding.core.proxy
-
Indicates that there were failures when it was attempted to close some native proxies.
- CLS_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- code - Variable in enum com.exonum.binding.common.proofs.map.DbKey.Type
-
Branch type code, used as the first byte in a raw database key.
- com.exonum.binding.common.blockchain - package com.exonum.binding.common.blockchain
- com.exonum.binding.common.collect - package com.exonum.binding.common.collect
- com.exonum.binding.common.configuration - package com.exonum.binding.common.configuration
- com.exonum.binding.common.crypto - package com.exonum.binding.common.crypto
- com.exonum.binding.common.hash - package com.exonum.binding.common.hash
-
Hash functions and related structures.
- com.exonum.binding.common.message - package com.exonum.binding.common.message
- com.exonum.binding.common.proofs - package com.exonum.binding.common.proofs
- com.exonum.binding.common.proofs.list - package com.exonum.binding.common.proofs.list
- com.exonum.binding.common.proofs.map - package com.exonum.binding.common.proofs.map
- com.exonum.binding.common.serialization - package com.exonum.binding.common.serialization
- com.exonum.binding.common.serialization.json - package com.exonum.binding.common.serialization.json
- com.exonum.binding.core.annotations - package com.exonum.binding.core.annotations
- com.exonum.binding.core.blockchain - package com.exonum.binding.core.blockchain
- com.exonum.binding.core.blockchain.serialization - package com.exonum.binding.core.blockchain.serialization
- com.exonum.binding.core.proxy - package com.exonum.binding.core.proxy
- com.exonum.binding.core.runtime - package com.exonum.binding.core.runtime
- com.exonum.binding.core.service - package com.exonum.binding.core.service
- com.exonum.binding.core.service.adapters - package com.exonum.binding.core.service.adapters
-
An internal package with adapters of Java Service interfaces to the interface, convenient to the native code.
- com.exonum.binding.core.storage.database - package com.exonum.binding.core.storage.database
- com.exonum.binding.core.storage.indices - package com.exonum.binding.core.storage.indices
-
Contains Exonum indexes — persistent, named collections built on top of Exonum key-value storage.
- com.exonum.binding.core.transaction - package com.exonum.binding.core.transaction
- com.exonum.binding.core.transport - package com.exonum.binding.core.transport
- com.exonum.binding.core.util - package com.exonum.binding.core.util
- com.exonum.binding.testkit - package com.exonum.binding.testkit
- com.exonum.binding.time - package com.exonum.binding.time
- commonPrefix(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns new branch DbKey (unless common prefix of two equals DbKeys is requested, in which case this DbKey itself is returned), which is a common prefix of this and another DbKey.
- CommonTypeAdapterFactory - Class in com.exonum.binding.common.serialization.json
-
Class used to automatically create Gson type adapters for all AutoValue classes located in this module.
- CommonTypeAdapterFactory() - Constructor for class com.exonum.binding.common.serialization.json.CommonTypeAdapterFactory
- compareTo(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
-
The following algorithm is used for comparison: Try to find a first bit index at which this key is greater than the other key (i.e., a bit of this key is 1 and the corresponding bit of the other key is 0), and vice versa.
- configure() - Method in class com.exonum.binding.core.runtime.FrameworkModule
- consensusConfiguration() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
-
Consensus algorithm parameters.
- consensusConfiguration(ConsensusConfiguration) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- ConsensusConfiguration - Class in com.exonum.binding.common.configuration
-
Blockchain Consensus algorithm parameters.
- ConsensusConfiguration() - Constructor for class com.exonum.binding.common.configuration.ConsensusConfiguration
- ConsensusConfiguration.Builder - Class in com.exonum.binding.common.configuration
- consensusKey() - Method in class com.exonum.binding.common.configuration.ValidatorKey
-
Consensus key is used for messages related to the consensus algorithm.
- consensusKey(PublicKey) - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
- contains(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Returns true if this set contains the specified element.
- contains(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains the specified element.
- containsBlock(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns true if the blockchain contains exactly the same block as the passed value; false if it does not contain such block.
- containsByHash(HashCode) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns true if this set contains an element with the specified hash.
- containsKey(ByteString) - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- containsKey(ByteString) - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
-
If this proof is valid, returns true if there is a given key in the proof; false — if there is no such key.
- containsKey(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns true if this map contains a mapping for the specified key.
- containsKey(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- containsKey(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- convertToTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.AbstractService
- convertToTransaction(RawTransaction) - Method in interface com.exonum.binding.core.service.Service
-
Converts an Exonum raw transaction to an executable transaction of this service.
- convertTransaction(short, byte[]) - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
-
Converts a transaction messages into an executable transaction of this service.
- copy() - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Returns a copy of this TestKit builder.
- CoreProtos - Class in com.exonum.binding.core.blockchain.serialization
- CoreProtos.Block - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
Block
- CoreProtos.Block.Builder - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
Block
- CoreProtos.BlockOrBuilder - Interface in com.exonum.binding.core.blockchain.serialization
- CoreProtos.Hash - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
Hash
- CoreProtos.Hash.Builder - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
Hash
- CoreProtos.HashOrBuilder - Interface in com.exonum.binding.core.blockchain.serialization
- CoreProtos.TransactionResult - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
TransactionResult
- CoreProtos.TransactionResult.Builder - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
TransactionResult
- CoreProtos.TransactionResultOrBuilder - Interface in com.exonum.binding.core.blockchain.serialization
- CoreProtos.TxLocation - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
TxLocation
- CoreProtos.TxLocation.Builder - Class in com.exonum.binding.core.blockchain.serialization
-
Protobuf type
TxLocation
- CoreProtos.TxLocationOrBuilder - Interface in com.exonum.binding.core.blockchain.serialization
- CoreTypeAdapterFactory - Class in com.exonum.binding.core.blockchain.serialization
-
Class used to automatically create Gson type adapters for all AutoValue classes located in this module.
- CoreTypeAdapterFactory() - Constructor for class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
- correct(HashCode, Set<MapEntry<ByteString, ByteString>>, Set<ByteString>) - Static method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
-
Creates a valid map proof.
- CORRECT - com.exonum.binding.common.proofs.map.MapProofStatus
- create() - Static method in class com.exonum.binding.common.serialization.json.CommonTypeAdapterFactory
- create() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreTypeAdapterFactory
- create() - Static method in interface com.exonum.binding.core.transport.Server
-
Creates an HTTP server with no request handlers.
- create(Gson, TypeToken<T>) - Method in class com.exonum.binding.common.serialization.json.AutoValueGson_CommonTypeAdapterFactory
- create(Gson, TypeToken<T>) - Method in class com.exonum.binding.core.blockchain.serialization.AutoValueGson_CoreTypeAdapterFactory
- create(ZonedDateTime) - Static method in class com.exonum.binding.testkit.FakeTimeProvider
-
Creates a fake time provider with given time.
- createBlock() - Method in class com.exonum.binding.testkit.TestKit
-
Creates a block with all in-pool transactions.
- createBlockWithTransactions(TransactionMessage...) - Method in class com.exonum.binding.testkit.TestKit
-
Creates a block with the given transaction(s).
- createBlockWithTransactions(Iterable<TransactionMessage>) - Method in class com.exonum.binding.testkit.TestKit
-
Creates a block with the given transactions.
- createDataSchema(View) - Method in class com.exonum.binding.core.service.AbstractService
-
Creates a data schema of this service.
- createFork(long, Cleaner) - Method in interface com.exonum.binding.core.service.adapters.ViewFactory
-
Creates a new owning fork.
- createFork(long, Cleaner) - Method in enum com.exonum.binding.core.service.adapters.ViewProxyFactory
- createFork(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
-
Creates a new database fork.
- createFork(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
- createKeyPair(byte[], byte[]) - Static method in class com.exonum.binding.common.crypto.KeyPair
-
Creates a
KeyPair
from two byte arrays, representingprivateKey
andpublicKey
. - createPublicApiHandlers(Node, Router) - Method in interface com.exonum.binding.core.service.Service
-
Creates handlers that make up the public HTTP API of this service.
- createRouter() - Method in interface com.exonum.binding.core.transport.Server
-
Creates a request router.
- createService(String) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
Creates a new service instance of the given type.
- createSnapshot(long, Cleaner) - Method in interface com.exonum.binding.core.service.adapters.ViewFactory
-
Creates a new owning snapshot.
- createSnapshot(long, Cleaner) - Method in enum com.exonum.binding.core.service.adapters.ViewProxyFactory
- createSnapshot(Cleaner) - Method in interface com.exonum.binding.core.storage.database.Database
-
Creates a new snapshot of the database state.
- createSnapshot(Cleaner) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
- CryptoFunction - Interface in com.exonum.binding.common.crypto
-
A crypto function that provides several signature system crypto methods.
- CryptoFunctions - Class in com.exonum.binding.common.crypto
-
A collection of public-key signature system crypto functions.
- CryptoFunctions.Ed25519 - Class in com.exonum.binding.common.crypto
D
- DATA_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- Database - Interface in com.exonum.binding.core.storage.database
-
Represents an underlying Exonum Storage database.
- DB_KEY_SIZE - Static variable in class com.exonum.binding.common.proofs.map.DbKey
-
Size of the database key in bytes.
- DbKey - Class in com.exonum.binding.common.proofs.map
-
A map proof database key.
- DbKey.Type - Enum in com.exonum.binding.common.proofs.map
-
Type of the node in a Merkle-Patricia tree.
- dbKeyCompressedFunnel() - Static method in enum com.exonum.binding.common.proofs.DbKeyCompressedFunnel
- DbKeyCompressedFunnel - Enum in com.exonum.binding.common.proofs
-
A funnel for a database key.
- dbKeyFunnel() - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
- DbKeyFunnel - Enum in com.exonum.binding.common.proofs
-
A funnel for a database key.
- DEFAULT_HASH_SIZE_BITS - Static variable in class com.exonum.binding.common.hash.Hashing
-
Size of a hash code in the default Exonum algorithm, in bits.
- DEFAULT_HASH_SIZE_BYTES - Static variable in class com.exonum.binding.common.hash.Hashing
-
Size of a hash code in the default Exonum algorithm.
- defaultHashFunction() - Static method in class com.exonum.binding.common.hash.Hashing
-
Returns the default Exonum hash function: SHA-256.
- DESCRIPTION_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- disposeInternal() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Releases any resources owned by this proxy (e.g., the corresponding native object).
- disposeInternal() - Method in class com.exonum.binding.core.service.NodeProxy
- disposeInternal() - Method in class com.exonum.binding.core.storage.database.TemporaryDb
- disposeInternal() - Method in class com.exonum.binding.testkit.TestKit
- doubles() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of doubles in little-endian byte order.
- DUPLICATE_PATH - com.exonum.binding.common.proofs.map.MapProofStatus
E
- ed25519() - Static method in class com.exonum.binding.common.crypto.CryptoFunctions
-
Returns a ED25519 public-key signature system crypto function.
- Ed25519() - Constructor for class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
- EMBEDDED_PATH - com.exonum.binding.common.proofs.map.MapProofStatus
- EmulatedNode - Class in com.exonum.binding.testkit
-
Context of the TestKit emulated node, i.e., on which it instantiates and executes services.
- EmulatedNode(int, KeyPair) - Constructor for class com.exonum.binding.testkit.EmulatedNode
-
Creates a context of an emulated node.
- EmulatedNodeType - Enum in com.exonum.binding.testkit
-
Type of the TestKit emulated node.
- entries() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns an iterator over the map entries.
- entries() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- entries() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- Entry() - Constructor for class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
- EntryIndexProxy<T> - Class in com.exonum.binding.core.storage.indices
-
An Entry is a database index that can contain no or a single value.
- equals(Object) - Method in class com.exonum.binding.common.crypto.AbstractKey
- equals(Object) - Method in class com.exonum.binding.common.hash.HashCode
-
Returns
true
ifobject
is aHashCode
instance with the identical byte representation to this hash code. - equals(Object) - Method in class com.exonum.binding.common.proofs.map.DbKey
- equals(Object) - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
-
Checks if this key bit set is equal to the specified object.
- equals(Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- equals(Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- equals(Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- equals(Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- equals(Object) - Method in class com.exonum.binding.core.storage.indices.IndexAddress
- error(int, String) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
-
Creates a transaction result corresponding to a user-defined exception during transaction execution (or the corresponding Error in Rust services).
- ERROR - com.exonum.binding.common.blockchain.TransactionResult.Type
-
Indicates a service-defined error during transaction execution.
- execute(long, byte[], byte[]) - Method in class com.exonum.binding.core.service.adapters.UserTransactionAdapter
- execute(TransactionContext) - Method in interface com.exonum.binding.core.transaction.Transaction
-
Execute the transaction, possibly modifying the blockchain state.
F
- FakeTimeProvider - Class in com.exonum.binding.testkit
-
Fake time provider for service testing.
- findBlock(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a block object for given block hash.
- findOpenIndex(IndexAddress) - Method in class com.exonum.binding.core.storage.database.View
-
Finds an open index by the given address.
- findTransactionsInPool(Predicate<TransactionMessage>) - Method in class com.exonum.binding.testkit.TestKit
-
Returns a list of in-pool transactions that match the given predicate.
- firstRoundTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Interval between first two rounds.
- firstRoundTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- fixed32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of integers as four bytes in little-endian byte order.
- fixed64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of longs as eight bytes in little-endian byte order.
- floats() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of floats in little-endian byte order.
- fork(Fork) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Sets database fork for the context.
- Fork - Class in com.exonum.binding.core.storage.database
-
A fork is a database view, allowing both read and write operations.
- forService(Class<? extends ServiceModule>) - Static method in class com.exonum.binding.testkit.TestKit
-
Creates a TestKit network with a single validator node for a single service.
- FrameworkModule - Class in com.exonum.binding.core.runtime
-
A framework module which configures the system-wide bindings.
- FrameworkModule(int, Map<String, Class<?>>) - Constructor for class com.exonum.binding.core.runtime.FrameworkModule
-
Creates a framework module with the given configuration.
- from(Serializer<T>) - Static method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
-
Creates a checking serializer decorator.
- from(Runnable, ResourceDescriptionT) - Static method in interface com.exonum.binding.core.proxy.CleanAction
-
Creates a clean action with a given type.
- fromBuffer(ByteBuffer) - Static method in interface com.exonum.binding.common.message.TransactionMessage
-
Creates the transaction message from the given bytes buffer.
- fromBytes(byte[]) - Static method in class com.exonum.binding.common.crypto.PrivateKey
-
Creates a
PrivateKey
from a byte array. - fromBytes(byte[]) - Static method in class com.exonum.binding.common.crypto.PublicKey
-
Creates a
PublicKey
from a byte array. - fromBytes(byte[]) - Static method in class com.exonum.binding.common.hash.HashCode
-
Creates a
HashCode
from a byte array. - fromBytes(byte[]) - Static method in interface com.exonum.binding.common.message.TransactionMessage
-
Creates the transaction message from the given bytes array.
- fromBytes(byte[]) - Static method in class com.exonum.binding.common.proofs.map.DbKey
-
Creates a database key.
- fromBytes(byte[]) - Method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
- fromBytes(byte[]) - Method in interface com.exonum.binding.common.serialization.Serializer
-
De-serializes a value from a given byte array.
- fromBytes(byte[]) - Method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
- fromBytes(byte[]) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
- fromBytes(byte[]) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionResultSerializer
- fromBytes(byte[]) - Method in enum com.exonum.binding.time.UtcZonedDateTimeSerializer
- fromHexString(String) - Static method in class com.exonum.binding.common.crypto.PrivateKey
-
Creates a
PrivateKey
from a hexadecimal string. - fromHexString(String) - Static method in class com.exonum.binding.common.crypto.PublicKey
-
Creates a
PublicKey
from a hexadecimal string. - fromInt(int) - Static method in class com.exonum.binding.common.hash.HashCode
-
Creates a 32-bit
HashCode
representation of the given int value. - fromLong(long) - Static method in class com.exonum.binding.common.hash.HashCode
-
Creates a 64-bit
HashCode
representation of the given long value. - fromMessage(TransactionMessage) - Static method in class com.exonum.binding.core.transaction.RawTransaction
-
Creates a raw transaction from the given transaction message.
- fromString(String) - Static method in class com.exonum.binding.common.hash.HashCode
-
Creates a
HashCode
from a hexadecimal (base 16
) encoded string. - funnel() - Static method in class com.exonum.binding.common.proofs.list.ListProofElement
- funnel(HashCode, PrimitiveSink) - Method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
- funnel(DbKey, PrimitiveSink) - Method in enum com.exonum.binding.common.proofs.DbKeyCompressedFunnel
- funnel(DbKey, PrimitiveSink) - Method in enum com.exonum.binding.common.proofs.DbKeyFunnel
- funnel(T, PrimitiveSink) - Method in interface com.exonum.binding.common.hash.Funnel
-
Sends a stream of data from the
from
object into the sinkinto
. - Funnel<T> - Interface in com.exonum.binding.common.hash
-
An object which can send data from an object of type
T
into aPrimitiveSink
. - Funnels - Class in com.exonum.binding.common.hash
-
Funnels for common types.
- Funnels.HashCodeFunnel - Enum in com.exonum.binding.common.hash
-
HashCode funnel.
G
- generateKeyPair() - Method in interface com.exonum.binding.common.crypto.CryptoFunction
-
Generates a private key and a corresponding public key using a random seed.
- generateKeyPair(byte[]) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
-
Generates a private key and a corresponding public key using a
seed
byte array. - get() - Method in class com.exonum.binding.core.proxy.NativeHandle
-
Returns a native implementation-specific handle if it may be safely used to access the native object.
- get() - Method in class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
- get() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
If value is present in the entry, returns it, otherwise, throws
NoSuchElementException
. - get(long) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the element at the given index.
- get(ByteString) - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- get(ByteString) - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
-
If this proof is valid, returns the value corresponding to the specified key or null if there is no such key in the proof.
- get(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns the value associated with the specified key, or
null
if there is no mapping for the key. - get(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- get(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- getActualConfiguration() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the configuration for the latest height of the blockchain, including services and their parameters.
- getActualPort() - Method in interface com.exonum.binding.core.transport.Server
-
Returns a port this server is listening at, or
OptionalInt.empty()
if it does not currently accept requests. - getAddress() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
-
Returns the index address: its unique identifier in the database.
- getArtifactId() - Method in class com.exonum.binding.core.runtime.ServiceId
-
Returns the artifact id of this service (e.g., "land-registry"), aka service name.
- getAuthor() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns a public key of the author of the transaction message.
- getAuthorPk() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns public key of the transaction author.
- getBlock(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the block at the given height.
- getBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Returns the SHA-256 hash of this block.
- getBlockHashes() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a list of all block hashes, indexed by the block height.
- getBlockHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- getBlockHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
-
uint64 block_height = 1;
- getBlockHeight() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocationOrBuilder
-
uint64 block_height = 1;
- getBlocks() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map that stores a block object for every block hash.
- getBlockTransactions(long) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block at the given height.
- getBlockTransactions(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the block with the given id.
- getBlockTransactions(Block) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a proof list of transaction hashes committed in the given block.
- getCleaner() - Method in class com.exonum.binding.core.storage.database.View
-
Returns the cleaner of this view.
- getData() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- getData() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
-
bytes data = 1;
- getData() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.HashOrBuilder
-
bytes data = 1;
- getDatabase() - Method in class com.exonum.binding.core.service.NodeFake
-
Returns the underlying database.
- getDbKey() - Method in class com.exonum.binding.common.proofs.map.MapProofEntry
-
Returns a database key of this node.
- getDefaultInstance() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getDefaultInstance() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getDefaultInstance() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getDefaultInstance() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- getDefaultInstanceForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getDescription() - Method in enum com.exonum.binding.common.proofs.list.ListProofStatus
- getDescription() - Method in enum com.exonum.binding.common.proofs.map.MapProofStatus
- getDescription() - Method in interface com.exonum.binding.common.proofs.ProofStatus
-
Returns the description of the proof verification result.
- getDescription() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- getDescription() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
-
string description = 2;
- getDescription() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
string description = 2;
- getDescription() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns a description of this cleaner.
- getDescriptionBytes() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- getDescriptionBytes() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
-
string description = 2;
- getDescriptionBytes() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
string description = 2;
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- getDescriptor() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getDescriptorForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- getDescriptorForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- getDescriptorForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- getDescriptorForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- getElement() - Method in class com.exonum.binding.common.proofs.list.ListProofElement
-
Returns the value of the element.
- getElements() - Method in interface com.exonum.binding.common.proofs.list.CheckedListProof
-
Get all list proof elements.
- getElements() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
- getEmulatedNode() - Method in class com.exonum.binding.testkit.TestKit
-
Returns the context of the node that the TestKit emulates (i.e., on which it instantiates and executes services).
- getEntries() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- getEntries() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
-
Get all leaf entries of this proof.
- getErrorCode() - Method in class com.exonum.binding.common.blockchain.TransactionResult
-
Returns an error code of a transaction if its execution resulted in a service-defined error.
- getErrorCode() - Method in exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Returns the transaction error code.
- getErrorDescription() - Method in class com.exonum.binding.common.blockchain.TransactionResult
-
Returns the description of a transaction if its execution resulted in an error; or an empty string if there is no description.
- getFork() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns database view allowing R/W operations.
- getGroupId() - Method in class com.exonum.binding.core.runtime.ServiceId
-
Returns the group id of this service (e.g., "com.acme").
- getHash() - Method in class com.exonum.binding.common.proofs.list.ListProofHashNode
-
Returns the hash value.
- getHash() - Method in class com.exonum.binding.common.proofs.map.MapProofEntry
-
Returns a hash of the corresponding proof map tree node.
- getHash() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
-
Returns a hash of the element of the set.
- getHeight() - Method in class com.exonum.binding.common.blockchain.TransactionLocation
-
Height of the block where the transaction was committed.
- getHeight() - Method in class com.exonum.binding.core.blockchain.Block
-
Returns the height of this block which is a distance between the last block and the "genesis" block.
- getHeight() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the blockchain height which is the height of the latest committed block in the blockchain.
- getHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- getHeight() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
uint64 height = 2;
- getHeight() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint64 height = 2;
- getHeight() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
Returns the current blockchain height, which is the height of the last committed block.
- getHeight() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
- getId() - Method in class com.exonum.binding.core.service.AbstractService
- getId() - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
- getId() - Method in interface com.exonum.binding.core.service.Service
-
Returns the id of the service.
- getIdInGroup() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Returns the index id in a group if it belongs to one, otherwise returns an empty optional.
- getIndexHash() - Method in interface com.exonum.binding.common.proofs.CheckedProof
-
Returns the calculated index hash of the proof.
- getIndexHash() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
- getIndexHash() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Returns the index hash which represents the complete state of this list.
- getIndexHash() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Returns the index hash which represents the complete state of this map.
- getIndexInBlock() - Method in class com.exonum.binding.common.blockchain.TransactionLocation
-
Zero-based position of this transaction in the block.
- getInstance() - Static method in enum com.exonum.binding.core.service.adapters.ViewProxyFactory
-
Returns an instance of this factory.
- getKey() - Method in class com.exonum.binding.common.collect.MapEntry
-
Returns the key corresponding to this entry.
- getKeyBits() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
- getKeySlice() - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns the key slice.
- getLast() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the last element of the list.
- getLastBlock() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns the latest committed block.
- getLeft() - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
-
Returns the left child in the proof tree.
- getLength() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
- getListProofRootNode() - Method in interface com.exonum.binding.common.proofs.list.UncheckedListProof
-
Returns the root node of the corresponding proof tree of this UncheckedListProof.
- getListProofRootNode() - Method in class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
- getMerkleRoot() - Method in class com.exonum.binding.common.proofs.list.ListProofOfAbsence
-
Returns the Merkle root of a corresponding proof list.
- getMissingKeys() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- getMissingKeys() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
-
Get all keys that were requested, but did not appear in this proof.
- getName() - Method in class com.exonum.binding.core.service.AbstractService
- getName() - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
- getName() - Method in interface com.exonum.binding.core.service.Service
-
Returns the name of the service.
- getName() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Returns the name of the index or index group.
- getName() - Method in interface com.exonum.binding.core.storage.indices.StorageIndex
-
Returns the name of this index.
- getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractCloseableNativeProxy
-
Returns a native implementation-specific handle if it may be safely used to access the native object.
- getNativeHandle() - Method in class com.exonum.binding.core.proxy.AbstractNativeProxy
-
Returns a handle to the native object if it may be safely used to access the native object.
- getNodeType() - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns the type of the Merkle-Patricia tree node corresponding to this database key.
- getNodeType() - Method in class com.exonum.binding.testkit.EmulatedNode
-
Returns a node type - either
EmulatedNodeType.VALIDATOR
orEmulatedNodeType.AUDITOR
. - getNumRegisteredActions() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns the number of the registered clean actions.
- getNumSignificantBits() - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns the number of significant bits in the key slice.
- getNumTransactions() - Method in class com.exonum.binding.core.blockchain.Block
-
Number of transactions in this block.
- getParserForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getParserForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getParserForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getParserForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getPayload() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the payload containing the serialized transaction parameters.
- getPayload() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns the transaction payload which contains actual transaction data.
- getPositionInBlock() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- getPositionInBlock() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
-
uint64 position_in_block = 2;
- getPositionInBlock() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocationOrBuilder
-
uint64 position_in_block = 2;
- getPrevHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- getPrevHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- getPrevHashBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- getPrevHashOrBuilder() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- getPreviousBlockHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Hash link to the previous block in the blockchain.
- getPrivateKey() - Method in class com.exonum.binding.common.crypto.KeyPair
-
Returns a private key of this pair.
- getProof(long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Returns a proof of either existence or absence of an element at the specified index in this list.
- getProof(Collection<? extends K>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
- getProof(K, K...) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Returns a proof that there are values mapped to the specified keys or that there are no such mappings.
- getProofStatus() - Method in interface com.exonum.binding.common.proofs.CheckedProof
-
Returns a status of proof verification.
- getProofStatus() - Method in interface com.exonum.binding.common.proofs.list.CheckedListProof
-
Returns the status of this proof: whether it is structurally valid.
- getProofStatus() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
- getProofStatus() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- getProofStatus() - Method in interface com.exonum.binding.common.proofs.map.CheckedMapProof
-
Returns the status of this proof: whether it is structurally valid.
- getProposerId() - Method in class com.exonum.binding.core.blockchain.Block
-
Identifier of the leader node which has proposed the block.
- getProposerId() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- getProposerId() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
uint32 proposer_id = 1;
- getProposerId() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint32 proposer_id = 1;
- getPublicKey() - Method in class com.exonum.binding.common.crypto.KeyPair
-
Returns a public key of this pair.
- getPublicKey() - Method in interface com.exonum.binding.core.service.Node
-
Returns the service public key of this node.
- getPublicKey() - Method in class com.exonum.binding.core.service.NodeFake
- getPublicKey() - Method in class com.exonum.binding.core.service.NodeProxy
-
Returns the service public key of this node.
- getRangeProof(long, long) - Method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Returns a proof of either existence or absence of some elements in the specified range in this list.
- getRawDbKey() - Method in class com.exonum.binding.common.proofs.map.DbKey
- getRight() - Method in class com.exonum.binding.common.proofs.list.ListProofBranch
-
Returns the right child in the proof tree.
- getSerializedSize() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getSerializedSize() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getSerializedSize() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getSerializedSize() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getService() - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
- getService(short, Class<T>) - Method in class com.exonum.binding.testkit.TestKit
-
Returns an instance of a service with the given service id and service class.
- getServiceId() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the identifier of the service this message belongs to.
- getServiceId() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns a service identifier which the transaction belongs to.
- getServiceKeyPair() - Method in class com.exonum.binding.testkit.EmulatedNode
-
Returns a service key pair of this node.
- getSignature() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the Ed25519 signature over this binary message.
- getSnapshot() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
Returns the current database snapshot.
- getSnapshot() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
- getSnapshot() - Method in class com.exonum.binding.testkit.TestKit
-
Returns a snapshot of the current database state (i.e., the one that corresponds to the latest committed block).
- getStateHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Hash of the blockchain state after applying transactions in the block.
- getStateHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- getStateHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- getStateHashBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHashes() - Method in interface com.exonum.binding.core.service.Schema
-
Returns the root hashes of Merkelized tables in this database schema, as of the current state of the database.
- getStateHashes(long) - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
-
Returns the state hashes of the service.
- getStateHashes(Snapshot) - Method in class com.exonum.binding.core.service.AbstractService
- getStateHashes(Snapshot) - Method in interface com.exonum.binding.core.service.Service
-
Returns a list of root hashes of all Merkelized tables defined by this service, as of the given snapshot of the blockchain state.
- getStateHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- getStateHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- getStateHashOrBuilder() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- getStatus() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- getStatus() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
-
uint32 status = 1;
- getStatus() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResultOrBuilder
-
uint32 status = 1;
- getTime() - Method in class com.exonum.binding.testkit.FakeTimeProvider
- getTime() - Method in interface com.exonum.binding.testkit.TimeProvider
-
Returns the current time of this time provider in UTC time zone.
- getTime() - Method in interface com.exonum.binding.time.TimeSchema
-
Returns consolidated time output by the service, which can be used by other business logic on the blockchain.
- getTransactionId() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the transaction type identifier which is unique within the service.
- getTransactionId() - Method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns the type of this transaction within a service.
- getTransactionMessageHash() - Method in interface com.exonum.binding.core.transaction.TransactionContext
-
Returns SHA-256 hash of the transaction message that carried the payload from which the transaction was created.
- getTransactionPool() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a set of uncommitted (in-pool) transaction hashes; empty in case of no transactions.
- getTransactionPool() - Method in class com.exonum.binding.testkit.TestKit
-
Returns a list of in-pool transactions.
- getTxCount() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- getTxCount() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
uint32 tx_count = 3;
- getTxCount() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
uint32 tx_count = 3;
- getTxHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- getTxHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- getTxHashBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- getTxHashOrBuilder() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- getTxLocation(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns transaction position inside the blockchain for given message hash.
- getTxLocations() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map that keeps the transaction position inside the blockchain for every transaction hash.
- getTxMessages() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map of transaction messages identified by their SHA-256 hashes.
- getTxResult(HashCode) - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a transaction execution result for given message hash.
- getTxResults() - Method in class com.exonum.binding.core.blockchain.Blockchain
-
Returns a map with a key-value pair of a transaction hash and execution result.
- getTxRootHash() - Method in class com.exonum.binding.core.blockchain.Block
-
Root hash of the Merkle tree of transactions in this block.
- getType() - Method in class com.exonum.binding.common.blockchain.TransactionResult
-
Returns the type of this transaction execution result.
- getUnknownFields() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- getUnknownFields() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- getUnknownFields() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- getUnknownFields() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- getValidatorId() - Method in interface com.exonum.binding.core.service.BlockCommittedEvent
-
If this node is a validator, returns its identifier.
- getValidatorId() - Method in class com.exonum.binding.core.service.BlockCommittedEventImpl
- getValidatorId() - Method in class com.exonum.binding.testkit.EmulatedNode
-
Returns a validator id if this node is a validator or
OptionalInt.empty()
if this is an auditor node. - getValidatorsTimes() - Method in interface com.exonum.binding.time.TimeSchema
-
Returns the table that stores time for every validator.
- getValue() - Method in class com.exonum.binding.common.collect.MapEntry
-
Returns the value corresponding to this entry.
- getValue() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
-
Returns an element of the set.
- getVersion() - Method in class com.exonum.binding.core.runtime.ServiceId
-
Returns the version of this service (e.g., "1.2.0").
- getViewNativeHandle() - Method in class com.exonum.binding.core.storage.database.View
-
Returns a native handle of this view.
H
- hash() - Method in interface com.exonum.binding.common.hash.Hasher
-
Computes a hash code based on the data that have been provided to this hasher.
- hash() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the SHA-256 hash of the binary message representation.
- hash() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of hash codes.
- hashBytes(byte[]) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input).hash()
. - hashBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input, off, len).hash()
. - hashBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input).hash()
. - hashByteString(ByteString) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putBytes(input.toByteArray()).hash()
. - hashCode() - Method in class com.exonum.binding.common.crypto.AbstractKey
- hashCode() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns a "Java hash code" for this
HashCode
instance; this is well-defined (so, for example, you can safely putHashCode
instances into aHashSet
) but is otherwise probably not what you want to use. - hashCode() - Method in interface com.exonum.binding.common.hash.Hasher
-
Deprecated.This returns
Object.hashCode()
; you almost certainly mean to callhash().asInt()
. - hashCode() - Method in class com.exonum.binding.common.proofs.map.DbKey
- hashCode() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
- hashCode() - Method in class com.exonum.binding.core.blockchain.Block
- hashCode() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- hashCode() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- hashCode() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- hashCode() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- hashCode() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
- hashCode() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy.Entry
- HashCode - Class in com.exonum.binding.common.hash
-
An immutable hash code of arbitrary bit length.
- hashCodeFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel for hashcode.
- Hasher - Interface in com.exonum.binding.common.hash
-
A
PrimitiveSink
that can compute a hash code after reading the input. - hashes() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Creates an iterator over the hashes of the elements in this set.
- HashFunction - Interface in com.exonum.binding.common.hash
-
A hash function is a collision-averse pure function that maps an arbitrary block of data to a number called a hash code.
- Hashing - Class in com.exonum.binding.common.hash
-
Static methods to obtain
HashFunction
instances, and other static hashing-related utilities. - hashInt(int) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putInt(input).hash()
; returns the hash code for the givenint
value, interpreted in little-endian byte order. - hashLong(long) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putLong(input).hash()
; returns the hash code for the givenlong
value, interpreted in little-endian byte order. - hashObject(T, Funnel<? super T>) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putObject(instance, funnel).hash()
. - hashString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putString(input, charset).hash()
. - hashUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Shortcut for
newHasher().putUnencodedChars(input).hash()
. - hasPrevHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- hasPrevHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash prev_hash = 4;
- hasPrevHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash prev_hash = 4;
- hasStateHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- hasStateHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash state_hash = 6;
- hasStateHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash state_hash = 6;
- hasTxHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- hasTxHash() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
-
.Hash tx_hash = 5;
- hasTxHash() - Method in interface com.exonum.binding.core.blockchain.serialization.CoreProtos.BlockOrBuilder
-
.Hash tx_hash = 5;
- height(long) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the block height, which is the distance between the block and the genesis block, which has zero height.
- HEIGHT_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
I
- ImproveDocs - Annotation Type in com.exonum.binding.core.annotations
-
Indicates that a documentation of a field, method or class needs to be improved (or added if absent).
- IndexAddress - Class in com.exonum.binding.core.storage.indices
-
An Exonum index address: a pair of the name and an optional id in a group, which identifies an Exonum index.
- info() - Method in class com.exonum.binding.core.service.adapters.UserTransactionAdapter
- info() - Method in interface com.exonum.binding.core.transaction.Transaction
-
Returns the information about this transaction in JSON format.
- initialize(long) - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
-
Returns the service initial global configuration.
- initialize(Fork) - Method in interface com.exonum.binding.core.service.Service
-
Initializes the service.
- INSTANCE - com.exonum.binding.common.hash.Funnels.HashCodeFunnel
- INSTANCE - com.exonum.binding.common.proofs.DbKeyCompressedFunnel
- INSTANCE - com.exonum.binding.common.proofs.DbKeyFunnel
- INSTANCE - com.exonum.binding.core.blockchain.serialization.BlockSerializer
- INSTANCE - com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
- INSTANCE - com.exonum.binding.core.blockchain.serialization.TransactionResultSerializer
- INSTANCE - com.exonum.binding.core.service.adapters.ViewProxyFactory
- INSTANCE - com.exonum.binding.time.UtcZonedDateTimeSerializer
- integerFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel for integers.
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- internalGetFieldAccessorTable() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- invalid(MapProofStatus) - Static method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
-
Creates an invalid map proof.
- INVALID_ELEMENT_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
- INVALID_HASH_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
- INVALID_HASH_NODES_COUNT - com.exonum.binding.common.proofs.list.ListProofStatus
- INVALID_NATIVE_HANDLE - Static variable in class com.exonum.binding.core.proxy.NativeHandle
-
A reserved value for an invalid native handle, equal to
nullptr
in C++. - INVALID_NODE_DEPTH - com.exonum.binding.common.proofs.list.ListProofStatus
- INVALID_ORDER - com.exonum.binding.common.proofs.map.MapProofStatus
- INVALID_PROOF_OF_ABSENCE - com.exonum.binding.common.proofs.list.ListProofStatus
- INVALID_TREE_NO_ELEMENTS - com.exonum.binding.common.proofs.list.ListProofStatus
- isClosed() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns true if this cleaner is closed.
- isEmpty() - Method in class com.exonum.binding.core.blockchain.Block
-
Returns true if this block is empty: contains no transactions.
- isEmpty() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns true if the list is empty, false — otherwise.
- isEmpty() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns true if this map has no entries.
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- isInitialized() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- isPrefixOf(DbKey) - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns true if this
DbKey
is a prefix of thatDbKey
. - isPresent() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Returns true if this entry exists in the database.
- isSuccessful() - Method in class com.exonum.binding.common.blockchain.TransactionResult
-
Returns true if transaction was successful, false otherwise.
- isValid() - Method in interface com.exonum.binding.common.proofs.CheckedProof
-
Returns true if proof status is valid, false otherwise.
- isValid() - Method in class com.exonum.binding.common.proofs.list.CheckedListProofImpl
- isValid() - Method in class com.exonum.binding.common.proofs.map.CheckedFlatMapProof
- isValidHandle() - Method in class com.exonum.binding.core.proxy.AbstractNativeProxy
-
Returns true if this proxy has a valid native handle.
- iterator() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Creates an iterator over the set elements.
- iterator() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns an iterator over the elements of the list.
- iterator() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns an iterator over the entries of this set.
J
- json() - Static method in class com.exonum.binding.common.serialization.json.JsonSerializer
-
Returns preconfigured
Gson
instance. - JsonSerializer - Class in com.exonum.binding.common.serialization.json
-
Provides
Gson
serializer for converting Java objects to Json and vice versa.
K
- KEY_SIZE - Static variable in class com.exonum.binding.common.proofs.map.DbKey
-
Size of the user key in bytes.
- KEY_SIZE_BITS - Static variable in class com.exonum.binding.common.proofs.map.DbKey
-
Size of the user key in bits.
- keyBits() - Method in class com.exonum.binding.common.proofs.map.DbKey
-
Returns a key as a bit set.
- KeyBitSet - Class in com.exonum.binding.common.proofs.map
-
A key bit set.
- KeyBitSet(byte[], int) - Constructor for class com.exonum.binding.common.proofs.map.KeyBitSet
-
Creates a new bit set.
- KeyPair - Class in com.exonum.binding.common.crypto
-
A key pair class that stores public and private keys.
- keys() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns an iterator over the map keys in lexicographical order.
- keys() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- keys() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- KeySetIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
-
A key set is an index that contains no duplicate elements (keys).
L
- LEAF - com.exonum.binding.common.proofs.map.DbKey.Type
- LibraryLoader - Class in com.exonum.binding.core.util
-
A loader of the native shared library with Exonum framework bindings.
- ListIndex<T> - Interface in com.exonum.binding.core.storage.indices
-
A list index proxy is a contiguous list of elements.
- ListIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
-
A list index proxy is a contiguous list of elements.
- ListProofBranch - Class in com.exonum.binding.common.proofs.list
-
Represents a branch node of a
ListProofNode
. - ListProofBranch(ListProofNode, ListProofNode) - Constructor for class com.exonum.binding.common.proofs.list.ListProofBranch
- ListProofElement - Class in com.exonum.binding.common.proofs.list
-
Represents an element of a proof list: a leaf node in a list proof tree.
- ListProofElement(ByteString) - Constructor for class com.exonum.binding.common.proofs.list.ListProofElement
-
Creates a new ListProofElement.
- ListProofHashNode - Class in com.exonum.binding.common.proofs.list
-
Represents a hash of a Merkle sub-tree: a leaf node in proof trees.
- ListProofHashNode(HashCode) - Constructor for class com.exonum.binding.common.proofs.list.ListProofHashNode
- ListProofNode - Interface in com.exonum.binding.common.proofs.list
-
Represents a proof that some elements exist in a ProofList at certain positions.
- ListProofOfAbsence - Class in com.exonum.binding.common.proofs.list
-
Represents the proof of absence of a requested element or a range of elements by providing Merkle root hash of a corresponding proof list.
- ListProofOfAbsence(HashCode) - Constructor for class com.exonum.binding.common.proofs.list.ListProofOfAbsence
-
Creates ListProof absence node with given Merkle root.
- ListProofStatus - Enum in com.exonum.binding.common.proofs.list
-
Possible statuses of a checked list proof.
- ListProofVisitor - Interface in com.exonum.binding.common.proofs.list
- load() - Static method in class com.exonum.binding.core.util.LibraryLoader
-
Loads the native library with Exonum framework bindings.
- loadArtifact(String) - Method in class com.exonum.binding.core.runtime.ServiceRuntime
-
Loads an artifact from the specified location.
- longFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel for longs.
M
- MapEntry<K,V> - Class in com.exonum.binding.common.collect
-
A map entry: a key-value pair.
- MapEntry() - Constructor for class com.exonum.binding.common.collect.MapEntry
- MapIndex<K,V> - Interface in com.exonum.binding.core.storage.indices
-
A MapIndex is an index that maps keys to values.
- MapIndexProxy<K,V> - Class in com.exonum.binding.core.storage.indices
-
A MapIndex is an index that maps keys to values.
- MapProofEntry - Class in com.exonum.binding.common.proofs.map
-
A flat map proof entry corresponding to either a branch node or a leaf node with computed hash in a map tree.
- MapProofStatus - Enum in com.exonum.binding.common.proofs.map
-
Possible statuses of a checked map proof.
- MAX_USER_DEFINED_ERROR_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
-
The maximum allowed user-defined transaction error code.
- MAX_VALIDATOR_COUNT_WITH_ENABLED_TIME_SERVICE - Static variable in class com.exonum.binding.testkit.TestKit
-
The maximum number of validators supported by TestKit when a time oracle is enabled.
- maxMessageLen() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
This parameter determines the maximum size of both consensus messages and transactions.
- maxMessageLen(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- maxProposeTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Maximal propose timeout.
- maxProposeTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- merge(Fork) - Method in class com.exonum.binding.core.storage.database.TemporaryDb
-
Applies the changes from the given fork to the database state.
- mergeFrom(CoreProtos.Block) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(CoreProtos.TransactionResult) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(CoreProtos.TxLocation) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(CodedInputStream, ExtensionRegistryLite) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeFrom(Message) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- mergePrevHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- mergeStateHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- mergeTxHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- mergeUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- MIN_MESSAGE_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- minProposeTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Minimal propose timeout.
- minProposeTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- mountPublicApiHandler(long) - Method in class com.exonum.binding.core.service.adapters.UserServiceAdapter
- mountSubRouter(String, Router) - Method in interface com.exonum.binding.core.transport.Server
-
Mounts the sub router on the root router of this server.
N
- nativeHandle - Variable in class com.exonum.binding.core.proxy.AbstractNativeProxy
-
A handle to the native object.
- NativeHandle - Class in com.exonum.binding.core.proxy
-
An implementation-specific handle to the native object.
- NativeHandle(long) - Constructor for class com.exonum.binding.core.proxy.NativeHandle
-
Creates new native handle.
- newBranchKey(byte[], int) - Static method in class com.exonum.binding.common.proofs.map.DbKey
-
Creates a new branch database key.
- newBuilder() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- newBuilder() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- newBuilder() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- newBuilder() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- newBuilder() - Static method in class com.exonum.binding.core.transaction.RawTransaction
-
Returns the new builder for the transaction.
- newBuilder(CoreProtos.Block) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- newBuilder(CoreProtos.Hash) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- newBuilder(CoreProtos.TransactionResult) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- newBuilder(CoreProtos.TxLocation) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- newBuilderForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- newBuilderForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- newBuilderForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- newBuilderForType() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- newBuilderForType(GeneratedMessageV3.BuilderParent) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- newHasher() - Method in interface com.exonum.binding.common.hash.HashFunction
-
Begins a new hash code computation by returning an initialized, stateful
Hasher
instance that is ready to receive data. - newHasher(int) - Method in interface com.exonum.binding.common.hash.HashFunction
-
Begins a new hash code computation as
HashFunction.newHasher()
, but provides a hint of the expected size of the input (in bytes). - newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Creates a new key set in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
-
Creates a new list in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Creates a new list in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Creates a new value set in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
Creates a new map in a collection group with the given name.
- newInGroupUnsafe(String, byte[], View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Creates a new proof map in a collection group with the given name.
- newInstance() - Static method in class com.exonum.binding.core.storage.database.TemporaryDb
-
Creates a new empty TemporaryDb.
- newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
-
Creates a new Fork proxy.
- newInstance(long, boolean, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
-
Creates a new Snapshot proxy.
- newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Fork
-
Creates a new owning Fork proxy.
- newInstance(long, Cleaner) - Static method in class com.exonum.binding.core.storage.database.Snapshot
-
Creates a new owning Snapshot proxy.
- newInstance(View) - Static method in class com.exonum.binding.core.blockchain.Blockchain
-
Constructs a new blockchain instance for the given database view.
- newInstance(View) - Static method in interface com.exonum.binding.time.TimeSchema
-
Constructs a time schema for a given dbView.
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- newInstance(GeneratedMessageV3.UnusedPrivateParameter) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Creates a new Entry.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Creates a new key set proxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
-
Creates a new ListIndexProxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Creates a new ProofListIndexProxy.
- newInstance(String, View, Serializer<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Creates a new value set.
- newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
Creates a new MapIndexProxy.
- newInstance(String, View, Serializer<K>, Serializer<V>) - Static method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Creates a ProofMapIndexProxy.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Creates a new Entry storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Creates a new key set storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ListIndexProxy
-
Creates a new ListIndexProxy storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ProofListIndexProxy
-
Creates a new ProofListIndexProxy storing protobuf messages.
- newInstance(String, View, Class<E>) - Static method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Creates a new value set storing protobuf messages.
- newInstance(String, View, Class<K>, Class<V>) - Static method in class com.exonum.binding.core.storage.indices.MapIndexProxy
-
Creates a new MapIndexProxy using protobuf messages.
- newLeafKey(byte[]) - Static method in class com.exonum.binding.common.proofs.map.DbKey
-
Given key as a byte array, returns new leaf DbKey.
- newLeafKey(ByteString) - Static method in class com.exonum.binding.common.proofs.map.DbKey
-
Given key as a ByteString, returns new leaf DbKey.
- newRegistered(Cleaner, NativeHandle, Class<?>, LongConsumer) - Static method in class com.exonum.binding.core.proxy.ProxyDestructor
-
Creates a new destructor of a native proxy, registered in the given cleaner.
- Node - Interface in com.exonum.binding.core.service
-
An Exonum node context.
- NodeFake - Class in com.exonum.binding.core.service
-
An implementation of a Node interface for testing purposes.
- NodeFake(TemporaryDb) - Constructor for class com.exonum.binding.core.service.NodeFake
-
Creates a new node fake with the given database and an empty public key.
- NodeFake(TemporaryDb, PublicKey) - Constructor for class com.exonum.binding.core.service.NodeFake
-
Creates a new node fake with the given database.
- NodeProxy - Class in com.exonum.binding.core.service
-
An Exonum node context.
- NodeProxy(long) - Constructor for class com.exonum.binding.core.service.NodeProxy
-
Creates a proxy of a node.
- NON_TERMINAL_NODE - com.exonum.binding.common.proofs.map.MapProofStatus
- numTransactions(int) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the number of transactions in this block.
O
- of(String, String, String) - Static method in class com.exonum.binding.core.runtime.ServiceId
-
Creates a new service id of the given coordinate.
P
- padToLong() - Method in class com.exonum.binding.common.hash.HashCode
-
If this hashcode has enough bits, returns
asLong()
, otherwise returns along
value withasBytes()
as the least-significant bytes and0x00
as the remaining most-significant bytes. - parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseDelimitedFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseDelimitedFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(byte[]) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(byte[], ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteString) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteString) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteString) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteString) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteString, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(CodedInputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(CodedInputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(InputStream) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(InputStream, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(String) - Static method in class com.exonum.binding.core.runtime.ServiceId
-
Parses a service id in format "groupId:artifactId:version" as
ServiceId.toString()
produces. - parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteBuffer) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parseFrom(ByteBuffer, ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- parser() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- parser() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- parser() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- parser() - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- payload(byte[]) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
-
Sets payload to the transaction message.
- payload(byte[]) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
-
Sets the payload of the transaction.
- payload(ByteBuffer) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
-
Sets payload to the transaction message.
- PAYLOAD_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- peersTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
This parameter defines the frequency with which a node requests collected Connect messages from a random peer node in the network.
- peersTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- POSITION_IN_BLOCK_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- PREV_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- previousBlockHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the hash of the previous block in the hash chain.
- previousCfgHash() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
-
Hash of the previous configuration, which can be used to find that configuration.
- previousCfgHash(HashCode) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- PrimitiveSink - Interface in com.exonum.binding.common.hash
-
An object which can receive a stream of primitive values.
- PRIVATE_KEY_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
- privateKey() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of private keys.
- PrivateKey - Class in com.exonum.binding.common.crypto
-
Represent a private key in a digital signature system.
- ProofListIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
-
A proof list index proxy is a contiguous list of elements, capable of providing cryptographic proofs that it contains a certain element at a particular position.
- ProofMapIndexProxy<K,V> - Class in com.exonum.binding.core.storage.indices
-
A ProofMapIndexProxy is an index that maps keys to values.
- ProofStatus - Interface in com.exonum.binding.common.proofs
-
A status of collection proof verification.
- PROPOSER_ID_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- proposerId(int) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the identifier of the leader node which has proposed the block.
- proposeTimeoutThreshold() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Amount of transactions in pool to start use min_propose_timeout.
- proposeTimeoutThreshold(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- protobuf(Class<MessageT>) - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer for the given protocol buffer message type.
- ProxyDestructor - Class in com.exonum.binding.core.proxy
-
ProxyDestructor is a clean action that destroys a native proxy and closes its native handle.
- ProxyDestructor(NativeHandle, Class<?>, LongConsumer) - Constructor for class com.exonum.binding.core.proxy.ProxyDestructor
-
Creates a new destructor of a native proxy.
- PUBLIC_KEY_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
- publicKey() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of public keys.
- PublicKey - Class in com.exonum.binding.common.crypto
-
Represent a public key in a digital signature system.
- put(K, V) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Puts a new key-value pair into the map.
- put(K, V) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- put(K, V) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
-
Puts a new key-value pair into the map.
- putAll(Map<? extends K, ? extends V>) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Puts all key-value pairs from the given map into this map.
- putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- putAll(Map<? extends K, ? extends V>) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- putBoolean(boolean) - Method in interface com.exonum.binding.common.hash.Hasher
-
Equivalent to
putByte(b ? (byte) 1 : (byte) 0)
. - putBoolean(boolean) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a boolean into this sink.
- putByte(byte) - Method in interface com.exonum.binding.common.hash.Hasher
- putByte(byte) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a byte into this sink.
- putBytes(byte[]) - Method in interface com.exonum.binding.common.hash.Hasher
- putBytes(byte[]) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts an array of bytes into this sink.
- putBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.Hasher
- putBytes(byte[], int, int) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a chunk of an array of bytes into this sink.
- putBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.Hasher
- putBytes(ByteBuffer) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts the remaining bytes of a byte buffer into this sink.
- putChar(char) - Method in interface com.exonum.binding.common.hash.Hasher
- putChar(char) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a character into this sink.
- putDouble(double) - Method in interface com.exonum.binding.common.hash.Hasher
-
Equivalent to
putLong(Double.doubleToRawLongBits(d))
. - putDouble(double) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a double into this sink.
- putFloat(float) - Method in interface com.exonum.binding.common.hash.Hasher
-
Equivalent to
putInt(Float.floatToRawIntBits(f))
. - putFloat(float) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a float into this sink.
- putInt(int) - Method in interface com.exonum.binding.common.hash.Hasher
- putInt(int) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts an int into this sink.
- putLong(long) - Method in interface com.exonum.binding.common.hash.Hasher
- putLong(long) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a long into this sink.
- putObject(T, Funnel<? super T>) - Method in interface com.exonum.binding.common.hash.Hasher
-
A simple convenience for
funnel.funnel(object, this)
. - putShort(short) - Method in interface com.exonum.binding.common.hash.Hasher
- putShort(short) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a short into this sink.
- putString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.Hasher
-
Equivalent to
putBytes(charSequence.toString().getBytes(charset))
. - putString(CharSequence, Charset) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts a string into this sink using the given charset.
- putUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.Hasher
-
Equivalent to processing each
char
value in theCharSequence
, in order. - putUnencodedChars(CharSequence) - Method in interface com.exonum.binding.common.hash.PrimitiveSink
-
Puts each 16-bit code unit from the
CharSequence
into this sink.
R
- RawTransaction - Class in com.exonum.binding.core.transaction
-
An Exonum raw transaction.
- RawTransaction() - Constructor for class com.exonum.binding.core.transaction.RawTransaction
- RawTransaction.Builder - Class in com.exonum.binding.core.transaction
- reason() - Method in annotation type com.exonum.binding.core.annotations.AutoGenerationCandidate
-
Why or how an element can be auto-generated.
- reason() - Method in annotation type com.exonum.binding.core.annotations.ImproveDocs
-
A description of why this annotation was added.
- ReflectiveModuleSupplier - Class in com.exonum.binding.core.runtime
-
A reflective supplier of service modules that instantiates them with a no-arg constructor.
- ReflectiveModuleSupplier(Class<? extends ServiceModule>) - Constructor for class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
-
Creates a module supplier for a given service module class.
- registerAllExtensions(ExtensionRegistry) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos
- registerAllExtensions(ExtensionRegistryLite) - Static method in class com.exonum.binding.core.blockchain.serialization.CoreProtos
- registerIndex(StorageIndex) - Method in class com.exonum.binding.core.storage.database.View
-
Registers a new index created with this view.
- remove() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Removes a value from this entry.
- remove(E) - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Removes the element from this set.
- remove(E) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Removes the element from this set.
- remove(K) - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Removes the value mapped to the specified key from the map.
- remove(K) - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- remove(K) - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- removeByHash(HashCode) - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Removes an element from this set by its hash.
- removeLast() - Method in class com.exonum.binding.core.storage.indices.ListIndexProxy
-
Removes the last element of the list and returns it.
- resolveParameter(ParameterContext, ExtensionContext) - Method in class com.exonum.binding.testkit.TestKitExtension
- resourceType() - Method in interface com.exonum.binding.core.proxy.CleanAction
-
Returns the description of the type of resource this action corresponds to.
- resourceType() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
S
- Schema - Interface in com.exonum.binding.core.service
-
A schema of the collections (a.k.a.
- SEED_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
- sequentialFunnel(Funnel<E>) - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel that processes an
Iterable
by funneling its elements in iteration order with the specified funnel. - Serializer<T> - Interface in com.exonum.binding.common.serialization
-
Converts Java objects into a binary representation in some format, and vice versa.
- Server - Interface in com.exonum.binding.core.transport
-
An HTTP server providing transport for Exonum transactions and read-requests.
- Service - Interface in com.exonum.binding.core.service
-
An Exonum service.
- SERVICE_ID_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- serviceId(short) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
-
Sets service identifier to the transaction message.
- serviceId(short) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
-
Sets the identifier of the service this transaction belongs to.
- ServiceId - Class in com.exonum.binding.core.runtime
-
A service artifact identifier.
- ServiceId() - Constructor for class com.exonum.binding.core.runtime.ServiceId
- serviceKey() - Method in class com.exonum.binding.common.configuration.ValidatorKey
-
Service key is used for services, for example, the configuration updater service.
- serviceKey(PublicKey) - Method in class com.exonum.binding.common.configuration.ValidatorKey.Builder
- ServiceLoadingException - Exception in com.exonum.binding.core.runtime
-
Indicates that a service runtime failed to load the service artifact.
- ServiceLoadingException(String) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
- ServiceLoadingException(String, Throwable) - Constructor for exception com.exonum.binding.core.runtime.ServiceLoadingException
- ServiceModule - Interface in com.exonum.binding.core.service
-
A service module configures the service bindings so that the framework can resolve the service implementation and all its dependencies.
- ServiceRuntime - Class in com.exonum.binding.core.runtime
-
A service runtime.
- ServiceRuntime(Injector, ServiceLoader, Server, int) - Constructor for class com.exonum.binding.core.runtime.ServiceRuntime
-
Creates a new runtime with the given framework injector.
- set(long, T) - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Replaces the element at the given index of the list with the specified element.
- set(T) - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Sets a new value of the entry, overwriting the previous value.
- setBlockHeight(long) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 block_height = 1;
- setData(ByteString) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
-
bytes data = 1;
- setDescription(String) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- setDescriptionBytes(ByteString) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
string description = 2;
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setField(Descriptors.FieldDescriptor, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- setHeight(long) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint64 height = 2;
- setPositionInBlock(long) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
-
uint64 position_in_block = 2;
- setPrevHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- setPrevHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash prev_hash = 4;
- setProposerId(int) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 proposer_id = 1;
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setRepeatedField(Descriptors.FieldDescriptor, int, Object) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- setStateHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- setStateHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash state_hash = 6;
- setStatus(int) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
-
uint32 status = 1;
- setTime(ZonedDateTime) - Method in class com.exonum.binding.testkit.FakeTimeProvider
-
Sets new time for this time provider.
- setTxCount(int) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
uint32 tx_count = 3;
- setTxHash(CoreProtos.Hash) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- setTxHash(CoreProtos.Hash.Builder) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
-
.Hash tx_hash = 5;
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult.Builder
- setUnknownFields(UnknownFieldSet) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation.Builder
- sha256() - Static method in class com.exonum.binding.common.hash.Hashing
-
Returns a hash function implementing the SHA-256 algorithm (256 hash bits).
- sha384() - Static method in class com.exonum.binding.common.hash.Hashing
-
Returns a hash function implementing the SHA-384 algorithm (384 hash bits).
- sha512() - Static method in class com.exonum.binding.common.hash.Hashing
-
Returns a hash function implementing the SHA-512 algorithm (512 hash bits).
- sign(KeyPair, CryptoFunction) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
-
Signs the message, creating a new signed binary transaction message.
- SIGNATURE_BYTES - Static variable in class com.exonum.binding.common.crypto.CryptoFunctions.Ed25519
- SIGNATURE_SIZE - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- signMessage(byte[], PrivateKey) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
-
Given a
privateKey
, computes and returns a signature for the suppliedmessage
. - sint32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of signed integers using variable length encoding.
- sint64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of signed longs using variable length encoding.
- size() - Method in class com.exonum.binding.common.crypto.AbstractKey
-
Returns the length of this key in bytes.
- size() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the transaction message size in bytes.
- size() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns the number of elements in the list.
- Snapshot - Class in com.exonum.binding.core.storage.database
-
A snapshot is a read-only, immutable database view.
- StandardSerializers - Class in com.exonum.binding.common.serialization
-
A collection of pre-defined serializers.
- start(int) - Method in interface com.exonum.binding.core.transport.Server
-
Starts listening on the given TCP port.
- STATE_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- stateHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the blockchain state hash at the moment this block was committed.
- STATUS_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- statusTimeout() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
This parameter defines the frequency with which a node broadcasts its status message to the network.
- statusTimeout(long) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- stop() - Method in interface com.exonum.binding.core.transport.Server
-
Requests the server to stop listening to incoming requests and release any resources.
- StorageIndex - Interface in com.exonum.binding.core.storage.indices
-
Storage index is a persistent, named collection built on top of Exonum key-value storage.
- StoredConfiguration - Class in com.exonum.binding.common.configuration
-
Represents a blockchain configuration which is a set of values that determine the network access parameters of a node and behavior of the node while operating in the network.
- StoredConfiguration() - Constructor for class com.exonum.binding.common.configuration.StoredConfiguration
- StoredConfiguration.Builder - Class in com.exonum.binding.common.configuration
- stream() - Method in class com.exonum.binding.core.storage.indices.KeySetIndexProxy
-
Returns a stream of the set elements.
- stream() - Method in interface com.exonum.binding.core.storage.indices.ListIndex
-
Returns a stream of elements in this list.
- stream() - Method in class com.exonum.binding.core.storage.indices.ValueSetIndexProxy
-
Returns a stream of the entries in this set.
- string() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of strings in UTF-8.
- stringFunnel(Charset) - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel that encodes the characters of a
CharSequence
with the specifiedCharset
. - submitTransaction(RawTransaction) - Method in interface com.exonum.binding.core.service.Node
-
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeFake
-
Returns a zero hash always, ignoring the transaction.
- submitTransaction(RawTransaction) - Method in class com.exonum.binding.core.service.NodeProxy
-
Creates a transaction from the given parameters, signs it with the node service key, and then submits it into Exonum network.
- SUCCESS - com.exonum.binding.common.blockchain.TransactionResult.Type
-
Indicates successful transaction execution.
- successful() - Static method in class com.exonum.binding.common.blockchain.TransactionResult
-
Returns a transaction result corresponding to successful execution.
- SUCCESSFUL_RESULT_STATUS_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
-
The status code of a successfully executed transaction.
- supportsParameter(ParameterContext, ExtensionContext) - Method in class com.exonum.binding.testkit.TestKitExtension
T
- TAG_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- TemporaryDb - Class in com.exonum.binding.core.storage.database
-
A MerkleDB which stores its data in the temporary directory for testing purposes.
- TestKit - Class in com.exonum.binding.testkit
-
TestKit for testing blockchain services.
- TestKit.Builder - Class in com.exonum.binding.testkit
-
Builder for the TestKit.
- TestKitExtension - Class in com.exonum.binding.testkit
-
Extension that injects TestKit into service tests and destroys afterwards.
- TestKitExtension(TestKit.Builder) - Constructor for class com.exonum.binding.testkit.TestKitExtension
- TimeProvider - Interface in com.exonum.binding.testkit
-
Time provider for service testing.
- TimeSchema - Interface in com.exonum.binding.time
-
Exonum time service database schema.
- toBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- toBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- toBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- toBuilder() - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
- toBytes() - Method in class com.exonum.binding.common.crypto.AbstractKey
-
Returns the value of this key as a byte array.
- toBytes() - Method in interface com.exonum.binding.common.message.TransactionMessage
-
Returns the transaction message in binary format.
- toBytes(TransactionLocation) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
- toBytes(TransactionResult) - Method in enum com.exonum.binding.core.blockchain.serialization.TransactionResultSerializer
- toBytes(Block) - Method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
- toBytes(ZonedDateTime) - Method in enum com.exonum.binding.time.UtcZonedDateTimeSerializer
- toBytes(T) - Method in class com.exonum.binding.common.serialization.CheckingSerializerDecorator
- toBytes(T) - Method in interface com.exonum.binding.common.serialization.Serializer
-
Serializes a given value into a byte array.
- toOptional() - Method in class com.exonum.binding.core.storage.indices.EntryIndexProxy
-
Converts the entry to
Optional
. - toString() - Method in class com.exonum.binding.common.crypto.AbstractKey
- toString() - Method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
- toString() - Method in class com.exonum.binding.common.hash.HashCode
-
Returns a string containing each byte of
HashCode.asBytes()
, in order, as a two-digit unsigned hexadecimal number in lower case. - toString() - Method in enum com.exonum.binding.common.proofs.list.ListProofStatus
- toString() - Method in class com.exonum.binding.common.proofs.map.KeyBitSet
- toString() - Method in enum com.exonum.binding.common.proofs.map.MapProofStatus
- toString() - Method in class com.exonum.binding.core.proxy.Cleaner
-
Returns a string representation of this object, including its hash code so that this instance can be easily identified in the logs.
- toString() - Method in class com.exonum.binding.core.proxy.NativeHandle
- toString() - Method in class com.exonum.binding.core.proxy.ProxyDestructor
- toString() - Method in class com.exonum.binding.core.runtime.ReflectiveModuleSupplier
- toString() - Method in class com.exonum.binding.core.runtime.ServiceId
-
Returns a service id in the following format: "groupId:artifactId:version".
- toString() - Method in class com.exonum.binding.core.storage.indices.IndexAddress
- toString() - Method in exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Returns a string representation of this error.
- toTransaction(RawTransaction) - Method in interface com.exonum.binding.core.service.TransactionConverter
-
Converts an Exonum raw transaction to an executable transaction of some service.
- Transaction - Interface in com.exonum.binding.core.transaction
-
An Exonum transaction.
- TRANSACTION_ID_OFFSET - Static variable in interface com.exonum.binding.common.message.TransactionMessage
- TransactionContext - Interface in com.exonum.binding.core.transaction
-
Transaction context class.
- TransactionContext.Builder - Class in com.exonum.binding.core.transaction
-
Transaction context builder.
- TransactionConverter - Interface in com.exonum.binding.core.service
-
A converter of a raw Exonum transaction, which contains transaction data, into an executable transaction.
- TransactionExecutionException - Exception in com.exonum.binding.core.transaction
-
An exception occurred during transaction execution.
- TransactionExecutionException(byte) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Constructs a new transaction exception with no description.
- TransactionExecutionException(byte, String) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Constructs a new transaction exception with the specified description.
- TransactionExecutionException(byte, String, Throwable) - Constructor for exception com.exonum.binding.core.transaction.TransactionExecutionException
-
Constructs a new transaction exception with the specified description and cause.
- transactionId(short) - Method in class com.exonum.binding.common.message.TransactionMessage.Builder
-
Sets transaction identifier to the transaction message.
- transactionId(short) - Method in class com.exonum.binding.core.transaction.RawTransaction.Builder
-
Sets the identifier of the transaction within a service.
- TransactionLocation - Class in com.exonum.binding.common.blockchain
-
Transaction position in the blockchain.
- TransactionLocation() - Constructor for class com.exonum.binding.common.blockchain.TransactionLocation
- TransactionLocationSerializer - Enum in com.exonum.binding.core.blockchain.serialization
- transactionMessage() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of transaction messages.
- TransactionMessage - Interface in com.exonum.binding.common.message
-
An Exonum transaction message.
- TransactionMessage.Builder - Class in com.exonum.binding.common.message
-
Builder for the binary transaction message.
- TransactionResult - Class in com.exonum.binding.common.blockchain
-
Returns a result of the transaction execution.
- TransactionResult() - Constructor for class com.exonum.binding.common.blockchain.TransactionResult
- TransactionResult.Type - Enum in com.exonum.binding.common.blockchain
-
A type of transaction execution result.
- TransactionResultSerializer - Enum in com.exonum.binding.core.blockchain.serialization
- TransactionSubmissionException - Exception in com.exonum.binding.core.service
-
Indicates that a transaction could not be submitted.
- TransactionSubmissionException(String) - Constructor for exception com.exonum.binding.core.service.TransactionSubmissionException
- truncate(long) - Method in class com.exonum.binding.core.storage.indices.ListIndexProxy
-
Truncates the list, reducing its size to
newSize
. - TX_COUNT_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- TX_HASH_FIELD_NUMBER - Static variable in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- txMessageHash(HashCode) - Method in class com.exonum.binding.core.transaction.TransactionContext.Builder
-
Sets transaction message hash for the context.
- txRootHash(HashCode) - Method in class com.exonum.binding.core.blockchain.Block.Builder
-
Sets the Merkle root hash of the collection holding all transactions in this block.
- txsBlockLimit() - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Maximum number of transactions per block.
- txsBlockLimit(int) - Method in class com.exonum.binding.common.configuration.ConsensusConfiguration.Builder
- typeAdapter(Gson) - Static method in class com.exonum.binding.common.blockchain.TransactionLocation
-
Provides a Gson type adapter for this class.
- typeAdapter(Gson) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
-
Provides a Gson type adapter for this class.
- typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.ConsensusConfiguration
-
Provides a Gson type adapter for this class.
- typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.StoredConfiguration
-
Provides a Gson type adapter for this class.
- typeAdapter(Gson) - Static method in class com.exonum.binding.common.configuration.ValidatorKey
-
Provides a Gson type adapter for this class.
- typeAdapter(Gson) - Static method in class com.exonum.binding.core.blockchain.Block
-
Provides a Gson type adapter for this class.
U
- uint32() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of unsigned integers using variable length encoding.
- uint64() - Static method in class com.exonum.binding.common.serialization.StandardSerializers
-
Returns a serializer of unsigned longs using variable length encoding.
- UncheckedFlatMapProof - Class in com.exonum.binding.common.proofs.map
-
An unchecked flat map proof, which does not include any intermediate nodes.
- UncheckedListProof - Interface in com.exonum.binding.common.proofs.list
-
A proof that some elements exist in a proof list.
- UncheckedListProofAdapter - Class in com.exonum.binding.common.proofs.list
-
An Adapter class used to simplify work with ListProof interfaces.
- UncheckedListProofAdapter(ListProofNode, long) - Constructor for class com.exonum.binding.common.proofs.list.UncheckedListProofAdapter
-
Creates UncheckedListProofAdapter for convenient usage of ListProof interfaces.
- UncheckedMapProof - Interface in com.exonum.binding.common.proofs.map
-
An unchecked map proof.
- unencodedCharsFunnel() - Static method in class com.exonum.binding.common.hash.Funnels
-
Returns a funnel that extracts the characters from a
CharSequence
, a character at a time, without performing any encoding. - UNEXPECTED_ERROR - com.exonum.binding.common.blockchain.TransactionResult.Type
-
Indicates an unexpected error during transaction execution.
- UNEXPECTED_ERROR_STATUS_CODE - Static variable in class com.exonum.binding.common.blockchain.TransactionResult
-
The status code of transaction execution corresponding to an unexpected error during transaction execution (some unexpected runtime exception in Java, panic in Rust).
- unexpectedError(String) - Static method in class com.exonum.binding.common.blockchain.TransactionResult
-
Creates a transaction result corresponding to an unexpected error during transaction execution (some unexpected runtime exception in Java, panic in Rust).
- UserServiceAdapter - Class in com.exonum.binding.core.service.adapters
-
An adapter of a user-facing interface
Service
to an interface with a native code. - UserServiceAdapter(Service, Server, ViewFactory) - Constructor for class com.exonum.binding.core.service.adapters.UserServiceAdapter
- UserTransactionAdapter - Class in com.exonum.binding.core.service.adapters
-
An adapter of a user-facing interface
Transaction
to an interface with a native code. - UserTransactionAdapter(Transaction, ViewFactory) - Constructor for class com.exonum.binding.core.service.adapters.UserTransactionAdapter
- UtcZonedDateTimeSerializer - Enum in com.exonum.binding.time
-
ZonedDateTime serializer.
V
- VALID - com.exonum.binding.common.proofs.list.ListProofStatus
- Validator - Annotation Type in com.exonum.binding.testkit
-
Changes main TestKit node type to validator for injected TestKit.
- VALIDATOR - com.exonum.binding.testkit.EmulatedNodeType
- ValidatorCount - Annotation Type in com.exonum.binding.testkit
-
Number of validator nodes in the TestKit network, should be positive.
- ValidatorKey - Class in com.exonum.binding.common.configuration
-
Public keys of validator nodes.
- ValidatorKey() - Constructor for class com.exonum.binding.common.configuration.ValidatorKey
- ValidatorKey.Builder - Class in com.exonum.binding.common.configuration
- validatorKeys() - Method in class com.exonum.binding.common.configuration.StoredConfiguration
-
List of validators consensus and service public keys.
- validatorKeys(List<ValidatorKey>) - Method in class com.exonum.binding.common.configuration.StoredConfiguration.Builder
- value() - Method in annotation type com.exonum.binding.testkit.ValidatorCount
-
Validator count of TestKit network.
- valueOf(long, long) - Static method in class com.exonum.binding.common.blockchain.TransactionLocation
- valueOf(Snapshot, OptionalInt, long) - Static method in class com.exonum.binding.core.service.BlockCommittedEventImpl
-
Creates a new block committed event.
- valueOf(String) - Static method in enum com.exonum.binding.common.blockchain.TransactionResult.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.proofs.DbKeyCompressedFunnel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.proofs.list.ListProofStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.proofs.map.DbKey.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.common.proofs.map.MapProofStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionResultSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.core.service.adapters.ViewProxyFactory
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Creates an address of an individual index.
- valueOf(String) - Static method in enum com.exonum.binding.testkit.EmulatedNodeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.exonum.binding.time.UtcZonedDateTimeSerializer
-
Returns the enum constant of this type with the specified name.
- valueOf(String, byte[]) - Static method in class com.exonum.binding.core.storage.indices.IndexAddress
-
Creates an address of an index belonging to an index group.
- valueOf(K, V) - Static method in class com.exonum.binding.common.collect.MapEntry
-
Creates a new MapEntry from the given key and value.
- values() - Static method in enum com.exonum.binding.common.blockchain.TransactionResult.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.hash.Funnels.HashCodeFunnel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.proofs.DbKeyCompressedFunnel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.proofs.DbKeyFunnel
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.proofs.list.ListProofStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.proofs.map.DbKey.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.common.proofs.map.MapProofStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.core.blockchain.serialization.BlockSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionLocationSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.core.blockchain.serialization.TransactionResultSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.core.service.adapters.ViewProxyFactory
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in interface com.exonum.binding.core.storage.indices.MapIndex
-
Returns an iterator over the map values in lexicographical order of keys.
- values() - Method in class com.exonum.binding.core.storage.indices.MapIndexProxy
- values() - Method in class com.exonum.binding.core.storage.indices.ProofMapIndexProxy
- values() - Static method in enum com.exonum.binding.testkit.EmulatedNodeType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.exonum.binding.time.UtcZonedDateTimeSerializer
-
Returns an array containing the constants of this enum type, in the order they are declared.
- ValueSetIndexProxy<E> - Class in com.exonum.binding.core.storage.indices
-
A value set is an index that contains no duplicate elements (values).
- ValueSetIndexProxy.Entry<E> - Class in com.exonum.binding.core.storage.indices
-
An entry of a value set index: a hash-value pair.
- verify(byte[], byte[], PublicKey) - Method in interface com.exonum.binding.common.crypto.CryptoFunction
-
Given a
publicKey
, verifies thatsignature
is a valid signature for the suppliedmessage
. - View - Class in com.exonum.binding.core.storage.database
-
Represents a view of the database.
- ViewFactory - Interface in com.exonum.binding.core.service.adapters
-
A factory of views.
- ViewProxyFactory - Enum in com.exonum.binding.core.service.adapters
-
A factory of View proxies.
- visit(ListProofBranch) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
- visit(ListProofElement) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
- visit(ListProofHashNode) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
- visit(ListProofOfAbsence) - Method in interface com.exonum.binding.common.proofs.list.ListProofVisitor
W
- withNodeType(EmulatedNodeType) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Sets the type of the main TestKit node - either validator or auditor.
- withService(Class<? extends ServiceModule>) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Adds a service with which the TestKit would be instantiated.
- withServices(Class<? extends ServiceModule>, Class<? extends ServiceModule>...) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Adds services with which the TestKit would be instantiated.
- withServices(Iterable<Class<? extends ServiceModule>>) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Adds services with which the TestKit would be instantiated.
- withSnapshot(Consumer<Snapshot>) - Method in class com.exonum.binding.testkit.TestKit
-
Performs the given function with a snapshot of the current database state (i.e., the one that corresponds to the latest committed block).
- withSnapshot(Function<Snapshot, ResultT>) - Method in interface com.exonum.binding.core.service.Node
-
Performs the given function with a snapshot of the current database state.
- withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.core.service.NodeFake
- withSnapshot(Function<Snapshot, ResultT>) - Method in class com.exonum.binding.core.service.NodeProxy
-
Performs the given function with a snapshot of the current database state.
- withTimeService(TimeProvider) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
If called, will create a TestKit with time service enabled.
- withValidators(short) - Method in class com.exonum.binding.testkit.TestKit.Builder
-
Sets number of validator nodes in the TestKit network, should be positive.
- writeBytesTo(byte[], int, int) - Method in class com.exonum.binding.common.hash.HashCode
-
Copies bytes from this hash code into
dest
. - writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Block
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.Hash
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TransactionResult
- writeTo(CodedOutputStream) - Method in class com.exonum.binding.core.blockchain.serialization.CoreProtos.TxLocation
All Classes All Packages