From 168fa7195142ebba6ba4fc77bf439a1cb75f6ae9 Mon Sep 17 00:00:00 2001 From: avalonche Date: Thu, 16 Mar 2023 11:14:27 +1100 Subject: [PATCH 1/2] Add validation node instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 392dcc5b93..8a4d4362eb 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,10 @@ Environment variables: BUILDER_TX_SIGNING_KEY - private key of the builder used to sign payment transaction, must be the same as the coinbase address ``` +## Block Validation + +The block validation api is exposed via the `flashbots` namespace. To enable block validation in the builder, enable the `flashbots` namespace in the http api `--http.api="engine,eth,builder,flashbots"` + ## Metrics To enable metrics on the builder you will need to enable metrics with the flags `--metrics --metrics.addr 127.0.0.1 --metrics.builder` which will run From fb37345bb657c0a58f75ed8605b3e35de6a5023d Mon Sep 17 00:00:00 2001 From: avalonche Date: Fri, 17 Mar 2023 14:24:21 +1100 Subject: [PATCH 2/2] add blocklist --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 8a4d4362eb..58995dbbfa 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,12 @@ BUILDER_TX_SIGNING_KEY - private key of the builder used to sign payment transac The block validation api is exposed via the `flashbots` namespace. To enable block validation in the builder, enable the `flashbots` namespace in the http api `--http.api="engine,eth,builder,flashbots"` +### Blacklisting + +By default the node will load blacklisted addresses from `ofac_blacklist.json` from working directory. You can specify the path to the file via `--builder.validation_blacklist`. + +The default OFAC blacklist is provided with this repository in [ofac_blacklist.json](ofac_blacklist.json). + ## Metrics To enable metrics on the builder you will need to enable metrics with the flags `--metrics --metrics.addr 127.0.0.1 --metrics.builder` which will run