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

Commit

Permalink
not for pulling into master at this time. several fixes for synchroni…
Browse files Browse the repository at this point in the history
…zation.
  • Loading branch information
pmesnier committed Dec 15, 2017
1 parent 9e200ca commit 07a9e64
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 159 deletions.
3 changes: 3 additions & 0 deletions plugins/net_plugin/include/eos/net_plugin/protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ namespace eosio {

template<typename T>
struct select_ids {
select_ids () : mode(none),pending(0),ids() {}
id_list_modes mode;
uint32_t pending;
vector<T> ids;
Expand All @@ -110,11 +111,13 @@ namespace eosio {
using ordered_blk_ids = select_ids<block_id_type>;

struct notice_message {
notice_message () : known_trx(), known_blocks() {}
ordered_txn_ids known_trx;
ordered_blk_ids known_blocks;
};

struct request_message {
request_message () : req_trx(), req_blocks() {}
ordered_txn_ids req_trx;
ordered_blk_ids req_blocks;
};
Expand Down
Loading

0 comments on commit 07a9e64

Please sign in to comment.