mirror of
https://github.com/corda/corda.git
synced 2025-04-30 07:50:05 +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
|
* 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
|
||||||
|
@ -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 {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user