Package com.exonum.messages.core
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 long
getFirstRoundTimeout()
Interval between first two rounds.int
getMaxMessageLen()
Maximum message length (in bytes).long
getMaxProposeTimeout()
Maximal propose timeout.long
getMinProposeTimeout()
Minimal propose timeout.long
getPeersTimeout()
Peer exchange timeout.int
getProposeTimeoutThreshold()
Amount of transactions in pool to start use `min_propose_timeout`.long
getStatusTimeout()
Period of sending a Status message.int
getTxsBlockLimit()
Maximum number of transactions per block.Blockchain.ValidatorKeys
getValidatorKeys(int index)
List of validators public keys.int
getValidatorKeysCount()
List of validators public keys.java.util.List<Blockchain.ValidatorKeys>
getValidatorKeysList()
List of validators public keys.Blockchain.ValidatorKeysOrBuilder
getValidatorKeysOrBuilder(int index)
List of validators public keys.java.util.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
java.util.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
java.util.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.
-