nimbus-eth2/beacon_chain/version.nim

19 lines
473 B
Nim

const
useRLPx* = not defined(withLibP2P)
const
versionMajor* = 0
versionMinor* = 2
versionBuild* = 0
semanticVersion* = 1
# Bump this up every time a breaking change is introduced
# Clients having different semantic versions won't be able
# to join the same testnets.
template versionAsStr*: string =
$versionMajor & "." & $versionMinor & "." & $versionBuild
proc fullVersionStr*: string =
versionAsStr & (if useRLPx: " rlpx" else: " libp2p")