c-lightning public 探索者节点数据
c-lightning public node data on explorers
我正在尝试使用来自 https://hub.docker.com/r/elementsproject/lightningd 的图像 docker-compose 设置我的第一个 clightning 节点。目前,我的节点可以连接并打开与其他节点的通道(我可以很好地打开到该节点的通道),但它在大多数浏览器上仍然没有更新(即没有信息)。
我试图打开我的端口 9735
,将 bind-addr
设置为 docker 的 IP 地址,甚至尝试使用 tor 设置 announce-addr
地址。没有任何效果。
以下是getinfo
和listconfigs
的当前结果:
getinfo
{
"id": "03db40337c2de299a8fa454fdf89d311615d50a27129d43286696d9e497b2b027a",
"alias": "TestName",
"color": "fff000",
"num_peers": 3,
"num_pending_channels": 0,
"num_active_channels": 3,
"num_inactive_channels": 0,
"address": [
{
"type": "ipv4",
"address": "68.183.195.14",
"port": 9735
}
],
"binding": [
{
"type": "ipv4",
"address": "172.18.0.3",
"port": 9735
}
],
"version": "v0.7.1-906-gf657146",
"blockheight": 601917,
"network": "bitcoin",
"msatoshi_fees_collected": 0,
"fees_collected_msat": "0msat"
}
listconfigs
{
"# version": "v0.7.1-906-gf657146",
"lightning-dir": "/root/.lightning",
"wallet": "sqlite3:///root/.lightning/lightningd.sqlite3",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/pay",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/autoclean",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/fundchannel",
"network": "bitcoin",
"allow-deprecated-apis": true,
"always-use-proxy": false,
"daemon": "false",
"rpc-file": "lightning-rpc",
"rgb": "fff000",
"alias": "HubTest",
"bitcoin-rpcuser": [redacted],
"bitcoin-rpcpassword": [redacted],
"bitcoin-rpcconnect": "bitcoind",
"bitcoin-retry-timeout": 60,
"pid-file": "lightningd-bitcoin.pid",
"ignore-fee-limits": false,
"watchtime-blocks": 144,
"max-locktime-blocks": 2016,
"funding-confirms": 3,
"commit-fee-min": 200,
"commit-fee-max": 2000,
"commit-fee": 500,
"cltv-delta": 14,
"cltv-final": 10,
"commit-time": 10,
"fee-base": 0,
"rescan": 15,
"fee-per-satoshi": 1,
"max-concurrent-htlcs": 30,
"min-capacity-sat": 10000,
"bind-addr": "172.18.0.3:9735",
"announce-addr": "68.183.195.14:9735",
"offline": "false",
"autolisten": true,
"disable-dns": "false",
"enable-autotor-v2-mode": "false",
"encrypted-hsm": false,
"log-level": "DEBUG",
"log-prefix": "lightningd(7):"
}
这个配置有问题吗?或者,这毕竟是另一个问题?
我了解到探索者不定期更新节点列表,只要节点能开通通道(能连上)就没问题。但是这件事已经困扰我好几个星期了。
更新了 docker 图像并将 bind-addr
放入 0.0.0.0:9375
不知何故修复了问题。
我正在尝试使用来自 https://hub.docker.com/r/elementsproject/lightningd 的图像 docker-compose 设置我的第一个 clightning 节点。目前,我的节点可以连接并打开与其他节点的通道(我可以很好地打开到该节点的通道),但它在大多数浏览器上仍然没有更新(即没有信息)。
我试图打开我的端口 9735
,将 bind-addr
设置为 docker 的 IP 地址,甚至尝试使用 tor 设置 announce-addr
地址。没有任何效果。
以下是getinfo
和listconfigs
的当前结果:
getinfo
{
"id": "03db40337c2de299a8fa454fdf89d311615d50a27129d43286696d9e497b2b027a",
"alias": "TestName",
"color": "fff000",
"num_peers": 3,
"num_pending_channels": 0,
"num_active_channels": 3,
"num_inactive_channels": 0,
"address": [
{
"type": "ipv4",
"address": "68.183.195.14",
"port": 9735
}
],
"binding": [
{
"type": "ipv4",
"address": "172.18.0.3",
"port": 9735
}
],
"version": "v0.7.1-906-gf657146",
"blockheight": 601917,
"network": "bitcoin",
"msatoshi_fees_collected": 0,
"fees_collected_msat": "0msat"
}
listconfigs
{
"# version": "v0.7.1-906-gf657146",
"lightning-dir": "/root/.lightning",
"wallet": "sqlite3:///root/.lightning/lightningd.sqlite3",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/pay",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/autoclean",
"plugin": "/usr/local/bin/../libexec/c-lightning/plugins/fundchannel",
"network": "bitcoin",
"allow-deprecated-apis": true,
"always-use-proxy": false,
"daemon": "false",
"rpc-file": "lightning-rpc",
"rgb": "fff000",
"alias": "HubTest",
"bitcoin-rpcuser": [redacted],
"bitcoin-rpcpassword": [redacted],
"bitcoin-rpcconnect": "bitcoind",
"bitcoin-retry-timeout": 60,
"pid-file": "lightningd-bitcoin.pid",
"ignore-fee-limits": false,
"watchtime-blocks": 144,
"max-locktime-blocks": 2016,
"funding-confirms": 3,
"commit-fee-min": 200,
"commit-fee-max": 2000,
"commit-fee": 500,
"cltv-delta": 14,
"cltv-final": 10,
"commit-time": 10,
"fee-base": 0,
"rescan": 15,
"fee-per-satoshi": 1,
"max-concurrent-htlcs": 30,
"min-capacity-sat": 10000,
"bind-addr": "172.18.0.3:9735",
"announce-addr": "68.183.195.14:9735",
"offline": "false",
"autolisten": true,
"disable-dns": "false",
"enable-autotor-v2-mode": "false",
"encrypted-hsm": false,
"log-level": "DEBUG",
"log-prefix": "lightningd(7):"
}
这个配置有问题吗?或者,这毕竟是另一个问题?
我了解到探索者不定期更新节点列表,只要节点能开通通道(能连上)就没问题。但是这件事已经困扰我好几个星期了。
更新了 docker 图像并将 bind-addr
放入 0.0.0.0:9375
不知何故修复了问题。