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

Latest commit

 

History

History
35 lines (25 loc) · 1.23 KB

REP-0005.md

File metadata and controls

35 lines (25 loc) · 1.23 KB

REP-0005: Utilize EIP-1459 Node discovery via DNS

Preamble

REP-0005
Title: Utilize EIP-1459 Node discovery via DNS
Author: Ronin Core Team
Type: Networking Track
Status: Executed
Created: 2023-08-21

Motivation

Currently, we provide a list of bootnodes for a new node to join the network. The change in the list requires node operators to update their own node configuration. We want a more flexible way to update this bootnodes list in case of bootnode maintenance or migration. This can be achieved by utilizing the EIP-1495 to do node discovery via DNS protocol.

Specification

We will create and provide the new DNS tree link for node operators.

  • Saigon Testnet: enrtree://AJCNIAXQIPO55NW3QE2NUBBDMPYZDOQUCAEUS65NHQFMUUFES5KOW@saigon.nodes.roninchain.com
  • Mainnet: enrtree://AIGOFYDZH6BGVVALVJLRPHSOYJ434MPFVVQFXJDXHW5ZYORPTGKUI@nodes.roninchain.com

What do node operators need to do?

  • In the .env file
    • Delete the BOOTNODES=... line
    • Append the --discovery.dns enrtree://... at the end of RONIN_PARAMS line
  • Run docker-compose up -d

Reference

License

The content is licensed under CC0.