From 0bfe7b10bb024cf45bf244a9af6874ff99620e28 Mon Sep 17 00:00:00 2001 From: zah Date: Tue, 14 Jun 2022 14:53:58 +0300 Subject: [PATCH] Support displaying the version number in the status bar; Implements #2959 (#3747) --- beacon_chain/nimbus_beacon_node.nim | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index aef4ae0bf..ec1ce8223 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1568,6 +1568,12 @@ when not defined(windows): # The status bar feature would allow the user to specify an # arbitrary expression that is resolvable through this API. case expr.toLowerAscii + of "version": + versionAsStr + + of "full_version": + fullVersionStr + of "connected_peers": $(node.connectedPeersCount)