You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/libs/seth.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -568,13 +568,17 @@ For real networks, the estimation process differs for legacy transactions and th
568
568
569
569
##### Legacy Transactions
570
570
571
+
Unless priority is set to `auto`, when we will defer to what the RPC node suggests, following logic is used:
572
+
571
573
1.**Initial Price**: Query the network node for the current suggested gas price.
572
574
2.**Priority Adjustment**: Modify the initial price based on `gas_price_estimation_tx_priority`. Higher priority increases the price to ensure faster inclusion in a block.
573
575
3.**Congestion Analysis**: Examine the last X blocks (as specified by `gas_price_estimation_blocks`) to determine network congestion, calculating the usage rate of gas in each block and giving recent blocks more weight. Disabled if `gas_price_estimation_blocks` equals `0`.
574
576
4.**Buffering**: Add a buffer to the adjusted gas price to increase transaction reliability during high congestion.
575
577
576
578
##### EIP-1559 Transactions
577
579
580
+
Unless priority is set to `auto`, when we will defer to what the RPC node suggests, following logic is used:
581
+
578
582
1.**Tip Fee Query**: Ask the node for the current recommended tip fee.
579
583
2.**Fee History Analysis**: Gather the base fee and tip history from recent blocks to establish a fee baseline.
580
584
3.**Fee Selection**: Use the greatest of the node's suggested tip or the historical average tip for upcoming calculations.
pending nonce for key %d is higher than last nonce, there are %d pending transactions.
826
830
827
831
This issue is caused by one of two things:
828
-
1. You are using the same keyNum in multiple goroutines, which is not supported. Each goroutine should use an unique keyNum.
829
-
2. You have stuck transaction(s). Speed them up by sending replacement transactions with higher gas price before continuing, otherwise future transactions most probably will also get stuck.
830
-
`
832
+
1. You are using the same keyNum in multiple goroutines, which is not supported. Each goroutine should use an unique keyNum
833
+
2. You have stuck transaction(s). Speed them up by sending replacement transactions with higher gas price before continuing, otherwise future transactions most probably will also get stuck`
0 commit comments