1

我需要使用 carbonchain 将 docker 镜像密钥存储/检索到比特币区块链中。问题是,我什至如何在命令中指定private key,key idimage:tag。提出该-help选项仅给出:

ddt-master -help
2017/05/14 13:53:19 testnet: false
2017/05/14 13:53:19 datadir: 
2017/05/14 13:53:19 app datadir: /home/ubuntu
2017/05/14 13:53:19 GOMAXPROCS: 4
Distributed Docker Trust
(c)2017 Faruq Rasid

  SignAndSubmit <private key> <key id> <image:tag>
  Verify <image:tag>
Options:
  -datadir string
        Bitcoin data path
  -gomaxprocs int
        Number of threads to use (default -1)
  -help
        Show help
  -host string
        Host for SignAndSubmit/Verify commands to connect to (default "localhost")
  -loglevel int
        Set log level: 0-4; Default: 4 (default 3)
  -port string
        Port to run daemon on. For SignAndSubmit/Verify commands, port to connect to (default "1323")
  -rpcip string
        Bitcoind RPC IP
        * REQUIRED ONLY FOR STORE COMMAND
  -rpcpassword string
        Password for bitcoind RPC
        * REQUIRED ONLY FOR store COMMAND
  -rpcport string
        Bitcoind RPC Port (Default for testnet set to append 1 to this variable)
        * REQUIRED ONLY FOR store COMMAND
  -rpcuser string
        User for bitcoind RPC
        * REQUIRED ONLY FOR store COMMAND
  -testnet
        Use testnet

我可以设置其他变量没有问题,因为我可以参考这个页面来参考:https ://en.bitcoin.it/wiki/Running_Bitcoin

github 站点根本没有关于如何运行程序的信息(https://github.com/ruqqq/carbonchain

4

0 回答 0