Network size estimate reply; sent when "this" peer's timer has run out before receiving a valid reply from another peer. More...
Data Fields | |
struct GNUNET_MessageHeader | header |
Type: GNUNET_MESSAGE_TYPE_NSE_P2P_FLOOD. More... | |
uint32_t | hop_count |
Number of hops this message has taken so far. More... | |
struct GNUNET_CRYPTO_EccSignaturePurpose | purpose |
Purpose. More... | |
struct GNUNET_TIME_AbsoluteNBO | timestamp |
The current timestamp value (which all peers should agree on). More... | |
uint32_t | matching_bits |
Number of matching bits between the hash of timestamp and the initiator's public key. More... | |
struct GNUNET_PeerIdentity | origin |
Public key of the originator. More... | |
uint64_t | proof_of_work |
Proof of work, causing leading zeros when hashed with pkey. More... | |
struct GNUNET_CRYPTO_EddsaSignature | signature |
Signature (over range specified in purpose). More... | |
Network size estimate reply; sent when "this" peer's timer has run out before receiving a valid reply from another peer.
Definition at line 173 of file gnunet-service-nse.c.
struct GNUNET_MessageHeader GNUNET_NSE_FloodMessage::header |
Type: GNUNET_MESSAGE_TYPE_NSE_P2P_FLOOD.
Definition at line 178 of file gnunet-service-nse.c.
Referenced by setup_flood_message().
uint32_t GNUNET_NSE_FloodMessage::hop_count |
Number of hops this message has taken so far.
Definition at line 183 of file gnunet-service-nse.c.
Referenced by handle_p2p_estimate(), setup_flood_message(), and update_flood_message().
struct GNUNET_CRYPTO_EccSignaturePurpose GNUNET_NSE_FloodMessage::purpose |
Purpose.
Definition at line 188 of file gnunet-service-nse.c.
Referenced by setup_flood_message(), and verify_message_crypto().
struct GNUNET_TIME_AbsoluteNBO GNUNET_NSE_FloodMessage::timestamp |
The current timestamp value (which all peers should agree on).
Definition at line 194 of file gnunet-service-nse.c.
Referenced by handle_p2p_estimate(), setup_flood_message(), and update_flood_message().
uint32_t GNUNET_NSE_FloodMessage::matching_bits |
Number of matching bits between the hash of timestamp and the initiator's public key.
Definition at line 201 of file gnunet-service-nse.c.
Referenced by handle_p2p_estimate(), setup_flood_message(), and update_flood_message().
struct GNUNET_PeerIdentity GNUNET_NSE_FloodMessage::origin |
Public key of the originator.
Definition at line 206 of file gnunet-service-nse.c.
Referenced by handle_p2p_estimate(), setup_flood_message(), and verify_message_crypto().
uint64_t GNUNET_NSE_FloodMessage::proof_of_work |
Proof of work, causing leading zeros when hashed with pkey.
Definition at line 211 of file gnunet-service-nse.c.
Referenced by setup_flood_message(), and verify_message_crypto().
struct GNUNET_CRYPTO_EddsaSignature GNUNET_NSE_FloodMessage::signature |
Signature (over range specified in purpose).
Definition at line 216 of file gnunet-service-nse.c.
Referenced by setup_flood_message(), and verify_message_crypto().