mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
For convenience, creates RPC snapshot methods for feeds.
This commit is contained in:
@ -112,8 +112,7 @@ fun generateTransactions(proxy: CordaRPCOps) {
|
||||
sum + state.state.data.amount.quantity
|
||||
}
|
||||
val issueRef = OpaqueBytes.of(0)
|
||||
val (parties, partyUpdates) = proxy.networkMapFeed()
|
||||
partyUpdates.notUsed()
|
||||
val parties = proxy.networkMapSnapshot()
|
||||
val notary = parties.first { it.advertisedServices.any { it.info.type.isNotary() } }.notaryIdentity
|
||||
val me = proxy.nodeIdentity().legalIdentity
|
||||
while (true) {
|
||||
|
Reference in New Issue
Block a user