From d70f003ec2e780f7b2bf68489c99fdcc8df4e952 Mon Sep 17 00:00:00 2001 From: Jude Nelson Date: Thu, 13 Oct 2016 20:47:32 -0400 Subject: [PATCH] remove unused code --- blockstack/lib/nameset/namedb.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/blockstack/lib/nameset/namedb.py b/blockstack/lib/nameset/namedb.py index d701eaf21..85f67da97 100644 --- a/blockstack/lib/nameset/namedb.py +++ b/blockstack/lib/nameset/namedb.py @@ -685,26 +685,6 @@ class BlockstackDB( virtualchain.StateEngine ): name_hist = namedb_get_history( cur, name ) return name_hist - - def get_name_history_sequence( self, name, start_block, end_block ): - """ - Get the sequence of states of a name over a given point in time. - Return None if the name isn't current - """ - - name_rec = self.get_name( name ) - if name_rec is None: - return None - - cur = self.db.cursor() - name_snapshots = [] - update_points = namedb_get_blocks_with_ops( cur, name, start_block, end_block ) - for update_point in update_points: - historical_recs = self.get_name_at( name, update_point ) - name_snapshots += historical_recs - - return name_snapshots - def get_name_history( self, name, start_block, end_block ): """