{"id":20433873,"url":"https://github.com/flashbots/rbuilder-relay-measurement","last_synced_at":"2026-05-10T17:39:05.227Z","repository":{"id":239896941,"uuid":"800504157","full_name":"flashbots/rbuilder-relay-measurement","owner":"flashbots","description":"A script to pull data for a specific block number and builder public key from the relay and compare them against those from the builder logs","archived":false,"fork":false,"pushed_at":"2024-07-26T12:00:44.000Z","size":290,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"main","last_synced_at":"2025-02-25T15:16:46.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flashbots.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-14T13:10:11.000Z","updated_at":"2024-08-16T04:19:14.000Z","dependencies_parsed_at":"2024-05-15T23:57:01.906Z","dependency_job_id":"0e2124d7-0a0b-4f63-962b-4501b6b09558","html_url":"https://github.com/flashbots/rbuilder-relay-measurement","commit_stats":null,"previous_names":["flashbots/rbuilder-relay-measurement"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Frbuilder-relay-measurement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Frbuilder-relay-measurement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Frbuilder-relay-measurement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Frbuilder-relay-measurement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flashbots","download_url":"https://codeload.github.com/flashbots/rbuilder-relay-measurement/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241976155,"owners_count":20051587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T08:22:05.732Z","updated_at":"2026-05-10T17:39:05.183Z","avatar_url":"https://github.com/flashbots.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rbuilder-relay-measurement\nA script to pull data for a specific block number and builder public key from the relay and compare them against those from the builder logs\n\n# Example for compare_builder_relay.py\n```python compare_builder_relay.py 0xa1aa1ad4f2ad89f3cd2da667259022763ce7d22f75582fc824cd6cc8c56a89edb6a922e64ab95666f4bdeb2c309052ef 19867351 builder.json```\n\n# Preparations\n1. fetch the builder logs for the specific relay and preferably filter for a specific block number (see builder.json), for example\n``` \njournalctl --since \"1 hour ago\" -u rbuilder -o cat | grep  \"\\\"relay\\\":\\\"ultrasound\\\"\" | grep \"\\\"message\\\":\\\"Block submitted to the relay successfully\\\"\" \u003e builder.json  \n```\n2. run the script with the builders pubkey, block number and the builder.json that you extracted from the previous step. \n\n# Example for compare_winenr.py\n```python compare_winner.py 0xa1aa1ad4f2ad89f3cd2da667259022763ce7d22f75582fc824cd6cc8c56a89edb6a922e64ab95666f4bdeb2c309052ef```\n\n# Example for analyse_slot.py\n```python3 analyse_slot.py 0xa1aa1ad4f2ad89f3cd2da667259022763ce7d22f75582fc824cd6cc8c56a89edb6a922e64ab95666f4bdeb2c309052ef 9085513```\n\nYou can also optionally pass a base url to specify which relay you want to fetch the data from.\nThis script will internal call the ```fetch_slot_data.py```. It will fetch the data and put them into the folder ```slot_data``` to be later used in the analysis.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Frbuilder-relay-measurement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflashbots%2Frbuilder-relay-measurement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Frbuilder-relay-measurement/lists"}