Corda:具有向后兼容性的升级合同

时间:2018-07-14 06:38:49

标签: corda

我有4个节点,分别是alice,bob,John和Jane。所有人都在运行带有合约版本1的cordApp。现在,使用显式合同升级和流升级在alice和bob节点上升级合同。我该如何确保alice和bob可以使用旧的流程+合同(向后兼容)与其他人进行通信。

我还能得到隐式合同升级的证明吗...

Thnx

1 个答案:

答案 0 :(得分:0)

无法升级合同,请参见:https://docs.corda.net/contract-upgrade.html#workflow

10. Each counterparty (the ``Acceptor``s) verifies the proposal, signs or rejects the state reissuance accordingly, and sends a signature or rejection notification back to the initiating node

如果以某种方式手动安装了合约,则合约cordapp哈希也会因抛出异常而有所不同。