Skip to content

Commit 985804f

Browse files
author
Aurélien Richez
committed
Rephrase scaladoc comment and remove TODO
1 parent 4acfb7e commit 985804f

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/main/scala/io/iohk/ethereum/domain/branch/BestBlockchainBranch.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ import io.iohk.ethereum.domain.Block
66
import io.iohk.ethereum.domain.BlockHeader
77
import io.iohk.ethereum.domain.BlockchainReader
88

9-
/** A Branch instance which only works for the best canonical branch. As this branch
10-
* currently has specific indexes (particularly regarding accessing blocks by number),
11-
* it will uses thoses to provide better performance.
9+
/** A Branch instance which only works for the best canonical branch or a subset of this branch.
10+
* This implementation uses the existing storage indexes to access blocks by number more efficiently.
1211
*/
1312
class BestBlockchainBranch(
1413
tipBlockHeader: BlockHeader,

src/main/scala/io/iohk/ethereum/domain/branch/BlockchainBranch.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import akka.util.ByteString
44

55
import io.iohk.ethereum.domain.Block
66

7-
// TODO choose a name : ChainInstance, BlockchainBranch, Branch, Blockchain ?
87
trait BlockchainBranch {
98

109
/** Returns a block inside this branch based on its number */

0 commit comments

Comments
 (0)