commit | 05de64af9b2b6ff25d853d38ec7c99ec4aad6120 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Jan 14 15:48:23 2013 -0800 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Mon Jan 14 15:51:52 2013 -0800 |
tree | 1899e65bf9b720456fd5b51dd1a893cf457ac3af | |
parent | e29616f635a2aa9d3e8e83d5d29c8694a9edfb15 [diff] [blame] |
use two db for two SyncCore
diff --git a/src/sync-core.cc b/src/sync-core.cc index e37a367..4486532 100644 --- a/src/sync-core.cc +++ b/src/sync-core.cc
@@ -87,6 +87,9 @@ HashPtr oldHash = m_rootHash; m_rootHash = m_log.RememberStateInStateLog(); + cout << "Old hash: " << *oldHash << endl; + cout << "New hash: " << *m_rootHash << endl; + SyncStateMsgPtr msg = m_log.FindStateDifferences(*oldHash, *m_rootHash); // reply sync Interest with oldHash as last component