Skip to content

Commit 9601cae

Browse files
committed
WIP: note to move memory headers store
1 parent 414e978 commit 9601cae

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎consensus/src/processes/dagknight/protocol.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,8 @@ impl Ord for RankValue {
619619
}
620620
}
621621

622+
// TODO[DK]: This is a hacky implementation that ought to be replaced by something
623+
// that really maintains a Headers store. Then moved to consensus/src/models/store/headers.rs
622624
#[derive(Clone)]
623625
struct MemoryHeaderStore {
624626
ghostdag_store: Arc<MemoryGhostdagStore>,

0 commit comments

Comments
 (0)