Skip to content
Snippets Groups Projects
  1. Jan 27, 2023
  2. Jan 19, 2023
    • Gilles Filippini's avatar
      docker: update docker-compose files · bca46fcd
      Gilles Filippini authored
      Using websocket address form (tcp/30333/ws) for the RPC node and TCP
      form (tcp/30333) for the validator node, because as explained in the
      node-template / substrate documentation [1], the default listen
      addresses are:
      * /ip4/0.0.0.0/tcp/<port> and /ip6/[::]/tcp/<port> when using --validator
      * /ip4/0.0.0.0/tcp/<port>/ws and /ip6/[::]/tcp/<port>/ws otherwise.
      
      [1] https://docs.substrate.io/reference/command-line-tools/node-template/
      
      The argument of the '--public-addr' duniter option should not feature the
      p2p endpoint part '/p2p/<PEER_ID>'. Duniter adds it automatically.
      
      For example, when using:
        --public-addr /dns/gdev.example.com/tcp/30333/ws
      you'll see this in the logs:
        Discovered new external address for our node:
          /dns/gdev.example.com/tcp/30333/ws/p2p/<PEER_ID>
      
      When using:
        --public-addr /dns/gdev.example.com/tcp/30333/ws/p2p/<PEER_ID>
      you'll see:
        Discovered new external address for our node:
          /dns/gdev.example.com/tcp/30333/ws/p2p/<PEER_ID>/p2p/<PEER_ID>
      which is erroneous obviously.
      bca46fcd
  3. Jun 01, 2022
  4. May 27, 2022
  5. May 15, 2022
  6. May 14, 2022
  7. Apr 17, 2022
  8. Feb 13, 2022
  9. Jan 30, 2022
  10. Jan 28, 2022
Loading