sync log's not working as expected
diff --git a/src/sync-core.h b/src/sync-core.h
index afe5e05..998be7d 100644
--- a/src/sync-core.h
+++ b/src/sync-core.h
@@ -51,8 +51,7 @@
, const Name &localPrefix // routable name used by the local user
, const Name &syncPrefix // the prefix for the sync collection
, const StateMsgCallback &callback // callback when state change is detected
- , CcnxWrapperPtr handle
- , SchedulerPtr scheduler);
+ , CcnxWrapperPtr handle);
~SyncCore();
// some other code should call this fuction when local prefix
@@ -87,6 +86,9 @@
void
recover(const HashPtr &hash);
+ HashPtr
+ root() { return m_rootHash; }
+
protected:
void
sendSyncInterest();
@@ -120,6 +122,8 @@
Closure *m_syncClosure;
Closure *m_recoverClosure;
+ IntervalGeneratorPtr m_recoverWaitGenerator;
+
};
#endif // SYNC_CORE_H