Add cache to HeaderChain struct.
This commit is contained in:
parent
9552ca7bb3
commit
5e33fe0aa7
@ -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`
|
||||||
|
Loading…
Reference in New Issue
Block a user