我使用 Laravel PHP 脚本,我必须将脚本与 Bitcoin / bitcoind Full Node 连接起来。这是我第一次使用 Bitcoind。
也许这是一个愚蠢的问题,但我在哪里获得我的比特币节点服务器的连接登录信息?
我已经从这里在 Ubuntu VPS 服务器上安装了完整节点:https ://bitcoin.org/en/full-node#ubuntu-1610
现在我的脚本需要这些信息来连接到 Bitcoind 服务器:
BITCOIND_HOST:
BITCOIND_PORT:
BITCOIND_USERNAME:
BITCOIND_PASSWORD:
我在我的比特币服务器上的 .bitcoin 文件夹中创建了文件 bitcoin.conf
有了这个信息:
prune=600
maxconnections=125
maxuploadtarget=0
rpcuser=test
rpcpassword=test
daemon=1
keypool=50000
Script 和 Bitcoind 在不同的服务器上运行。
填写此信息是否正确?:
BITCOIND_HOST: My VPS IP Address
BITCOIND_PORT: ??? i dont know
BITCOIND_USERNAME:test
BITCOIND_PASSWORD:test
如果bitcoind作为脚本在其他服务器上运行,那是不是没有加密并且可以泄露,这是正确的吗?
我现在搜索了几个星期,在谷歌上找不到 mutch。
非常感谢