2019-11-20

2019-11-20  本文已影响0人  YANG_ad29

bitcoin的一些配置

-rpcallowip=::/0 //允许所有ip访问

-addresstype=legacy //地址类型 遗留

-rpcallowip=               //可以指定特定ip访问 以及特定ip段

-rpcbind=0.0.0.0:18881 

-usecashaddr=0 //bch 可以通过此设置 关闭查询时返回新地址类型 

geth attach ipc:\\.\pipe\geth.ipc 

–replay-blockchain –hard-replay-blockchain //eos 区块重放
//客户端  
bitcoin-cli -rpcconnect=127.0.0.1 -rpcuser=btcrpcusr -rpcpassword=btcrpcpasswd -rpcport=18332 getinfo

"-rpcconnect=127.0.0.1 -rpcuser=btcrpcusr -rpcpassword=btcrpcpasswd -rpcport=18332" 为连接信息,之后都省略掉。

cleos 连接本地节点  $ cleos --url localhost:8889 <subcommand>
您还可以调整节点参数以连接到其他节点,例如公共测试网 $ cleos -H test1.eos.io -p 80 <subcommand>
上一篇 下一篇

猜你喜欢

热点阅读