Modified sashimono command checks (#172)

This commit is contained in:
Chalith Desaman
2022-08-08 16:29:41 +05:30
committed by GitHub
parent a92395a90f
commit 9e4c303d9c
7 changed files with 81 additions and 59 deletions

View File

@@ -9,8 +9,7 @@ namespace msg::json
constexpr const char *SEP_COMMA_NOQUOTE = ",\"";
constexpr const char *SEP_COLON_NOQUOTE = "\":";
constexpr const char *DOUBLE_QUOTE = "\"";
constexpr uint16_t MOMENT_SIZE = 900; // XRP ledgers per Moment.
constexpr uint16_t LEDGER_TIME_APPROX = 4000; // Approx. milliseconds per XRP ledger.
constexpr uint16_t MOMENT_SIZE = 1190; // XRP ledgers per Moment.
constexpr uint16_t INSTANCE_INFO_SIZE = 488; // Size of a single instance info
/**
* Parses a json message sent by the message board.