From e4daecda0bcd47a2672eb625232f00e388a3cd87 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Sat, 12 Oct 2013 15:18:08 +0200 Subject: Reimplement CBlockLocator's chain-related logic in CChain. This removes a few unused CBlockLocator methods, and moves the construction and fork-finding logic to CChain (which can do these more efficiently, as it has a height-indexable chain available). It also makes CBlockLocator independent from the validation code. --- src/db.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db.h') diff --git a/src/db.h b/src/db.h index b3f269f3da..8736031da4 100644 --- a/src/db.h +++ b/src/db.h @@ -16,7 +16,7 @@ #include class CAddrMan; -class CBlockLocator; +struct CBlockLocator; class CDiskBlockIndex; class CMasterKey; class COutPoint; -- cgit v1.2.3