Add isRegisteredWithNetworkMap RPC, poll in Driver, expose RPC proxy

This commit is contained in:
Andras Slemmer
2017-02-02 10:54:50 +00:00
parent 3f6c8ab1e2
commit de63f90745
4 changed files with 32 additions and 15 deletions

View File

@ -111,6 +111,11 @@ interface CordaRPCOps : RPCOps {
*/
fun currentNodeTime(): Instant
/**
* Returns whether the node has registered with the network map.
*/
fun isRegisteredWithNetworkMap(): Boolean
// TODO These need rethinking. Instead of these direct calls we should have a way of replicating a subset of
// the node's state locally and query that directly.
/**