Skip to content

Commit ac57152

Browse files
committed
Added docs to configuration options
1 parent 7e3b0bc commit ac57152

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkg/chain/ethereum/config.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,16 @@ type Config struct {
3939

4040
Account Account
4141

42+
// MiningCheckInterval is the interval in which transaction
43+
// mining status is checked. If the transaction is not mined within this
44+
// time, the gas price is increased and transaction is resubmitted.
4245
MiningCheckInterval int
4346

47+
// MaxGasPrice specifies the maximum gas price the client is
48+
// willing to pay for the transaction to be mined. The offered transaction
49+
// gas price can not be higher than the max gas price value. If the maximum
50+
// allowed gas price is reached, no further resubmission attempts are
51+
// performed.
4452
MaxGasPrice uint64
4553
}
4654

0 commit comments

Comments
 (0)