/*
This file is part of GNUnet
- (C) 2012-2013 Christian Grothoff (and other contributing authors)
+ Copyright (C) 2012-2013 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
***********************************************************************/
/**
- * P2P Message to push own ID to other peer.
+ * P2P Message to send PeerIDs to other peer.
*/
-struct GNUNET_RPS_P2P_PushMessage
+struct GNUNET_RPS_P2P_PullReplyMessage
{
/**
* Header including size and type in NBO
*/
struct GNUNET_MessageHeader header;
- /**
- * TODO Proof of work
+ /**
+ * Number of PeerIDs sent
*/
- uint64_t placeholder;
+ uint32_t num_peers GNUNET_PACKED;
+
+ /* Followed by num_peers * GNUNET_PeerIdentity */
};
struct GNUNET_RPS_CS_ReplyMessage
{
/**
- * Type is #GNUNET_MESSAGE_TYPE_RPS_REPLY.
+ * Type is #GNUNET_MESSAGE_TYPE_RPS_CS_REPLY.
*/
struct GNUNET_MessageHeader header;