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

feat(daemon): improve stdout on startup #10472

Merged
merged 3 commits into from
Aug 14, 2024
Merged

Commits on Aug 8, 2024

  1. feat(daemon): improve startup stdout

    It no longer makes sense to list  all listener and announced multiaddrs
    when the node starts. Modern libp2p node will have 3-4 transports
    sharign the same UDP port, and also have a very long list of
    webtransport and webrtc direct certhashes inlined in the address.
    
    This makes startup output hard to parse, and what is worse, there is no
    PeerID, making printing these addresses not very useful without calling
    'ipfs id' anyway.
    
    This change removes annouced and discovered multiaddrs from the stdout
    and replaces them with prompt to run "ipfs id".  This allows user to
    learn about public address obtained via relays or UPnP.
    
    Second change is to replace list of listeners in multiaddr form with
    simpler one, that deduplicates listeners and provides node operatior
    with useful information about opened ports in 'host:port (tcp,udp)'
    format, which is way more useful during debuging connectivity issues
    related to port forwarding etc.
    lidel committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    02fde38 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    222a403 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. chore: use + as separator

    subjective, but looks better than ,
    lidel committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    7b2d58e View commit details
    Browse the repository at this point in the history