Class Config


  • public class Config
    extends Object
    The configuration of a node.
    • Field Detail

      • dir

        public final Path dir
        The directory where the node's data will be persisted. It defaults to chain in the current directory.
      • maxPollingAttempts

        public final int maxPollingAttempts
        The maximal number of polling attempts, in milliseconds, while waiting for the result of a posted transaction. It defaults to 60.
      • pollingDelay

        public final int pollingDelay
        The delay of two subsequent polling attempts, in milliseconds, while waiting for the result of a posted transaction. This delay is then increased by 10% at each subsequent attempt. It defaults to 10.
      • maxGasPerViewTransaction

        public final BigInteger maxGasPerViewTransaction
        The maximal amount of gas that a view transaction can consume. It defaults to 100_000_000.
    • Constructor Detail

      • Config

        protected Config​(Config parent)
        Copy-constructor for subclassing.