Add cache to HeaderChain struct.

This commit is contained in:
Adrian Brink 2017-04-05 13:50:11 +02:00
parent 9552ca7bb3
commit 5e33fe0aa7

View File

@ -427,7 +427,7 @@ impl HeaderChain {
} }
} }
/// Get the nth CHT root, if it's been computed. /// Get the nth CHT root, if it has been computed.
/// ///
/// CHT root 0 is from block `1..2048`. /// CHT root 0 is from block `1..2048`.
/// CHT root 1 is from block `2049..4096` /// CHT root 1 is from block `2049..4096`