Sign inSign up

xwc1125/xwc1125_usdt

By xwc1125

•Updated almost 8 years ago

USDT(omniCore)测试环境

Image
1

271

xwc1125/xwc1125_usdt repository overview

bitcoin.conf的默认配置:

regtest=1
#监听模式,默认启动
listen=1
#允许bitcoin接收JSON-RPC
server=1
#RPC用户名
rpcuser=bitcoin
#RPC密码
rpcpassword=bitcoin
#RPC端口
rpcport=5545
#允许RPC访问ip
rpcallowip=0.0.0.0/0
txindex=1

配置文件说明:

参数说明(同比特币钱包参数一致):
testnet=1 连接测比特币测试网络和regtest参数不能同时开启只能开启一其中一个。
regtest:开启单机测试环境1为开启,0为关闭
listen:开启监听模式,默认开启
server:1表示接受RPC指令,0不接收
rpcuser:用来访问钱包的RPC用户名
rpcpassword:用来访问钱包的RPC密码
rpcallowip:指定哪些IP可以通过RPC访问钱包
rpcport:RPC访问端口

docker启动方式:

docker run \
--name xwc1125_usdt \
-d \
-p 5545:5545 \
-v /Users/xwc1125/Workspaces/Docker/data/:/data/ xwc1125/xwc1125_usdt:0.3.1

如果使用了-v,启动前需要将bitcoin.conf放在/data目录下启动。

Tag summary

Content type

Image

Digest

Size

313.1 MB

Last updated

almost 8 years ago

docker pull xwc1125/xwc1125_usdt:0.3.1