Replies: 9 comments
-
这些交易使用了相同的 inputs 吗?如果是的话只有一个会上链,其它交易会因为冲突被丢弃。如果是一个大的 cell 想连续发送交易有几种办法:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Assigned to @TheWaWaR |
Beta Was this translation helpful? Give feedback.
-
ckb-cli 如果要保证这种情况下三个交易都有效就会依赖当前 node 的交易池,感觉是一个需要讨论的设计。 建议发送完交易后查询该交易的状态变成 committed,才开始发送下一个交易。 |
Beta Was this translation helpful? Give feedback.
-
看来只能先这样了。 |
Beta Was this translation helpful? Give feedback.
-
ckb-cli server 下的rpc能否提供更多支持,目前只有几个方法。
所以像我这种使用server-rpc发款的用户,查询交易状态、是否被确认都没办法做到。只能再去浏览器。 |
Beta Was this translation helpful? Give feedback.
-
可以直接通过向 ckb 节点发送 可以通过 |
Beta Was this translation helpful? Give feedback.
-
今天又看了一下,我这边是通过http自动发款。之前已经实现了一笔一笔发。因为有时候交易会冲突然后就不见了。 |
Beta Was this translation helpful? Give feedback.
-
本地启动了ckb-cli server,然后通过http调用发款。
如图,我第一次连续发了3笔,只有最后一笔成功了。
然后又重新连发两笔交易,依然只有最后一笔交易成功了
Beta Was this translation helpful? Give feedback.
All reactions