github.com/DxChainNetwork/dxc@v0.8.1-0.20220824085222-1162e304b6e7/eth/gasprice/config.go (about)

     1  package gasprice
     2  
     3  type PredConfig struct {
     4  	PredictIntervalSecs int
     5  	MinTxCntPerBlock    int // minimum tx cnt per block for caculations.
     6  	FastFactor          int // how many times of avgTxCnt for the fast index
     7  	MedianFactor        int // how many times of avgTxCnt for the median index
     8  	LowFactor           int // how many times of avgTxCnt for the low index
     9  	MinMedianIndex      int // min index in all pending transactions for median price
    10  	MinLowIndex         int // min index in all pending transactions for low price
    11  
    12  	FastPercentile   int //fast percentile for the case there are no many pending transactions
    13  	MeidanPercentile int
    14  
    15  	MaxValidPendingSecs int
    16  }