mirror of
https://github.com/monero-project/monero.git
synced 2025-08-11 13:30:15 -04:00
make connection_id a string in RPC
It's sent as JSON, so raw binary is not appropriate
This commit is contained in:
parent
dc6a8014bd
commit
310b790a64
4 changed files with 8 additions and 7 deletions
|
@ -74,7 +74,7 @@ namespace cryptonote
|
|||
|
||||
uint32_t support_flags;
|
||||
|
||||
boost::uuids::uuid connection_id;
|
||||
std::string connection_id;
|
||||
|
||||
uint64_t height;
|
||||
|
||||
|
@ -98,7 +98,7 @@ namespace cryptonote
|
|||
KV_SERIALIZE(avg_upload)
|
||||
KV_SERIALIZE(current_upload)
|
||||
KV_SERIALIZE(support_flags)
|
||||
KV_SERIALIZE_VAL_POD_AS_BLOB(connection_id)
|
||||
KV_SERIALIZE(connection_id)
|
||||
KV_SERIALIZE(height)
|
||||
END_KV_SERIALIZE_MAP()
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue