[英]Chainlink node: What to do when transactions are pending?
ACCOUNT_ADDRESS
and send ETH to that address. ACCOUNT_ADDRESS
并将 ETH 发送到该地址。 The second most common is that you're using an outdated version of the chainlink node.第二个最常见的情况是您使用的是过时版本的 chainlink 节点。 Please use 0.9.4 or higher.
请使用 0.9.4 或更高版本。
MIN_OUTGOING_CONFIRMATIONS
variable in your .env
is too high (it gets set to a default) .env
中的MIN_OUTGOING_CONFIRMATIONS
变量太高(它被设置为默认值) If you see pending transactions at your oracle contracts address then it is likely #2.如果您在 oracle 合约地址看到待处理的交易,那么很可能是 #2。 If you don't see any, it's likely #1.
如果您没有看到任何内容,则可能是#1。
If #1, you can just send some ETH to your node and it should be fine.如果#1,你可以向你的节点发送一些 ETH,它应该没问题。 You can find your node's address
ACCOUNT_ADDRESS
in the configuration page of your Chainlink GUI.您可以在 Chainlink GUI 的配置页面中找到您节点的地址
ACCOUNT_ADDRESS
。
If #2 you can either:如果 #2 你可以:
DELETE FROM job_runs WHERE status = 'pending_outgoing_confirmations';
DELETE FROM tx_attempts WHERE confirmed = 'f';
If #3 Set or change your MIN_OUTGOING_CONFIRMATIONS
and restart the node.如果 #3 设置或更改您的
MIN_OUTGOING_CONFIRMATIONS
并重新启动节点。
This is likely due to network congestion or you're working on a network that doesn't have many transactions.这可能是由于网络拥塞或您正在使用的网络没有很多事务。 An easy fix is to reduce the number of incoming confirmations and restart your node.
一个简单的解决方法是减少传入确认的数量并重新启动您的节点。
In your .env
file, add or set the following:在您的
.env
文件中,添加或设置以下内容:
MIN_INCOMING_CONFIRMATIONS=0
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.