UPDATE CARDANO NODE to 1.30.1 - FOR CNTOOLS users

3 hours? Wow…

Worked for me… Thank you.

Cardano Node - (Relay - Mainnet) : 1.30.1 [0fb43f4e] <
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Uptime: 00:28:41 β”‚ Port: 6000 β”‚ Guild LiveView v1.21.1 β”‚
β”‚------------------------└────────────┴─────────────────────────
β”‚ Epoch 293 [52.8%] (node) β”‚
β”‚ 2d 08:34:48 until epoch boundary (chain) β”‚
β”‚ β–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ–Œβ––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β––β–– β”‚
β”‚ β”‚
β”‚ Block : 6311149 Tip (ref) : 41441112 β”‚
β”‚ Slot : 228294 Tip (node) : 41441094 β”‚
β”‚ Density : 4.635 Tip (diff) : 18 :slight_smile: β”‚
β”‚--------------------------------------------------------------β”‚
β”‚ Processed TX : 0 Out / In β”‚
β”‚ Mempool TX/Bytes : 0 / 0 Peers : 16 7 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
TG Announcement/Support channel: Telegram: Contact @guild_operators_official

1 Like

Took like 10 mins to compile with 32 gig ram / 6 core ryzen processor and nvme 500 gig

1 Like

When i run $CNODE_HOME/scripts/cabal-build-all.sh i get the following

Overwriting cabal.project.local to include cardano-addresses and bech32 (previous file, if any, will be saved as cabal.project.local.swp)..
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: base-deriving-via (user goal)
[__2] rejecting: base-deriving-via-0.1.0.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, base-deriving-via => base>=4.14)
[__2] fail (backjumping, conflict set: base, base-deriving-via)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, Win32-network, base-deriving-via

Running cabal update to ensure you're on latest dependencies..
HEAD is now at 3825d3a Merge pull request #9 from input-output-hk/coot/createNamedPipe-error
HEAD is now at c33dbf2 Upgrade to cabal-3.4.0.0 (#35)
HEAD is now at 9fe7084 Merge pull request #131 from input-output-hk/paweljakubas/adp-934/add-more-validation-script-template
HEAD is now at e8a48cf Mark most libsodium calls as unsafe.
HEAD is now at 07397f0 Merge pull request #77 from input-output-hk/upgrade-to-cabal-3.4.0.0
HEAD is now at f827a4321 At PV6, translate time for Plutus correctly.
HEAD is now at fd773f7 Merge pull request #159 from input-output-hk/upgrade-to-cabal-3.4.0.0
HEAD is now at ee59880 Don't use the unsafe decodeUtf8
HEAD is now at cde90a2 Re-enable support for GHC 8.6.5
HEAD is now at edf6945 Module re-exports (#5)
HEAD is now at 808724f Merge #620
HEAD is now at 7497a29 Rename forked package
HEAD is now at aa7bc0877 Max known PV is now the Alonzo PV.
HEAD is now at edc6d4672 Merge pull request #3430 from input-output-hk/hkm/windows-cross
Downloading the latest package list from hackage.haskell.org
To revert to previous state run:
    cabal v2-update 'hackage.haskell.org,2021-09-30T18:10:18Z'
Building..
Warning: Requested index-state2021-04-30T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2021-04-29T23:07:55Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: Win32-network-0.1.0.0 (user goal)
[__1] trying: base-4.12.0.0/installed-4.12.0.0 (dependency of Win32-network)
[__2] next goal: base-deriving-via (user goal)
[__2] rejecting: base-deriving-via-0.1.0.0 (conflict:
base==4.12.0.0/installed-4.12.0.0, base-deriving-via => base>=4.14)
[__2] fail (backjumping, conflict set: base, base-deriving-via)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, Win32-network, base-deriving-via

Can the (cntools) git folder be deleted after the binaries are compiled?

I think yes, try first to rename the files/folder and test … should not be any problems… the binari files are located to /.cabal/bin

PS: perhaps it’s better to delete the cardano-node folder from inside the git folder because u will use git folder in future

1 Like

If you are running on 8GB, add a limit to your heap like this: +RTS -M7g -N4 -RTS
It will call the garbage collector more often (which is likely to cause missed slots) but it will work, especially if this is a relay (where missed slots don’t matter).

Worked Perfectly thanks Alex

1 Like

my cabal compile script seems to be stalled downloading latest package list from hackage.haskell.org ?

I appreciate the notes for the update, but the memory consumption is getting out of hand. At this rate version 1.40.0 will be like 40GB of ram. Does anyone know if there are plans to improve performance in the future? This will eventually become a project no one can just start up without significant investment.

1 Like

There will be soon versions which will use less resources, till then check these plans if you want (plan M or L)

1 Like

Hi Alex1985,

I tried to build new node on one of my relay but it always failed. Any hints how to fix it ?

Warning: Requested index-state 2021-04-30T00:00:00Z is newer than
β€˜hackage.haskell.org’! Falling back to older state (2021-04-29T23:07:55Z).
Resolving dependencies…
Build profile: -w ghc-8.10.4 -O1
…
[30 of 33] Compiling Paths_cardano_node ( /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/autogen/Paths_cardano_node.hs, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Paths_cardano_node.o, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Paths_cardano_node.dyn_o )
[31 of 33] Compiling Cardano.Node.Configuration.Logging ( src/Cardano/Node/Configuration/Logging.hs, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Node/Configuration/Logging.o, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Node/Configuration/Logging.dyn_o )
[32 of 33] Compiling Cardano.Tracing.Tracers ( src/Cardano/Tracing/Tracers.hs, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Tracing/Tracers.o, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Tracing/Tracers.dyn_o )
[33 of 33] Compiling Cardano.Node.Run ( src/Cardano/Node/Run.hs, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Node/Run.o, /home/kayada/git/cardano-node/dist-newstyle/build/x86_64-linux/ghc-8.10.4/cardano-node-1.30.1/build/Cardano/Node/Run.dyn_o )
cabal: Failed to build exe:scan-blocks from cardano-client-demo-0.1.0.0.
Failed to build exe:scan-blocks-pipelined from cardano-client-demo-0.1.0.0.

Thanks for this Alex! Great job as always. May I ask you how did you change the default title on the top left corner from β€œCardano Node” to β€œCHARITY POOL” on your gLiveView?

nano gLiveView.sh :slight_smile:

1 Like

Thanks @Alexd1985 , worked a treat!

Thanks for the update Alex. Do you know the importance of line:

echo -e β€œpackage cardano-crypto-praos\n flags: -external-libsodium-vrf” > cabal.project.local

I have the same hash from the build, 0fb43…, even without adding that line to cabal.project.local.

Thank you for all your contributions to the community!
Christo (Skepsis pool)

Nope, sorry

https://input-output-hk.github.io/ouroboros-network/cardano-crypto-praos/Cardano-Crypto-VRF-Praos.html

I am stuck with 1.30.1 upgrade.
How can I clean up my node and rebuild it ?
What files or folder to delete ?

What do u mean? Where is the problem?

Hi Alex,

I got this error message at the end after running β€œ$CNODE_HOME/scripts/cabal-build-all.sh -o”.

cabal: Failed to build exe:scan-blocks from cardano-client-demo-0.1.0.0.
Failed to build exe:scan-blocks-pipelined from cardano-client-demo-0.1.0.0.