mirror of
https://github.com/corda/corda.git
synced 2025-06-17 22:58:19 +00:00
Add Cash flows to default RPC flow list, so they can be invoked by shell commands. (#690)
Add Cash flows to default RPC flow list, so they can be invoked by shell commands. It should be removed once we separate cash flows into cordapp.
This commit is contained in:
committed by
GitHub
parent
9aa1ac7009
commit
81501150aa
@ -246,7 +246,11 @@ abstract class AbstractNode(open val configuration: NodeConfiguration,
|
||||
val flows = scanForFlows()
|
||||
rpcFlows = flows.filter { it.isUserInvokable() && it.isAnnotationPresent(StartableByRPC::class.java) } +
|
||||
// Add any core flows here
|
||||
listOf(ContractUpgradeFlow::class.java)
|
||||
listOf(ContractUpgradeFlow::class.java,
|
||||
// TODO Remove all Cash flows from default list once they are split into separate CorDapp.
|
||||
CashIssueFlow::class.java,
|
||||
CashExitFlow::class.java,
|
||||
CashPaymentFlow::class.java)
|
||||
|
||||
runOnStop += Runnable { net.stop() }
|
||||
_networkMapRegistrationFuture.setFuture(registerWithNetworkMapIfConfigured())
|
||||
|
Reference in New Issue
Block a user