提交 1a5a5950 编写于 作者: P Phil Mesnier

refactored connection management to allow for intellligent reconnection and...

refactored connection management to allow for intellligent reconnection and cleaned up some more todos, ref #291 and #306
上级 fbc0a1db
......@@ -21,17 +21,15 @@ namespace eos {
struct notice_message {
vector<transaction_id_type> known_trx;
vector<block_id_type> known_blocks;
};
struct request_message {
vector<transaction_id_type> req_trx;
vector<block_id_type> req_blocks;
};
struct block_summary_message {
signed_block block;
block_id_type block;
vector<transaction_id_type> trx_ids;
};
......@@ -59,8 +57,8 @@ FC_REFLECT( eos::handshake_message,
(os)(agent) )
FC_REFLECT( eos::block_summary_message, (block)(trx_ids) )
FC_REFLECT( eos::notice_message, (known_trx)(known_blocks) )
FC_REFLECT( eos::request_message, (req_trx)(req_blocks) )
FC_REFLECT( eos::notice_message, (known_trx) )
FC_REFLECT( eos::request_message, (req_trx) )
FC_REFLECT( eos::sync_request_message, (start_block)(end_block) )
/**
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册