Retrieving missed Corda transactions from an RPC client vaultTrackBy

六月ゝ 毕业季﹏ 提交于 2019-12-13 04:27:24

问题


Corda transactions can be subscribed to using vaultTrackBy from an RPC client but these transactions events can be missed if the RPC connection goes down. RPC disconnects can be a common event so is there a way to retrieve missed transactions when an RPC connection is restored?


回答1:


Corda does not assume that the RPC client is durable and assumes that the connection will drop from time to time. Here is one example of how to catch up to events you've missed while the RPC connection was down. https://docs.corda.net/clientrpc.html#reconnecting-rpc-clients



来源:https://stackoverflow.com/questions/56821224/retrieving-missed-corda-transactions-from-an-rpc-client-vaulttrackby

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!