Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Allow relay parameters to be configurable on a per relay basis #40

Open
antonydenyer opened this issue Jan 23, 2023 · 0 comments
Open

Comments

@antonydenyer
Copy link

Rationale

Currently you can specify validation_blacklist which applies to all relays. This means that you can either configure your builder to either mostly work with censorious relays or completely work with censorious relays.

When you do not specify a validation_blacklist your builder may submit bad requests to censorious relays. It will continue to submit bad requests to the censorious relay until the transaction in question is removed from the mem pool.

When you do specify a validation_blacklist your builder will filter requests to open relays and will likely never be selected by an open relay.

Implementation

It's not realistic to run simulations for every relay. A simple approach could be to filter transactions just before submission to the relay. This will mean that submissions to open relays will be more profitable to validators and block builders. Whilst still serving up blocks to validators that are connected to censorious relays.

avalonche pushed a commit that referenced this issue Feb 7, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
avalonche pushed a commit that referenced this issue Mar 9, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
avalonche pushed a commit that referenced this issue Mar 15, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
avalonche pushed a commit that referenced this issue Mar 17, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
avalonche pushed a commit that referenced this issue Mar 22, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
avalonche pushed a commit that referenced this issue Jul 6, 2023
* Rework payment tx

* move env access from worker

* add builder.dry-run

* Move proposer tx from fillTransactions

* Use one flag for validation blocklist
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant