nimbus-eth2/beacon_chain/version.nim

14 lines
292 B
Nim
Raw Normal View History

const
useRLPx* = not defined(withLibP2P)
const
versionMajor* = 0
versionMinor* = 1
versionBuild* = 10
template versionAsStr*: string =
$versionMajor & "." & $versionMinor & "." & $versionBuild
proc fullVersionStr*: string =
versionAsStr & (if useRLPx: " rlpx" else: " libp2p")