Some adjustments

This commit is contained in:
MoneroOcean
2018-03-24 22:35:29 +01:00
parent 51fb2361ec
commit ef1912684b
3 changed files with 81 additions and 34 deletions

View File

@@ -547,6 +547,21 @@ namespace cryptonote
END_KV_SERIALIZE_MAP()
};
struct integrated_address {
account_public_address adr;
crypto::hash8 payment_id;
BEGIN_SERIALIZE_OBJECT()
FIELD(adr)
FIELD(payment_id)
END_SERIALIZE()
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(adr)
KV_SERIALIZE(payment_id)
END_KV_SERIALIZE_MAP()
};
struct keypair
{
crypto::public_key pub;