go-ethereum/light
HAOYUatHZ 8616fc2522
sync GPO changes (#954)
* feat: congestion-aware gas price oracle (#790)

* Implement functionality to reset gas price / suggested tip to minimal value when there's no congestion

* Add flags to configure congestion value and initialize gas price oracle accordingly

* Fix and add tests to make sure GPO works as expected depending on pre- or post-Curie (EIP 1559) upgrade

* Apply review suggestions

* chore: auto version bump [bot]

---------

Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>

* fix eth/gasprice/gasprice_test.go

* minor

* fix(GPO): min suggested tip cap if there's congestion to avoid filtering through `DefaultIgnorePrice` (#883)

* fix tests

* fix tests

---------

Co-authored-by: Jonas Theis <4181434+jonastheis@users.noreply.github.com>
Co-authored-by: omerfirmak <omerfirmak@users.noreply.github.com>
2024-08-01 21:41:51 +08:00
..
lightchain.go replace package name (#924) 2024-07-25 08:26:20 +08:00
lightchain_test.go replace package name (#924) 2024-07-25 08:26:20 +08:00
odr.go replace package name (#924) 2024-07-25 08:26:20 +08:00
odr_test.go replace package name (#924) 2024-07-25 08:26:20 +08:00
odr_util.go replace package name (#924) 2024-07-25 08:26:20 +08:00
postprocess.go replace package name (#924) 2024-07-25 08:26:20 +08:00
trie.go replace package name (#924) 2024-07-25 08:26:20 +08:00
trie_test.go replace package name (#924) 2024-07-25 08:26:20 +08:00
txpool.go sync GPO changes (#954) 2024-08-01 21:41:51 +08:00
txpool_test.go replace package name (#924) 2024-07-25 08:26:20 +08:00