ĞDev5 smiths

Done.
Stuck to block 0 now…


home_duniter_validator.1.wziabozcgh94@z68-gen3    | 2023-06-07 13:27:44 ❌ Error while dialing /dns/telemetry.polkadot.io/tcp/443/x-parity-wss/%2Fsubmit%2F: Custom { kind: Other, error: Timeout }    
home_duniter_validator.1.wziabozcgh94@z68-gen3    | 2023-06-07 13:27:49 💤 Idle (0 peers), best: #0 (0xf9bb…0dfc), finalized #0 (0xf9bb…0dfc), ⬇ 0 ⬆ 0    
home_duniter_validator.1.wziabozcgh94@z68-gen3    | 2023-06-07 13:27:54 💤 Idle (0 peers), best: #0 (0xf9bb…0dfc), finalized #0 (0xf9bb…0dfc), ⬇ 0 ⬆ 0

Is there some ports I need to open/forward on my box ?
Ports 30334, 9616 are open.

    ports:
      # Prometheus endpoint
      - 9616:9615
      # rpc via http
#      - 9933:9933
      # rpc via websocket
      - 127.0.0.1:9945:9944
      # p2p
      - 30334:30333

Do I need to do something for SSL on ngynx ?

My RPC done is doing well by the way…

[EDIT]
Added ;

  - "DUNITER_PUBLIC_ADDR=/dns/{{domain_name}}/tcp/30334"
  - DUNITER_LISTEN_ADDR=/ip4/0.0.0.0/tcp/30333

and restarted, with no luck…

I just saw it, my mini server didn’t start automatically after yesterday power outage, i will change that.
We need external monitoring with email alert or this kind of stuff.

I started from scratch a new validator node with image sha-2be3f534. A lot of endpoints are unavailable, I will publish a new image with correct bootnodes. My node is currently synchronizing: Polkadot Telemetry

Normal synchronisation is quite slow (about 50 minutes for 500,000 blocks), so I tried warp sync by adding to my docker-compose.yml:

    command:
      - "--sync=warp"

I got about 100,000 blocks in 5 minutes which is only twice as fast. Did anybody tried this synchronisation mode?

1 Like

I didn’t try. This stackexchange post says:

Warp sync - initially download the best finalized block and the whole state at this block, and finality proofs (currently from GRANDPA) for all validator set transitions from genesis up until the best finalized block. After the initial warp sync is done (and therefore the node is ready to import the latest blocks) historical blocks can be downloaded in the background.

I did my smith membership request using Ǧcli. It is on block 2,506,488.

# gcli command I used
$ gcli --network local --secret "xxx yyy zzz" smith request gdev.trentesaux.fr
transaction submitted to the network, waiting 6 seconds...
MembershipRequested(7238)

The option --network local tells Ğcli to connect to a local Duniter node, in this case a ssh bridge to my validator node with unsafe RPC unabled (for rotate keys).

# ssh bridge
ssh -NL 9944:localhost:9944 gdev.trentesaux.fr

As soon as we add the indexing of smith membership requests to the indexer, we will be able to track them in @guenoel’s monitoring tool gecko_web, and even to submit smith certs directly in this app using polkadotjs extension. (for the moment, you can see my old identity index 2457 which is hardcoded, but this is a bug of Ğdev, see ĞDev -- j'ai perdu mon identité and Sanity tests - #6 by HugoTrentesaux).

So please @smiths-GDev can you certify me? (identity number 7238)

The gcli command is:

# gcli command to certify
gcli --network gdev --secret "your secret phrase" smith cert 7238
# if I run this, I get `CannotCertifySelf`

But at the moment gcli is not released, so use polkadotjs app instead:

image

Thanks to @poka @tuxmain and @Pini I got my tree smith certs and got membership on block 2514380.

I was successfully able to go online with gcli:

$ gcli smith go-online
transaction submitted to the network, waiting 6 seconds...
MemberGoOnline(7238)
3 Likes

Salut à tous !

Bon, j’avais tenté une fois sans succès, et j’aimerais tenter une nouvelle fois d’installer un noeud.
Est-ce déjà ya un doc qq part pour comprendre le fonctionnement de duniter v2 (le fait qu’il y ait deux types de noeuds, par ex. et d’autres choses intéressantes à savoir pour faire tourner un noeud) ?

Je suis assez limité sur mon serveur infomaniak (j’ai pas réussi à installer un noeud miroir), donc je sais pas trop si je vais réussir…

Merci ! :slight_smile:

Ya un moyen d’installer docker “localement”, genre dans le home pour avoir les droits de le faire ?
Je n’ai pas vu que c’était possible sur internet, mais peut-être que des spécialistes auront une idée…

Merci !