Added TODO to ServiceHub and CheckpointStorage

This commit is contained in:
rick.parker 2016-05-13 12:37:39 +01:00
parent 6017179bc0
commit e319a33b52
2 changed files with 4 additions and 0 deletions

View File

@ -12,6 +12,8 @@ import java.time.Clock
* A service hub simply vends references to the other services a node has. Some of those services may be missing or * A service hub simply vends references to the other services a node has. Some of those services may be missing or
* mocked out. This class is useful to pass to chunks of pluggable code that might have need of many different kinds of * mocked out. This class is useful to pass to chunks of pluggable code that might have need of many different kinds of
* functionality and you don't want to hard-code which types in the interface. * functionality and you don't want to hard-code which types in the interface.
*
* TODO: Split into a public (to contracts etc) and private (to node) view
*/ */
interface ServiceHub { interface ServiceHub {
val walletService: WalletService val walletService: WalletService

View File

@ -6,6 +6,8 @@ import core.serialization.SerializedBytes
/** /**
* Thread-safe storage of fiber checkpoints. * Thread-safe storage of fiber checkpoints.
*
* TODO: Make internal to node again once split [ServiceHub] into a public (to contracts etc) and private (to node) view
*/ */
interface CheckpointStorage { interface CheckpointStorage {