mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Track server and protocol version.
This commit is contained in:
21
src/Version.h
Normal file
21
src/Version.h
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
// Versions
|
||||
|
||||
#ifndef SERVER_VERSION_MAJ
|
||||
|
||||
#define SERVER_VERSION_MAJ 0
|
||||
#define SERVER_VERSION_MIN 1
|
||||
#define SERVER_VERSION_SUB "-a"
|
||||
#define SERVER_NAME "NewCoin"
|
||||
|
||||
#define SV_STRINGIZE(x) #x
|
||||
#define SERVER_VERSION \
|
||||
(SERVER_NAME "-" SV_STRINGIZE(SERVER_VERSION_MAJ) "." SV_STRINGIZE(SERVER_VERSION_MIN) SERVER_VERSION_SUB)
|
||||
|
||||
#define PROTO_VERSION_MAJ 0
|
||||
#define PROTO_VERSION_MIN 0
|
||||
|
||||
#define MIN_PROTO_MAJ 0
|
||||
#define MIN_PROTO_MIN 0
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user