mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Added TODO to ServiceHub and CheckpointStorage
This commit is contained in:
parent
6017179bc0
commit
e319a33b52
@ -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
|
||||
* 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.
|
||||
*
|
||||
* TODO: Split into a public (to contracts etc) and private (to node) view
|
||||
*/
|
||||
interface ServiceHub {
|
||||
val walletService: WalletService
|
||||
|
@ -6,6 +6,8 @@ import core.serialization.SerializedBytes
|
||||
|
||||
/**
|
||||
* 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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user