Skip to content

Latest commit

 

History

History
67 lines (64 loc) · 2.01 KB

Connect_to_SideChain_of_testnet_CN.md

File metadata and controls

67 lines (64 loc) · 2.01 KB
  1. 下载或编译ELastos.ELA.SideChain

  2. 将配置信息保存为config.json文件,并与side文件放置于同一个目录

    {
      "Configuration": {
        "Magic": 20180011,
        "SpvMagic": 2018001,
        "Version": 23,
        "SeedList": [
          "did-testnet-001.elastos.org:21608",
          "did-testnet-002.elastos.org:21608",
          "did-testnet-003.elastos.org:21608",
          "did-testnet-004.elastos.org:21608",
          "did-testnet-005.elastos.org:21608"
        ],
        "SpvSeedList": [
          "127.0.0.1:21338",
          "node-testnet-002.elastos.org:21866",
          "node-testnet-003.elastos.org:21866",
          "node-testnet-004.elastos.org:21866"
        ],
        "MainChainFoundationAddress": "8ZNizBf4KhhPjeJRGpox6rPcHE5Np6tFx3",
        "FoundationAddress": "8NRxtbMKScEWzW8gmPDGUZ8LSzm688nkZZ",
        "SpvMinOutbound": 3,
        "SpvMaxConnections": 10,
        "SpvPrintLevel": 1,
        "ExchangeRate": 1.0,
        "MinCrossChainTxFee": 10000,
        "HttpInfoPort": 21603,
        "HttpInfoStart": true,
        "HttpRestPort": 21604,
        "HttpWsPort": 21605,
        "WsHeartbeatInterval": 60,
        "HttpJsonPort": 21606,
        "NoticeServerUrl": "",
        "OauthServerUrl": "",
        "NodePort": 21608,
        "NodeOpenPort": 21607,
        "OpenService": true,
        "PrintLevel": 1,
        "MaxLogsSize": 0,
        "MaxPerLogSize": 0,
        "IsTLS": false,
        "CertPath": "./sample-cert.pem",
        "KeyPath": "./sample-cert-key.pem",
        "CAPath": "./sample-ca.pem",
        "MultiCoreNum": 4,
        "MaxTransactionInBlock": 10000,
        "MaxBlockSize": 8000000,
        "ConsensusType": "pow",
        "PowConfiguration": {
          "PayToAddr": "ESHtMtd4v4247fBn3KcDG4pfoCtz51Q6nZ",
          "AutoMining": false,
          "MinerInfo": "DID-testnet",
          "MinTxFee": 100,
          "ActiveNet": "MainNet"
        }
      }
    }
  3. 启动节点程序./side或nohup

    ./side 2>output 1>/dev/null &