Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config files are regressed & incompatible #10

Open
alandarev opened this issue Jan 12, 2025 · 1 comment
Open

config files are regressed & incompatible #10

alandarev opened this issue Jan 12, 2025 · 1 comment

Comments

@alandarev
Copy link

The [tor] section needs an update for both config_testnet.toml and config_mainnet.toml

current mainnet_asb (and testnet_asb) fails on start with a terminal error:

Error: Failed to read config file at /asb-data/config_mainnet.toml

Caused by:
    unknown field `control_port`, expected `register_hidden_service` or `hidden_service_num_intro_points`

I've had to manually dig through commits / changelog of asb repository to find that [tor] section needs to to contain next parameters now:

register_hidden_service = 0
hidden_service_num_intro_points = 10

The values I've set are uneducated, as I could not find any documentation on these.

  1. Please update config files to be up to date
  2. Add comments / description to config constants to better explain their meaning
@alandarev
Copy link
Author

P.S. It appears [tor] is not the only outdated config section:
{"timestamp":"2025-01-12T11:40:34.739984544Z","level":"WARN","fields":{"message":"Failed to listen on network interface /ip4/0.0.0.0/tcp/9940/ws: Multiaddr is not supported: /ip4/0.0.0.0/tcp/9940/ws. Consider removing it from the config."}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant