Solving bug with interest-table
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index fe43abe..ed90655 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -586,5 +586,16 @@
   return m_state->getLeaves ().size ();
 }
 
+void
+SyncLogic::printState () const
+{
+  recursive_mutex::scoped_lock lock (m_stateMutex);
+
+  BOOST_FOREACH (const boost::shared_ptr<Sync::Leaf> leaf, m_state->getLeaves ())
+    {
+      std::cout << *leaf << std::endl;
+    }
+}
+
 
 }