From ccb128503efa55d3348d8ad5b913dbb8d7b942a6 Mon Sep 17 00:00:00 2001 From: libscott Date: Mon, 19 Feb 2018 18:31:39 -0300 Subject: [PATCH] Update README.md --- qa/cryptoconditions/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/qa/cryptoconditions/README.md b/qa/cryptoconditions/README.md index d93e8e266..2bf479ecd 100644 --- a/qa/cryptoconditions/README.md +++ b/qa/cryptoconditions/README.md @@ -5,6 +5,7 @@ These tests are for the [Crypto-Conditions](https://github.com/rfcs/crypto-condi ## How to run the tests 1. Install hoek: https://github.com/libscott/hoek -2. Start komodod: `src/komodod -ac_name=CCTEST -ac_supply=21000000 -gen -pubkey=0205a8ad0c1dbc515f149af377981aab58b836af008d4d7ab21bd76faf80550b47 -ac_cc=1` -3. Set environment variable pointing to Komodo conf: `export KOMODO_CONF_PATH=~/.komodo/CCTEST/CCTEST.conf` -4. Run tests: `python test_integration.py` (you can also use a test runner such as `nose`). +1. Allow peer-less block creation: set "fMiningRequiresPeers = false" in src/chainparams.cpp, then build komodod. +1. Start komodod: `src/komodod -ac_name=CCTEST -ac_supply=21000000 -gen -pubkey=0205a8ad0c1dbc515f149af377981aab58b836af008d4d7ab21bd76faf80550b47 -ac_cc=1` +1. Set environment variable pointing to Komodo conf: `export KOMODO_CONF_PATH=~/.komodo/CCTEST/CCTEST.conf` +1. Run tests: `python test_integration.py` (you can also use a test runner such as `nose`).