mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
JSON message parsing for contract control messages. (#166)
This commit is contained in:
16
src/msg/controlmsg_common.hpp
Normal file
16
src/msg/controlmsg_common.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _HP_MSG_CONTROLMSG_COMMON_
|
||||
#define _HP_MSG_CONTROLMSG_COMMON_
|
||||
|
||||
#include "../pchheader.hpp"
|
||||
|
||||
namespace msg::controlmsg
|
||||
{
|
||||
// Message field names
|
||||
constexpr const char *FLD_TYPE = "type";
|
||||
|
||||
// Message types
|
||||
constexpr const char *MSGTYPE_CONTRACT_END = "contract_end";
|
||||
|
||||
} // namespace msg::controlmsg
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user