Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #253 from EOSIO/p2p-txnmgnt-180
Browse files Browse the repository at this point in the history
P2p txnmgnt 180
  • Loading branch information
bytemaster authored Aug 29, 2017
2 parents 31a76a1 + a7f507f commit ba749f3
Show file tree
Hide file tree
Showing 7 changed files with 250 additions and 151 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
*.wasm
*.s
*.dot

\#*
\.#*
CMakeCache.txt
CMakeFiles
cmake_install.cmake
Expand Down
1 change: 0 additions & 1 deletion plugins/net_plugin/include/eos/net_plugin/net_plugin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ namespace eos {
void plugin_shutdown();

void broadcast_block(const chain::signed_block &sb);
void broadcast_transaction (const chain::SignedTransaction &txn);

private:
std::unique_ptr<class net_plugin_impl> my;
Expand Down
4 changes: 2 additions & 2 deletions plugins/net_plugin/include/eos/net_plugin/protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace eos {
using namespace chain;
using namespace fc;

struct handshake_message {
struct handshake_message {
int16_t network_version = 0;
chain_id_type chain_id; ///< used to identify chain
fc::sha256 node_id; ///< used to identify peers and prevent self-connect
Expand Down Expand Up @@ -41,7 +41,7 @@ namespace eos {
};

struct peer_message {
vector<fc::ip::endpoint> peers;
vector<fc::sha256> peers;
};

using net_message = static_variant<handshake_message,
Expand Down
Loading

0 comments on commit ba749f3

Please sign in to comment.