summaryrefslogtreecommitdiff
path: root/src/network.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2022-04-29 23:41:53 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2022-04-29 23:41:53 +0200
commit92564f487083e5be8f6c704521b74851a6cdeaf9 (patch)
tree0c7494d004065f6d816bdf14ef5f35c0d064a362 /src/network.h
parent8b180ffd0551831931cdb61c925987f9014adad8 (diff)
Network: process and acknowledge identity updates
Diffstat (limited to 'src/network.h')
-rw-r--r--src/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network.h b/src/network.h
index 40c06bf..8e99df1 100644
--- a/src/network.h
+++ b/src/network.h
@@ -45,6 +45,7 @@ struct Server::Peer
variant<monostate,
shared_ptr<struct WaitingRef>,
Identity> identity;
+ vector<shared_ptr<WaitingRef>> identityUpdates;
variant<monostate,
Stored<ChannelRequest>,
@@ -133,6 +134,7 @@ struct WaitingRef
const Server::Peer & peer;
vector<Digest> missing;
+ optional<Ref> check();
optional<Ref> check(ReplyBuilder &);
};