sugarchain-project / yumekawa

[TEST] Yumekawa 2.0 Taproot
MIT License
6 stars 5 forks source link

[WIP] Part 1: Settings Parameters (#44) #52

Closed decryp2kanon closed 4 years ago

decryp2kanon commented 4 years ago

DIFF

git diff dc541e9bc f1d4016ea914808b8df38ad2602087bdb11c24c9

Fix: bench

Running bench/bench_sugarchain ...
bench/bench_sugarchain > /dev/null
bench_sugarchain: test/util/wallet.cpp:32: void importaddress(CWallet &, const std::string &): Assertion `IsValidDestination(dest)' failed.
/bin/bash: line 1: 29899 Aborted                 (core dumped) bench/bench_sugarchain > /dev/null

Fix: AddressKeyPair (regtest)
 - ./src/qt/sugarchain-qt -server=1 -regtest
 - address , privkey
    for i in {1..12}
    do
        ADDRESS=$(./src/sugarchain-cli -regtest getnewaddress "" legacy)
        PRIVKEY=$(./src/sugarchain-cli -regtest dumpprivkey $ADDRESS)
        echo "AddressKeyPair('$ADDRESS', '$PRIVKEY'),"
    done

TODO


Chainparams.cpp

decryp2kanon commented 4 years ago
Running bench/bench_sugarchain ...
bench/bench_sugarchain > /dev/null
bench_sugarchain: test/util/wallet.cpp:32: void importaddress(CWallet &, const std::string &): Assertion `IsValidDestination(dest)' failed.
/bin/bash: line 1: 29899 Aborted                 (core dumped) bench/bench_sugarchain > /dev/null

Fixed

    Fix: AddressKeyPair (regtest)
    - ./src/qt/sugarchain-qt -server=1 -regtest
    - address , privkey
    for i in {1..12}
    do
        ADDRESS=$(./src/sugarchain-cli -regtest getnewaddress "" legacy)
        PRIVKEY=$(./src/sugarchain-cli -regtest dumpprivkey $ADDRESS)
        echo "AddressKeyPair('$ADDRESS', '$PRIVKEY'),"
    done