2019-03-18 05:54:08 +02:00
|
|
|
const
|
|
|
|
useRLPx* = not defined(withLibP2P)
|
|
|
|
|
2019-03-06 00:54:08 +02:00
|
|
|
const
|
|
|
|
versionMajor* = 0
|
|
|
|
versionMinor* = 1
|
|
|
|
versionBuild* = 10
|
|
|
|
|
2019-04-08 15:46:12 +03:00
|
|
|
semanticVersion* = 0
|
|
|
|
# Bump this up every time a breaking change is introduced
|
|
|
|
# Clients having different semantic versions won't be able
|
|
|
|
# to join the same testnets.
|
|
|
|
|
2019-03-06 00:54:08 +02:00
|
|
|
template versionAsStr*: string =
|
|
|
|
$versionMajor & "." & $versionMinor & "." & $versionBuild
|
|
|
|
|
2019-03-18 05:54:08 +02:00
|
|
|
proc fullVersionStr*: string =
|
|
|
|
versionAsStr & (if useRLPx: " rlpx" else: " libp2p")
|