Package com.exonum.core.messages
Interface Blockchain.ConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Blockchain.Config,Blockchain.Config.Builder
- Enclosing class:
- Blockchain
public static interface Blockchain.ConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description longgetFirstRoundTimeout()Interval between first two rounds.intgetMaxMessageLen()Maximum message length (in bytes).longgetMaxProposeTimeout()Maximal propose timeout.longgetMinProposeTimeout()Minimal propose timeout.longgetPeersTimeout()Peer exchange timeout.intgetProposeTimeoutThreshold()Amount of transactions in pool to start use `min_propose_timeout`.longgetStatusTimeout()Period of sending a Status message.intgetTxsBlockLimit()Maximum number of transactions per block.Blockchain.ValidatorKeysgetValidatorKeys(int index)List of validators public keys.intgetValidatorKeysCount()List of validators public keys.List<Blockchain.ValidatorKeys>getValidatorKeysList()List of validators public keys.Blockchain.ValidatorKeysOrBuildergetValidatorKeysOrBuilder(int index)List of validators public keys.List<? extends Blockchain.ValidatorKeysOrBuilder>getValidatorKeysOrBuilderList()List of validators public keys.Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getValidatorKeysList
List<Blockchain.ValidatorKeys> getValidatorKeysList()List of validators public keys.
repeated .exonum.ValidatorKeys validator_keys = 1; -
getValidatorKeys
List of validators public keys.
repeated .exonum.ValidatorKeys validator_keys = 1; -
getValidatorKeysCount
int getValidatorKeysCount()List of validators public keys.
repeated .exonum.ValidatorKeys validator_keys = 1; -
getValidatorKeysOrBuilderList
List<? extends Blockchain.ValidatorKeysOrBuilder> getValidatorKeysOrBuilderList()List of validators public keys.
repeated .exonum.ValidatorKeys validator_keys = 1; -
getValidatorKeysOrBuilder
List of validators public keys.
repeated .exonum.ValidatorKeys validator_keys = 1; -
getFirstRoundTimeout
long getFirstRoundTimeout()Interval between first two rounds.
uint64 first_round_timeout = 2;- Returns:
- The firstRoundTimeout.
-
getStatusTimeout
long getStatusTimeout()Period of sending a Status message.
uint64 status_timeout = 3;- Returns:
- The statusTimeout.
-
getPeersTimeout
long getPeersTimeout()Peer exchange timeout.
uint64 peers_timeout = 4;- Returns:
- The peersTimeout.
-
getTxsBlockLimit
int getTxsBlockLimit()Maximum number of transactions per block.
uint32 txs_block_limit = 5;- Returns:
- The txsBlockLimit.
-
getMaxMessageLen
int getMaxMessageLen()Maximum message length (in bytes).
uint32 max_message_len = 6;- Returns:
- The maxMessageLen.
-
getMinProposeTimeout
long getMinProposeTimeout()Minimal propose timeout.
uint64 min_propose_timeout = 7;- Returns:
- The minProposeTimeout.
-
getMaxProposeTimeout
long getMaxProposeTimeout()Maximal propose timeout.
uint64 max_propose_timeout = 8;- Returns:
- The maxProposeTimeout.
-
getProposeTimeoutThreshold
int getProposeTimeoutThreshold()Amount of transactions in pool to start use `min_propose_timeout`.
uint32 propose_timeout_threshold = 9;- Returns:
- The proposeTimeoutThreshold.
-