Skip to content

Instantly share code, notes, and snippets.

@fuzz-ai
Created December 18, 2018 05:53
Show Gist options
  • Select an option

  • Save fuzz-ai/f7690660c47a2c3d960664942030e2f5 to your computer and use it in GitHub Desktop.

Select an option

Save fuzz-ai/f7690660c47a2c3d960664942030e2f5 to your computer and use it in GitHub Desktop.
struct hello_message
{
static const core_message_type_enum type;
std::string user_agent;
uint32_t core_protocol_version;
fc::ip::address inbound_address;
uint16_t inbound_port;
uint16_t outbound_port;
node_id_t node_public_key;
fc::ecc::compact_signature signed_shared_secret;
fc::variant_object user_data;
};
FC_REFLECT( graphene::net::hello_message, (user_agent)
(core_protocol_version)
(inbound_address)
(inbound_port)
(outbound_port)
(node_public_key)
(signed_shared_secret)
(user_data) )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment