2017-07-20 28 views

回答

2

它尚未實施。這個想法是允許流程快速查找它需要通過網絡地圖發送數據的一個或多個監管機構。

下面是一個例子,從TwoPartyDealFlow.kt:

val regulators = serviceHub.networkMapCache.regulatorNodes 
if (regulators.isNotEmpty()) { 
    // Copy the transaction to every regulator in the network. This is obviously completely bogus, it's just for demo purposes. 
    regulators.forEach { 
     send(it.serviceIdentities(ServiceType.regulator).first(), ftx) 
    } 
} 

但是請注意,這種方法是選擇加入 - 有什麼目前以防止流動的作者從沒有執行此步驟的代碼。