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

moving pr 1743 to node 8.9.1 #1747

Merged
merged 38 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
dde73fa
Update configs and node version support for 8.9.0
rdlrt Mar 18, 2024
7440693
Merge branch 'alpha' into node-8.9.0
rdlrt Mar 27, 2024
7cda578
Node 8.9.0 hotfix (#1745)
spowser Apr 1, 2024
3098444
Merge pull request #5 from cardano-community/node-8.9.0
Fuma419 Apr 8, 2024
6faa663
grabbing cncli release from cardano-community
Apr 8, 2024
537712a
adding debug verbosity to cfg file download
Apr 8, 2024
06c1f53
adding ability to pass an test custom branches in docker image
Apr 9, 2024
22ab9b1
bumping version to 8.9.1 in guild deploy
Apr 9, 2024
97fbbd5
bumping version to 8.9.1 in node-deps
Apr 9, 2024
c3b6a7e
bumping version to 8.9.1 in node-deps
Apr 9, 2024
7303cca
Use strip-components argument and remove 'bin/' folder creation
rdlrt Apr 9, 2024
852c1bf
removing debug code
Apr 9, 2024
3f56199
removing debug code
Fuma419 Apr 9, 2024
415a84f
Merge pull request #6 from Fuma419/node-8.9.0
Fuma419 Apr 9, 2024
d2d9d9c
Merge remote-tracking branch 'upstream/node-8.9.0' into testing/node-…
Fuma419 Apr 9, 2024
1cd58dd
Removing duplicate jq install.
Fuma419 Apr 10, 2024
986a091
Update guild-deploy.sh
Fuma419 Apr 10, 2024
ff616e1
Revert "Update guild-deploy.sh"
Fuma419 Apr 12, 2024
73d70b7
Update files/docker/node/dockerfile_bin
Fuma419 Apr 18, 2024
187c438
Update files/docker/node/dockerfile_bin
Fuma419 Apr 18, 2024
35324fa
Merge remote-tracking branch 'origin/alpha' into testing/node-8.9.1
Fuma419 Apr 18, 2024
339c127
Merge branch 'alpha' into testing/node-8.9.1
Fuma419 Apr 21, 2024
99e09f2
bomping node-deps.json node version to 8.9.2
Fuma419 Apr 21, 2024
73e2d0b
Update env version check to 8.9.2
Fuma419 Apr 21, 2024
9f8894b
workflow will dynamicly assifg G_ACCOUNT if it is from a fork
Apr 21, 2024
82dfc8a
forks now detected in the premerge workflow. tested locally on upstre…
Apr 21, 2024
f20afe8
more fork handling changes
Apr 22, 2024
11cd481
docker push should not try to target the fork account only during a m…
Apr 22, 2024
6fda972
Hard cading REPO_OWNER to be cardano-coomunity
Apr 22, 2024
15e9903
Revert "Hard cading REPO_OWNER to be cardano-coomunity"
Fuma419 Apr 22, 2024
e6d92dc
Revert "docker push should not try to target the fork account only du…
Fuma419 Apr 22, 2024
624f305
moving to a simpler solution. leaving G_ACcOUNT and tag untouched. na…
Fuma419 Apr 22, 2024
a20c364
small bugfix. leaving G_ACCOUNT untouched.
Apr 22, 2024
e24ffc9
eliminating the REPO_OWNER var. redundent
Apr 22, 2024
1af3636
bug bix.
Fuma419 Apr 22, 2024
3c1dcf4
applying the same fork support tp rockey build
Apr 22, 2024
45a5344
testing with jq dep in rocky
Apr 22, 2024
f84dc26
syntax err that was caught in ci
Apr 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 36 additions & 8 deletions docs/Build/node-cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,11 @@ This file contains the logging configurations (tracers of to tune logging, paths
2. files/topology.json :
This file tells your node how to connect to other nodes (especially initially to start synching). You would want to update this file as below:

* Update the `localRoots` > `accessPoints` section to include your local nodes that you want persistent connection against (eg: this could be your BP and own relay nodes).
* Update the `localRoots` > `accessPoints` section to include your local nodes that you want persistent connection against (eg: this could be your BP and own relay nodes) against definition where `trustable` is set to `true`.
* You'd want to update `localRoots` > `valency` to number of connections from your localRoots that you always want to keep active connection to.
* [Optional] - you can add/remove nodes from `publicRoots` section, tho defaults populated should work fine. On mainnet, we did add a few additional nodes to help add more redundancy for initial sync - should IO/Emurgo decide to change DNS entries of their nodes.
* `useLedgerAfterSlot` tells the node to establish networking with nodes from localRoots/publicRoots to sync the node initially until reaching an absolute slot number, after which - it can start attempting to connect to peers registered as pool relays on the network. You may want this number to be relatively recent (eg: not hace it 50 epochs old)
* [Optional] - you can add/remove nodes from `publicRoots` section as well as `localRoots` > `accessPoints` as desired, tho defaults populated should work fine. On mainnet, we did add a few additional nodes to help add more redundancy for initial sync.
* `useLedgerAfterSlot` tells the node to establish networking with nodes from defined peers to sync the node initially until reaching an absolute slot number, after which - it can start attempting to connect to peers registered as pool relays on the network. You may want this number to be relatively recent (eg: not have it 50 epochs old).
* You can read further about topology file configuration [here](https://github.com/input-output-hk/cardano-node-wiki/blob/main/docs/getting-started/understanding-config-files.md#the-p2p-topologyjson-file)

!!! important
You'd want to set `useLedgerAfterSlot` to `-1` for your Block Producing (Core) node - thereby, telling your Core node to remain in non-P2P mode.
Expand All @@ -108,26 +109,53 @@ The resultant topology file could look something like below:

``` json
{
"bootstrapPeers": [
{
"address": "backbone.cardano.iog.io",
"port": 3001
},
{
"address": "backbone.mainnet.emurgornd.com",
"port": 3001
}
],
"localRoots": [
{
"accessPoints": [
{"address": "xx.xx.xx.xx", "port": 6000 },
{"address": "xx.xx.xx.yy", "port": 6000 }
],
"advertise": false,
"trustable": true,
"valency": 2
},
{
"accessPoints": [
{"address": "node-dus.poolunder.com", "port": 6900, "pool": "UNDR", "location": "EU/DE/Dusseldorf" },
{"address": "node-syd.poolunder.com", "port": 6900, "pool": "UNDR", "location": "OC/AU/Sydney" },
{"address": "194.36.145.157", "port": 6000, "pool": "RDLRT", "location": "EU/DE/Baden" },
{"address": "152.53.18.60", "port": 6000, "pool": "RDLRT", "location": "NA/US/StLouis" },
{"address": "148.72.153.168", "port": 16000, "pool": "AAA", "location": "US/StLouis" },
{"address": "78.47.99.41", "port": 6000, "pool": "AAA", "location": "EU/DE/Nuremberg" },
{"address": "relay1-pub.ahlnet.nu", "port": 2111, "pool": "AHL", "location": "EU/SE/Malmo" },
{"address": "relay2-pub.ahlnet.nu", "port": 2111, "pool": "AHL", "location": "EU/SE/Malmo" },
{"address": "relay1.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Milan" },
{"address": "relay2.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Bozlano" },
{"address": "relay3.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Bozlano" }
],
"advertise": false,
"trustable": false,
"valency": 5,
"warmValency": 10
}
],
"publicRoots": [
{
"accessPoints": [
{"address": "...", "port": 3001 },
{"address": "...", "port": 6000 }
],
"accessPoints": [],
"advertise": false
}
],
"useLedgerAfterSlot": 67067585
"useLedgerAfterSlot": 119160667
}
```

Expand Down
31 changes: 16 additions & 15 deletions files/configs/guild/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"poolVotingThresholds": {
"pvtCommitteeNormal": 0.51,
"pvtCommitteeNoConfidence": 0.51,
"pvtHardForkInitiation": 0.51,
"pvtMotionNoConfidence": 0.51
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
},
"dRepVotingThresholds": {
"dvtMotionNoConfidence": 0.51,
"dvtCommitteeNormal": 0.51,
"dvtCommitteeNoConfidence": 0.51,
"dvtUpdateToConstitution": 0.51,
"dvtHardForkInitiation": 0.51,
"dvtPPNetworkGroup": 0.51,
"dvtPPEconomicGroup": 0.51,
"dvtPPTechnicalGroup": 0.51,
"dvtPPGovGroup": 0.51,
"dvtTreasuryWithdrawal": 0.51
"motionNoConfidence": 0.51,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"updateToConstitution": 0.51,
"hardForkInitiation": 0.51,
"ppNetworkGroup": 0.51,
"ppEconomicGroup": 0.51,
"ppTechnicalGroup": 0.51,
"ppGovGroup": 0.51,
"treasuryWithdrawal": 0.51
},
"committeeMinSize": 0,
"committeeMaxTermLength": 200,
Expand All @@ -34,4 +35,4 @@
},
"quorum": 0
}
}
}
41 changes: 21 additions & 20 deletions files/configs/mainnet/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{
"poolVotingThresholds": {
"pvtCommitteeNormal": 0.51,
"pvtCommitteeNoConfidence": 0.51,
"pvtHardForkInitiation": 0.51,
"pvtMotionNoConfidence": 0.51
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
},
"dRepVotingThresholds": {
"dvtMotionNoConfidence": 0.51,
"dvtCommitteeNormal": 0.51,
"dvtCommitteeNoConfidence": 0.51,
"dvtUpdateToConstitution": 0.51,
"dvtHardForkInitiation": 0.51,
"dvtPPNetworkGroup": 0.51,
"dvtPPEconomicGroup": 0.51,
"dvtPPTechnicalGroup": 0.51,
"dvtPPGovGroup": 0.51,
"dvtTreasuryWithdrawal": 0.51
"motionNoConfidence": 0.51,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"updateToConstitution": 0.51,
"hardForkInitiation": 0.51,
"ppNetworkGroup": 0.51,
"ppEconomicGroup": 0.51,
"ppTechnicalGroup": 0.51,
"ppGovGroup": 0.51,
"treasuryWithdrawal": 0.51
},
"committeeMinSize": 0,
"committeeMaxTermLength": 60,
"govActionLifetime": 14,
"govActionDeposit": 0,
"dRepDeposit": 0,
"dRepActivity": 0,
"committeeMaxTermLength": 200,
"govActionLifetime": 10,
"govActionDeposit": 1000000000,
"dRepDeposit": 2000000,
"dRepActivity": 20,
"constitution": {
"anchor": {
"url": "",
Expand All @@ -34,4 +35,4 @@
},
"quorum": 0
}
}
}
38 changes: 25 additions & 13 deletions files/configs/mainnet/topology.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,51 @@
{
"bootstrapPeers": [
{
"address": "backbone.cardano.iog.io",
"port": 3001
},
{
"address": "backbone.mainnet.emurgornd.com",
"port": 3001
}
],
"localRoots": [
{
"accessPoints": [
{"address": "127.0.0.1", "port": 6000, "description": "replace-this-with-BP"},
{"address": "127.0.0.1", "port": 6001, "description": "replace-this-with-relay"}
],
"advertise": false,
"trustable": true,
"valency_INFO": "set the .localRoots.valency to the number of configured accessPoints",
"valency": 2
}
],
"publicRoots": [
},
{
"accessPoints": [
{"address": "backbone.cardano-mainnet.iohk.io", "port": 3001, "location": "various" },
{"address": "backbone.cardano.iog.io", "port": 3001, "location": "various" },
{"address": "backbone.mainnet.emurgornd.com", "port": 3001, "location": "various" },
{"address": "node-dus.poolunder.com", "port": 6900, "pool": "UNDR", "location": "EU/DE/Dusseldorf" },
{"address": "node-syd.poolunder.com", "port": 6900, "pool": "UNDR", "location": "OC/AU/Sydney" },
{"address": "194.36.145.157", "port": 6000, "pool": "RDLRT", "location": "EU/DE/Baden" },
{"address": "89.58.43.194", "port": 6000, "pool": "RDLRT", "location": "NA/US/StLouis" },
{"address": "148.72.153.168", "port": 16000, "pool": "AAA", "location": "US/StLouis" },
{"address": "152.53.18.60", "port": 6000, "pool": "RDLRT", "location": "NA/US/StLouis" },
{"address": "148.72.153.168", "port": 16000, "pool": "AAA", "location": "US/StLouis" },
{"address": "78.47.99.41", "port": 6000, "pool": "AAA", "location": "EU/DE/Nuremberg" },
{"address": "relay1-pub.ahlnet.nu", "port": 2111, "pool": "AHL", "location": "EU/SE/Malmo" },
{"address": "relay2-pub.ahlnet.nu", "port": 2111, "pool": "AHL", "location": "EU/SE/Malmo" },
{"address": "relay1.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Milan" },
{"address": "relay2.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Bozlano" },
{"address": "relay3.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Bozlano" },
{"address": "164.90.197.139", "port": 6000, "name": "EDEN", "location": "EU/NL/Amsterdam" },
{"address": "128.199.187.2", "port": 6000, "name": "EDEN", "location": "AS/SG/Singapore" },
{"address": "198.199.70.70", "port": 6000, "name": "EDEN", "location": "NA/US/NorthBergen" }
{"address": "relay3.clio.one", "port": 6010, "pool": "CLIO", "location": "EU/IT/Bozlano" }
],
"advertise": false,
"trustable": false,
"valency": 5,
"warmValency": 10
}
],
"publicRoots": [
{
"accessPoints": [],
"advertise": false
}
],
"useLedgerAfterSlot_INFO": "the node will use the .publicRoots.accessPoints only until he synchronised up to slot .useLedgerAfterSlot. then P2P peering jumps in, plus static links to .localRoots.accessPoints",
"useLedgerAfterSlot": 114590908
"useLedgerAfterSlot": 119160667
}
31 changes: 16 additions & 15 deletions files/configs/preprod/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"poolVotingThresholds": {
"pvtCommitteeNormal": 0.51,
"pvtCommitteeNoConfidence": 0.51,
"pvtHardForkInitiation": 0.51,
"pvtMotionNoConfidence": 0.51
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
},
"dRepVotingThresholds": {
"dvtMotionNoConfidence": 0.51,
"dvtCommitteeNormal": 0.51,
"dvtCommitteeNoConfidence": 0.51,
"dvtUpdateToConstitution": 0.51,
"dvtHardForkInitiation": 0.51,
"dvtPPNetworkGroup": 0.51,
"dvtPPEconomicGroup": 0.51,
"dvtPPTechnicalGroup": 0.51,
"dvtPPGovGroup": 0.51,
"dvtTreasuryWithdrawal": 0.51
"motionNoConfidence": 0.51,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"updateToConstitution": 0.51,
"hardForkInitiation": 0.51,
"ppNetworkGroup": 0.51,
"ppEconomicGroup": 0.51,
"ppTechnicalGroup": 0.51,
"ppGovGroup": 0.51,
"treasuryWithdrawal": 0.51
},
"committeeMinSize": 0,
"committeeMaxTermLength": 200,
Expand All @@ -34,4 +35,4 @@
},
"quorum": 0
}
}
}
27 changes: 22 additions & 5 deletions files/configs/preprod/topology.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,38 @@
{
"bootstrapPeers": [
{
"address": "preprod-node.play.dev.cardano.org",
"port": 3001
}
],
"localRoots": [
{
"accessPoints": [
{"address": "127.0.0.1", "port": 6000, "description": "replace-this-with-BP"},
{"address": "127.0.0.1", "port": 6001, "description": "replace-this-with-relay"}
],
"advertise": false,
"valency": 1
"trustable": true,
"valency": 2
},
{
"accessPoints": [
{"address": "preprod-test.ahlnet.nu", "port": 2101, "pool": "AHL"},
{"address": "154.12.248.114", "port": 6000, "pool": "HOM1"},
{"address": "tn-preprod.psilobyte.io", "port": 4101, "pool": "PSBT"},
{"address": "209.145.50.190", "port": 18000, "pool": "RDLRT"}
],
"advertise": false,
"trustable": false,
"valency": 2,
"warmValency": 3
}
],
"publicRoots": [
{
"accessPoints": [
{"address": "preprod-node.play.dev.cardano.org", "port": 3001}
],
"accessPoints": [],
"advertise": false
}
],
"useLedgerAfterSlot": 42855241
"useLedgerAfterSlot": 55043150
}
31 changes: 16 additions & 15 deletions files/configs/preview/conway-genesis.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"poolVotingThresholds": {
"pvtCommitteeNormal": 0.51,
"pvtCommitteeNoConfidence": 0.51,
"pvtHardForkInitiation": 0.51,
"pvtMotionNoConfidence": 0.51
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"hardForkInitiation": 0.51,
"motionNoConfidence": 0.51,
"ppSecurityGroup": 0.51
},
"dRepVotingThresholds": {
"dvtMotionNoConfidence": 0.51,
"dvtCommitteeNormal": 0.51,
"dvtCommitteeNoConfidence": 0.51,
"dvtUpdateToConstitution": 0.51,
"dvtHardForkInitiation": 0.51,
"dvtPPNetworkGroup": 0.51,
"dvtPPEconomicGroup": 0.51,
"dvtPPTechnicalGroup": 0.51,
"dvtPPGovGroup": 0.51,
"dvtTreasuryWithdrawal": 0.51
"motionNoConfidence": 0.51,
"committeeNormal": 0.51,
"committeeNoConfidence": 0.51,
"updateToConstitution": 0.51,
"hardForkInitiation": 0.51,
"ppNetworkGroup": 0.51,
"ppEconomicGroup": 0.51,
"ppTechnicalGroup": 0.51,
"ppGovGroup": 0.51,
"treasuryWithdrawal": 0.51
},
"committeeMinSize": 0,
"committeeMaxTermLength": 200,
Expand All @@ -34,4 +35,4 @@
},
"quorum": 0
}
}
}
Loading
Loading