Class FixedPricingMode.FixedPricingModeBuilder

  • Enclosing class:
    FixedPricingMode

    public static class FixedPricingMode.FixedPricingModeBuilder
    extends java.lang.Object
    • Method Detail

      • additionalComputationFactor

        public FixedPricingMode.FixedPricingModeBuilder additionalComputationFactor​(int additionalComputationFactor)
        User-specified additional computation factor (minimum 0). If "0" is provided, no additional logic is applied to the computation limit. Each value above "0" tells the node that it needs to treat the transaction as if it uses more gas than it's serialized size indicates. Each "1" will increase the "wasm lane" size bucket for this transaction by 1. So if the size of the transaction indicates bucket "0" and "additional_computation_factor = 2", the transaction will be treated as a "2".
        Returns:
        this.
      • gasPriceTolerance

        public FixedPricingMode.FixedPricingModeBuilder gasPriceTolerance​(int gasPriceTolerance)
        User-specified gas_price tolerance (minimum 1). This is interpreted to mean "do not include this transaction in a block if the current gas price is greater than this number"
        Returns:
        this.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object