From 63bec73885733b5fbade73eabb73f2f318dd3a3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Tue, 10 Jan 2017 14:24:42 -0500
Subject: [PATCH] default types: make TrustRequest a map, add confirm field

---
 include/opendht/default_types.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/opendht/default_types.h b/include/opendht/default_types.h
index b25e7ff6..a9d959e4 100644
--- a/include/opendht/default_types.h
+++ b/include/opendht/default_types.h
@@ -149,7 +149,8 @@ public:
 
     std::string service;
     Blob payload;
-    MSGPACK_DEFINE(service, payload)
+    bool confirm {false};
+    MSGPACK_DEFINE_MAP(service, payload, confirm)
 };
 
 class OPENDHT_PUBLIC IceCandidates : public EncryptedValue<IceCandidates>
-- 
GitLab