From 1566a9474c30c9e14938bb1a1874e7e1a43ff4f1 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@lothar.com>
Date: Wed, 22 Oct 2008 01:42:37 -0700
Subject: [PATCH] immutable/filenode.py: add TODO note about the #514 monitor
 to check(), rather than going through the checker/verifier code and adding
 it, since Zooko is currently working on that code

---
 src/allmydata/immutable/filenode.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/allmydata/immutable/filenode.py b/src/allmydata/immutable/filenode.py
index 2d87a1f9..bf06cb51 100644
--- a/src/allmydata/immutable/filenode.py
+++ b/src/allmydata/immutable/filenode.py
@@ -56,6 +56,9 @@ class FileNode(ImmutableFileNode):
         return self.u.storage_index
 
     def check(self, monitor, verify=False):
+        # TODO: pass the Monitor to SimpleCHKFileChecker or
+        # SimpleCHKFileVerifier, have it call monitor.raise_if_cancelled()
+        # before sending each request.
         storage_index = self.u.storage_index
         k = self.u.needed_shares
         N = self.u.total_shares
-- 
2.45.2