从RPC客户端库Vault中检索丢失的Corda事务 [英] Retrieving missed Corda transactions from an RPC client vaultTrackBy

查看:36
本文介绍了从RPC客户端库Vault中检索丢失的Corda事务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Corda事务,但是如果RPC连接断开,则可能会错过这些事务事件.RPC断开连接可能是一个常见事件,因此在恢复RPC连接时是否有办法检索丢失的事务?

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?

推荐答案

Corda不假定RPC客户端是持久的,并且假定连接将不时断开.这是一个示例,说明如何追上RPC连接断开时错过的事件. https://docs.corda.net/clientrpc.html#reconnecting-rpc-客户

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

这篇关于从RPC客户端库Vault中检索丢失的Corda事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆