How to install Jormungandr Networking (macOS)

Follow

Comments

6 comments

  • Avatar
    S Viksha

    https://youtu.be/HkK3WX8IjPA

    Did in 1 min

    -1
    Comment actions Permalink
  • Avatar
    Tobias

    given config "trusted_peers" seems not to work with 0.6.0:

    % ./jormungandr --config config.yaml --genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770

    Error in the overall configuration of the node
    |-> Error while parsing the node configuration file: p2p.trusted_peers[0]: invalid type: string "/ip4/3.123.177.192/tcp/3000", expected struct TrustedPeer at line 8 column 7
    |-> p2p.trusted_peers[0]: invalid type: string "/ip4/3.123.177.192/tcp/3000", expected struct TrustedPeer at line 8 column 7

    c.f. https://input-output-hk.github.io/jormungandr/configuration/introduction.html

    ..where do I get the "id" string from?

    0
    Comment actions Permalink
  • Avatar
    Tobias

    Found out that the "trusted_peers" config now needs an id as described in the release notes under "breaking changes":

    https://github.com/input-output-hk/jormungandr/releases/tag/v0.6.0:

    Breaking changes

    For nodes who want to be publicly reachable and advertise themselves as rendezvous point (aka trusted peer), they will now need to generate a secret [...]

    For nodes who need to connect to the rendezvous points, they will need to add the public id of the trusted peer along the IP address.

    Could you please provide the public ids of the trusted peers?

    Thanks.

    0
    Comment actions Permalink
  • Avatar
    Mike Nowosielski

    When starting a node with the above .yaml config using ` jormungandr 0.6.1`

    I receive the following error:

    *
    Error in the overall configuration of the node
    |-> Error while parsing the node configuration file: p2p.trusted_peers[0]: invalid type: string "/ip4/003.123.177.192/tcp/3000", expected struct TrustedPeer at line 12 column 7
    |-> p2p.trusted_peers[0]: invalid type: string "/ip4/003.123.177.192/tcp/3000", expected struct TrustedPeer at line 12 column 7
    *

    0
    Comment actions Permalink
  • Avatar
    S Viksha

    use below will work!!!

     

    log:

      format: "plain"

      level: "info"

      output: "stderr"

    p2p:

      listen_address: "/ip4/0.0.0.0/tcp/3100"

      public_address: "/ip4/<your public ip>/tcp/3100"

      topics_of_interest:

        blocks: "normal"

        messages: "low"

      trusted_peers:

        - address: "/ip4/3.115.194.22/tcp/3000"

          id: ed25519_pk1npsal4j9p9nlfs0fsmfjyga9uqk5gcslyuvxy6pexxr0j34j83rsf98wl2

        - address: "/ip4/13.113.10.64/tcp/3000"

          id: ed25519_pk16pw2st5wgx4558c6temj8tzv0pqc37qqjpy53fstdyzwxaypveys3qcpfl

        - address: "/ip4/52.57.214.174/tcp/3000"

          id: ed25519_pk1v4cj0edgmp8f2m5gex85jglrs2ruvu4z7xgy8fvhr0ma2lmyhtyszxtejz

        - address: "/ip4/3.120.96.93/tcp/3000"

          id: ed25519_pk10gmg0zkxpuzkghxc39n3a646pdru6xc24rch987cgw7zq5pmytmszjdmvh

        - address: "/ip4/52.28.134.8/tcp/3000"

          id: ed25519_pk1unu66eej6h6uxv4j4e9crfarnm6jknmtx9eknvq5vzsqpq6a9vxqr78xrw

        - address: "/ip4/13.52.208.132/tcp/3000"

          id: ed25519_pk15ppd5xlg6tylamskqkxh4rzum26w9acph8gzg86w4dd9a88qpjms26g5q9

        - address: "/ip4/54.153.19.202/tcp/3000"

          id: ed25519_pk1j9nj2u0amlg28k27pw24hre0vtyp3ge0xhq6h9mxwqeur48u463s0crpfk

    rest:

      listen: "127.0.0.1:3101"

    storage: "/jormungandr/nodedata"

     

    • vim node-secret.yaml

    log:

      format: "plain"

      level: "info"

      output: "stderr"

    p2p:

      listen_address: "/ip4/0.0.0.0/tcp/3100"

      public_address: "/ip4/<your public ip>/tcp/3100"

      topics_of_interest:

        blocks: "normal"

        messages: "low"

      trusted_peers:

        - address: "/ip4/3.115.194.22/tcp/3000"

          id: ed25519_pk1npsal4j9p9nlfs0fsmfjyga9uqk5gcslyuvxy6pexxr0j34j83rsf98wl2

        - address: "/ip4/13.113.10.64/tcp/3000"

          id: ed25519_pk16pw2st5wgx4558c6temj8tzv0pqc37qqjpy53fstdyzwxaypveys3qcpfl

        - address: "/ip4/52.57.214.174/tcp/3000"

          id: ed25519_pk1v4cj0edgmp8f2m5gex85jglrs2ruvu4z7xgy8fvhr0ma2lmyhtyszxtejz

        - address: "/ip4/3.120.96.93/tcp/3000"

          id: ed25519_pk10gmg0zkxpuzkghxc39n3a646pdru6xc24rch987cgw7zq5pmytmszjdmvh

        - address: "/ip4/52.28.134.8/tcp/3000"

          id: ed25519_pk1unu66eej6h6uxv4j4e9crfarnm6jknmtx9eknvq5vzsqpq6a9vxqr78xrw

        - address: "/ip4/13.52.208.132/tcp/3000"

          id: ed25519_pk15ppd5xlg6tylamskqkxh4rzum26w9acph8gzg86w4dd9a88qpjms26g5q9

        - address: "/ip4/54.153.19.202/tcp/3000"

          id: ed25519_pk1j9nj2u0amlg28k27pw24hre0vtyp3ge0xhq6h9mxwqeur48u463s0crpfk

    rest:

      listen: "127.0.0.1:3101"

    storage: "/jormungandr/nodedata"

     

     

    • ./jormungandr --config ./node-config.yaml --genesis-block-hash adbdd5ede31637f6c9bad5c271eec0bc3d0cb9efb86a5b913bb55cba549d0770 -—secret /node-secret.yaml

     

     

    Test node is syncing

    ./jcli rest v0 node stats get --host "http://127.0.0.1:3101/api"

    0
    Comment actions Permalink
  • Avatar
    S Viksha

    Only 763MB ram ....

    -1
    Comment actions Permalink

Please sign in to leave a comment.