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: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,11 @@ The API should expose a single `/sign` endpoint:
93
93
94
94
An example implementation of the API is available [here](./examples/signer.rs).
95
95
96
+
97
+
### Tip
98
+
99
+
The transaction tip value used during submission is calculated based on the median tip value in the `latest` block. The exact value used during submission is `MAX(latest_median_tip * ${tip_boost}, ${minimum_tip})`, where `tip_boost` and `minimum_tip` can be configured using the `--tip-boost` and `--minimum-tip` CLI arguments.
100
+
96
101
## Monitoring
97
102
98
103
A metrics endpoint is provided for scraping with Prometheus. By default the endpoint is available at `http://127.0.0.1:9090/metrics`. You can use the `--metrics-address` CLI option to change this address.
let result = state.handle_new_block_header(&client, config.staker_operational_address,&signer, header.block_number, header.block_hash).await;
330
+
let result = state.handle_new_block_header(&client, config.staker_operational_address,&signer,&tip_calculation_params,header.block_number, header.block_hash).await;
0 commit comments