mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-06-05 09:46:57 +00:00
Hotpocket version changes (#336)
This commit is contained in:
@@ -155,7 +155,8 @@ int main(int argc, char **argv)
|
||||
if (conf::ctx.command == "version")
|
||||
{
|
||||
// Print the version
|
||||
std::cout << "HotPocket " << version::HP_VERSION << " (ledger version " << version::LEDGER_VERSION << ")" << std::endl;
|
||||
std::cout << version::HP_VERSION << " \nLedger version: " << version::LEDGER_VERSION << "\n";
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
namespace version
|
||||
{
|
||||
// Hot Pocket version. Written to new configs and p2p/user messages.
|
||||
constexpr const char *HP_VERSION = "1.0.0";
|
||||
constexpr const char *HP_VERSION = "0.5.0";
|
||||
|
||||
// Minimum compatible config version (this will be used to validate configs).
|
||||
constexpr const char *MIN_CONFIG_VERSION = "1.0.0";
|
||||
constexpr const char *MIN_CONFIG_VERSION = "0.5.0";
|
||||
|
||||
// Ledger file storage version. All nodes in a cluster MUST use the same ledger version.
|
||||
constexpr const char *LEDGER_VERSION = "1.0.0";
|
||||
constexpr const char *LEDGER_VERSION = "0.5.0";
|
||||
|
||||
// Version header size in bytes when serialized in binary format. (applies to hp version as well as ledger version)
|
||||
// 2 bytes each for 3 version components. 2 bytes reserved.
|
||||
|
||||
Reference in New Issue
Block a user