mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Include hp version number on all required places. (#265)
* Adding HP version header to binary files and adding hp table to ledger.sqlite. * Updating hp_version in user challenge message. * Minor improvement.
This commit is contained in:
committed by
GitHub
parent
1eabe7db4a
commit
b45cdb999d
@@ -59,7 +59,7 @@ namespace msg::usrmsg::json
|
||||
msg += "{\"";
|
||||
msg += msg::usrmsg::FLD_HP_VERSION;
|
||||
msg += SEP_COLON;
|
||||
msg += msg::usrmsg::USER_PROTOCOL_VERSION;
|
||||
msg += conf::cfg.hp_version;
|
||||
msg += SEP_COMMA;
|
||||
msg += msg::usrmsg::FLD_TYPE;
|
||||
msg += SEP_COLON;
|
||||
|
||||
@@ -7,7 +7,6 @@ namespace msg::usrmsg
|
||||
{
|
||||
// Length of user random challenge bytes.
|
||||
constexpr size_t CHALLENGE_LEN = 16;
|
||||
constexpr const char *USER_PROTOCOL_VERSION = "0.0";
|
||||
|
||||
// Message field names
|
||||
constexpr const char *FLD_HP_VERSION = "hp_version";
|
||||
|
||||
Reference in New Issue
Block a user