equal
deleted
inserted
replaced
339 cachekey = [hex(self.tipnode), '%d' % self.tiprev] |
339 cachekey = [hex(self.tipnode), '%d' % self.tiprev] |
340 if self.filteredhash is not None: |
340 if self.filteredhash is not None: |
341 cachekey.append(hex(self.filteredhash)) |
341 cachekey.append(hex(self.filteredhash)) |
342 f.write(" ".join(cachekey) + '\n') |
342 f.write(" ".join(cachekey) + '\n') |
343 nodecount = 0 |
343 nodecount = 0 |
344 for label, nodes in sorted(self.iteritems()): |
344 for label, nodes in sorted(self._entries.iteritems()): |
345 label = encoding.fromlocal(label) |
345 label = encoding.fromlocal(label) |
346 for node in nodes: |
346 for node in nodes: |
347 nodecount += 1 |
347 nodecount += 1 |
348 if node in self._closednodes: |
348 if node in self._closednodes: |
349 state = 'c' |
349 state = 'c' |