2019-03-18 03:54:08 +00:00
|
|
|
const
|
|
|
|
useRLPx* = not defined(withLibP2P)
|
|
|
|
|
2019-03-05 22:54:08 +00:00
|
|
|
const
|
|
|
|
versionMajor* = 0
|
|
|
|
versionMinor* = 1
|
|
|
|
versionBuild* = 10
|
|
|
|
|
|
|
|
template versionAsStr*: string =
|
|
|
|
$versionMajor & "." & $versionMinor & "." & $versionBuild
|
|
|
|
|
2019-03-18 03:54:08 +00:00
|
|
|
proc fullVersionStr*: string =
|
|
|
|
versionAsStr & (if useRLPx: " rlpx" else: " libp2p")
|