I am testing the Iris candidate version.
It seems that I am running and mining myself lonely
{“difficulty”:16777216,“genesis_key_block_hash”:“kh_2KhFJSdz1BwrvEWe9fFBRBpWoweoaZuTiYLWwUPh21ptuDE8UQ”,“listening”:true,“network_id”:“my_test_iris”,“node_revision”:“04816ce1a8e25e6e49319a083b18613e7c599e6c”,“node_version”:“0.0.0”,“peer_connections”:{“inbound”:0,“outbound”:0},“peer_count”:0,“peer_pubkey”:“pp_2KnQMHeTZVTQAumCUUKfzF8cPyYNXRKNPUJqsPxcBCKjE1J6Qz”,“pending_transactions_count”:0,“protocols”:[{“effective_at_height”:3,“version”:4},{“effective_at_height”:2,“version”:3},{“effective_at_height”:1,“version”:2},{“effective_at_height”:0,“version”:1}],“solutions”:0,“sync_progress”:100.0,“syncing”:false,“top_block_height”:1,“top_key_block_hash”:“kh_2qdFw8pc61sdNJSVTLunZsapiR41kUusnaNS9cNCXvxTMyYDEt”}
5 Likes
Well yes, there is no iris-testnet
that is publicly available but node operators can sync with each other. They only need to add each other in the peers
section of the aeternity.yaml
.
That you don’t find other nodes means mostly that you have not configured the peers in the yaml. The node is smart enough to differentiate between networks, so if the network id is:
-
ae_mainnet
- it automatically adds some main net nodes
-
ae_uat
- it automatically adds some testnet nodes
In any other case the node considers that this is a local test and does not add any peers by default. This is really handy if you don’t want other nodes’ states to interfere with your test So no surprise you don’t have any peers to talk to.
If someone volunteers to join your network, they could simply add those to the config like this:
peers:
- "aenode://<peer_pubkey>@<peer_address>:<peer_port>"
…where:
-
peer_pubkey
is the the peer pub key. You can get that by using the appropriate endpoint: /v3/peers/pubkey
(it was present in the old API but we should be using the new one now)
-
peer_address
is the publicly reachable IP of the host
-
peer_port
is the exposed port, by default this is 3015 on the node but there might be port forwarding in place
Have fun testing!
4 Likes
can you share your yaml config and peer information, then I can join you
5 Likes
Thanks so much, it seems fine in my local node now, and I can check the new features.
5 Likes