diff --git a/.cirrus.yml b/.cirrus.yml index 8a2dfcec61e30..022f0c3609326 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -67,7 +67,7 @@ global_task_template: &GLOBAL_TASK_TEMPLATE compute_credits_template: &CREDITS_TEMPLATE # https://cirrus-ci.org/pricing/#compute-credits # Only use credits for pull requests to the main repo - use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'navcoin/navcoin' && $CIRRUS_PR != "" + use_compute_credits: $CIRRUS_REPO_FULL_NAME == 'nav-io/navio-core' && $CIRRUS_PR != "" task: name: 'lint' @@ -195,13 +195,13 @@ task: FILE_ENV: "./ci/test/00_setup_env_native_libblsct_only.sh" task: - name: 'no wallet, libnavcoinkernel' + name: 'no wallet, libnaviokernel' << : *GLOBAL_TASK_TEMPLATE persistent_worker: labels: type: small env: - FILE_ENV: "./ci/test/00_setup_env_native_nowallet_libnavcoinkernel.sh" + FILE_ENV: "./ci/test/00_setup_env_native_nowallet_libnaviokernel.sh" task: name: 'macOS-cross, no tests' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 847b708aba0a4..6d2b44b3d5c1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2023 The Bitcoin Core developers +# Copyright (c) 2024 The Navio Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -67,7 +67,9 @@ jobs: run: | # Run tests on commits after the last merge commit and before the PR head commit # Use clang++, because it is a bit faster and uses less memory than g++ - git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && ./autogen.sh && CC=clang-15 CXX=clang++-15 ./configure && make clean && make -j $(nproc) check && ./test/functional/test_runner.py -j $(( $(nproc) * 2 ))" ${{ env.TEST_BASE }} + #git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && + ./autogen.sh && CC=clang-15 CXX=clang++-15 ./configure && make clean && make -j $(nproc) check && ./test/functional/test_runner.py -j $(( $(nproc) * 2 )) + #" ${{ env.TEST_BASE }} macos-native-x86_64: name: 'macOS 13 native, x86_64, no depends, sqlite only' @@ -76,7 +78,7 @@ jobs: runs-on: macos-13 # No need to run on the read-only mirror, unless it is a PR. - if: github.repository != 'bitcoin-core/gui' || github.event_name == 'pull_request' + if: github.repository != 'navio-core/gui' || github.event_name == 'pull_request' timeout-minutes: 120 @@ -127,7 +129,7 @@ jobs: runs-on: windows-2022 # No need to run on the read-only mirror, unless it is a PR. - if: github.repository != 'bitcoin-core/gui' || github.event_name == 'pull_request' + if: github.repository != 'navio-core/gui' || github.event_name == 'pull_request' env: CCACHE_MAXSIZE: '200M' @@ -219,10 +221,10 @@ jobs: key: ${{ github.job }}-ccache-${{ github.run_id }} - name: Run unit tests - run: src\test_navcoin.exe -l test_suite + run: src\test_navio.exe -l test_suite - name: Run benchmarks - run: src\bench_navcoin.exe -sanity-check + run: src\bench_navio.exe -sanity-check - name: Run util tests run: py -3 test\util\test_runner.py diff --git a/.gitignore b/.gitignore index ec1788df4b730..1bcd56736aed2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,18 +2,19 @@ *.exe *.pdb -src/navcoin -src/navcoind -src/navcoin-cli -src/navcoin-gui -src/navcoin-node -src/navcoin-staker -src/navcoin-tx -src/navcoin-util -src/navcoin-chainstate -src/navcoin-wallet +src/bench/bench_navio +src/navio +src/naviod +src/navio-cli +src/navio-gui +src/navio-node +src/navio-staker +src/navio-tx +src/navio-util +src/navio-chainstate +src/navio-wallet src/test/fuzz/fuzz -src/test/test_navcoin +src/test/test_navio # autoreconf Makefile.in @@ -122,7 +123,7 @@ test/.mypy_cache/ /doc/doxygen/ -libnavcoinconsensus.pc +libnavioconsensus.pc contrib/devtools/split-debug.sh # Output from running db4 installation diff --git a/README.md b/README.md index f0e0425a06098..d599ed3bf281a 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,10 @@ Navio Core is a fork of [Bitcoin Core](https://github.com/bitcoin/bitcoin). This repository hosts the source code for the next version of Navio Core, which is *not ready for production yet*. -https://navio.org +https://nav.io For an immediately usable, binary version of the Navio Core software, see -https://navio.org/get-started. +https://nav.io/get-started. Further information about Navio Core is available in the [doc folder](/doc), the [wiki](https://github.com/nav-io/navio-core/wiki) and the [documentation website](https://doc.nav.community). @@ -19,8 +19,8 @@ What is Navio? Navio is an experimental digital currency that enables privacy-enhanced payments to anyone, anywhere in the world. Navio uses peer-to-peer technology to operate with no central authority: managing transactions and issuing money are carried -out collectively by the network. Navio Core is the name of open source -software which enables the use of this currency. +out collectively by the network using a private proof of stake protocol. Navio +Core is the name of open source software which enables the use of this currency. License ------- diff --git a/SECURITY.md b/SECURITY.md index 35d3d4e531adb..088877d90a55b 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,7 +2,7 @@ ## Reporting a Vulnerability -To report security issues send an email to disclosure@navio.org (not for support). +To report security issues send an email to disclosure@nav.io (not for support). The following keys may be used to communicate sensitive information to developers: diff --git a/build_msvc/bitcoin_config.h.in b/build_msvc/bitcoin_config.h.in index 367908cb9b938..b2dfe9ffd5b6d 100644 --- a/build_msvc/bitcoin_config.h.in +++ b/build_msvc/bitcoin_config.h.in @@ -21,10 +21,10 @@ #define COPYRIGHT_HOLDERS "The %s developers" /* Copyright holder(s) */ -#define COPYRIGHT_HOLDERS_FINAL "The Bitcoin Core developers" +#define COPYRIGHT_HOLDERS_FINAL "The Navio Core developers" /* Replacement for %s in copyright holders string */ -#define COPYRIGHT_HOLDERS_SUBSTITUTION "Bitcoin Core" +#define COPYRIGHT_HOLDERS_SUBSTITUTION "Navio Core" /* Copyright year */ #define COPYRIGHT_YEAR $ @@ -122,7 +122,7 @@ #define PACKAGE_STRING $ /* Define to the home page for this package. */ -#define PACKAGE_URL "https://navio.org/" +#define PACKAGE_URL "https://nav.io/" /* Define to the version of this package. */ #define PACKAGE_VERSION $ diff --git a/ci/test/03_test_script.sh b/ci/test/03_test_script.sh index 26dde249b25c0..a01e2db13fd60 100755 --- a/ci/test/03_test_script.sh +++ b/ci/test/03_test_script.sh @@ -56,7 +56,7 @@ index 65e31724bc..f61b471953 100644 if [ "$RUN_FUZZ_TESTS" = "true" ]; then export DIR_FUZZ_IN=${DIR_QA_ASSETS}/fuzz_seed_corpus/ if [ ! -d "$DIR_FUZZ_IN" ]; then - ${CI_RETRY_EXE} git clone --depth=1 https://github.com/navio/qa-assets "${DIR_QA_ASSETS}" + ${CI_RETRY_EXE} git clone --depth=1 https://github.com/nav-io/qa-assets "${DIR_QA_ASSETS}" fi ( cd "${DIR_QA_ASSETS}" @@ -67,7 +67,7 @@ elif [ "$RUN_UNIT_TESTS" = "true" ] || [ "$RUN_UNIT_TESTS_SEQUENTIAL" = "true" ] export DIR_UNIT_TEST_DATA=${DIR_QA_ASSETS}/unit_test_data/ if [ ! -d "$DIR_UNIT_TEST_DATA" ]; then mkdir -p "$DIR_UNIT_TEST_DATA" - ${CI_RETRY_EXE} curl --location --fail https://github.com/navio/qa-assets/raw/main/unit_test_data/script_assets_test.json -o "${DIR_UNIT_TEST_DATA}/script_assets_test.json" + ${CI_RETRY_EXE} curl --location --fail https://github.com/nav-io/qa-assets/raw/main/unit_test_data/script_assets_test.json -o "${DIR_UNIT_TEST_DATA}/script_assets_test.json" fi fi diff --git a/configure.ac b/configure.ac index 8e472ac0263b0..92db6a89d09d6 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ define(_CLIENT_VERSION_IS_RELEASE, false) define(_COPYRIGHT_YEAR, 2024) define(_COPYRIGHT_HOLDERS,[The %s developers]) define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Bitcoin Core]]) -AC_INIT([Navio Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_BUILD)m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/nav-io/navio-core/issues],[navio],[https://navio.org/]) +AC_INIT([Navio Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_BUILD)m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/nav-io/navio-core/issues],[navio],[https://nav.io/]) AC_CONFIG_SRCDIR([src/validation.cpp]) AC_CONFIG_HEADERS([src/config/bitcoin-config.h]) AC_CONFIG_AUX_DIR([build-aux]) diff --git a/doc/fuzzing.md b/doc/fuzzing.md index 98bbdbbc308f1..48d5c23175319 100644 --- a/doc/fuzzing.md +++ b/doc/fuzzing.md @@ -82,12 +82,12 @@ $ FUZZ=address_deserialize_v2 src/test/fuzz/fuzz -runs=1 fuzz_seed_corpus/addres ## Fuzzing corpora -The project's collection of seed corpora is found in the [`navio/qa-assets`](https://github.com/navio/qa-assets) repo. +The project's collection of seed corpora is found in the [`nav-io/qa-assets`](https://github.com/nav-io/qa-assets) repo. -To fuzz `process_message` using the [`navio/qa-assets`](https://github.com/navio/qa-assets) seed corpus: +To fuzz `process_message` using the [`nav-io/qa-assets`](https://github.com/nav-io/qa-assets) seed corpus: ```sh -$ git clone https://github.com/navio/qa-assets +$ git clone https://github.com/nav-io/qa-assets $ FUZZ=process_message src/test/fuzz/fuzz qa-assets/fuzz_seed_corpus/process_message/ INFO: Seed: 1346407872 INFO: Loaded 1 modules (424174 inline 8-bit counters): 424174 [0x55d8a9004ab8, 0x55d8a906c3a6), @@ -101,7 +101,7 @@ INFO: seed corpus: files: 991 min: 1b max: 1858b total: 288291b rss: 150Mb ## Run without sanitizers for increased throughput -Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined` is good for finding bugs. However, the very slow execution even under libFuzzer will limit the ability to find new coverage. A good approach is to perform occasional long runs without the additional bug-detectors (configure `--with-sanitizers=fuzzer`) and then merge new inputs into a corpus as described in the qa-assets repo (https://github.com/navio/qa-assets/blob/main/.github/PULL_REQUEST_TEMPLATE.md). Patience is useful; even with improved throughput, libFuzzer may need days and 10s of millions of executions to reach deep/hard targets. +Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined` is good for finding bugs. However, the very slow execution even under libFuzzer will limit the ability to find new coverage. A good approach is to perform occasional long runs without the additional bug-detectors (configure `--with-sanitizers=fuzzer`) and then merge new inputs into a corpus as described in the qa-assets repo (https://github.com/nav-io/qa-assets/blob/main/.github/PULL_REQUEST_TEMPLATE.md). Patience is useful; even with improved throughput, libFuzzer may need days and 10s of millions of executions to reach deep/hard targets. ## Reproduce a fuzzer crash reported by the CI @@ -117,9 +117,9 @@ Fuzzing on a harness compiled with `--with-sanitizers=address,fuzzer,undefined` ## Submit improved coverage -If you find coverage increasing inputs when fuzzing you are highly encouraged to submit them for inclusion in the [`navio/qa-assets`](https://github.com/navio/qa-assets) repo. +If you find coverage increasing inputs when fuzzing you are highly encouraged to submit them for inclusion in the [`nav-io/qa-assets`](https://github.com/nav-io/qa-assets) repo. -Every single pull request submitted against the Bitcoin Core repo is automatically tested against all inputs in the [`navio/qa-assets`](https://github.com/navio/qa-assets) repo. Contributing new coverage increasing inputs is an easy way to help make Bitcoin Core more robust. +Every single pull request submitted against the Bitcoin Core repo is automatically tested against all inputs in the [`nav-io/qa-assets`](https://github.com/nav-io/qa-assets) repo. Contributing new coverage increasing inputs is an easy way to help make Bitcoin Core more robust. ## macOS hints for libFuzzer @@ -324,7 +324,7 @@ be decoded in the same way. Fuzzing with Eclipser will likely be much more effective if using an existing corpus: ```sh -$ git clone https://github.com/navio/qa-assets +$ git clone https://github.com/nav-io/qa-assets $ FUZZ=bech32 dotnet Eclipser/build/Eclipser.dll fuzz -p src/test/fuzz/fuzz -t 36000 -i qa-assets/fuzz_seed_corpus/bech32 outputs --src stdin ``` diff --git a/src/blsct/wallet/hdchain.h b/src/blsct/wallet/hdchain.h index 44cbcfc6fc116..e13aea40527ab 100644 --- a/src/blsct/wallet/hdchain.h +++ b/src/blsct/wallet/hdchain.h @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/dandelion.h b/src/dandelion.h index 655efd7b19571..43d0adb85c8f5 100644 --- a/src/dandelion.h +++ b/src/dandelion.h @@ -1,4 +1,4 @@ -// Copyright (c) 2023-2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/building_block/generator_deriver_tests.cpp b/src/test/blsct/building_block/generator_deriver_tests.cpp index 116a3442d0f99..8be4ce049eba8 100644 --- a/src/test/blsct/building_block/generator_deriver_tests.cpp +++ b/src/test/blsct/building_block/generator_deriver_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/common_tests.cpp b/src/test/blsct/common_tests.cpp index 6e01110f110b7..4732f597253f8 100644 --- a/src/test/blsct/common_tests.cpp +++ b/src/test/blsct/common_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/keys_tests.cpp b/src/test/blsct/keys_tests.cpp index 98f3960fe89c0..ff34bd2e145b6 100644 --- a/src/test/blsct/keys_tests.cpp +++ b/src/test/blsct/keys_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2022 The Navio Core developers +// Copyright (c) 2022-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/pos/pos_chain_tests.cpp b/src/test/blsct/pos/pos_chain_tests.cpp index b5e3c8355ffca..dfd6d69caf1f3 100644 --- a/src/test/blsct/pos/pos_chain_tests.cpp +++ b/src/test/blsct/pos/pos_chain_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/set_mem_proof/set_mem_proof_prover_tests.cpp b/src/test/blsct/set_mem_proof/set_mem_proof_prover_tests.cpp index a5bf634b62880..26ef817f0d475 100644 --- a/src/test/blsct/set_mem_proof/set_mem_proof_prover_tests.cpp +++ b/src/test/blsct/set_mem_proof/set_mem_proof_prover_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/set_mem_proof/set_mem_proof_setup_tests.cpp b/src/test/blsct/set_mem_proof/set_mem_proof_setup_tests.cpp index 10a2d24e2bdab..87f0fa97692e2 100644 --- a/src/test/blsct/set_mem_proof/set_mem_proof_setup_tests.cpp +++ b/src/test/blsct/set_mem_proof/set_mem_proof_setup_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/set_mem_proof/set_mem_proof_tests.cpp b/src/test/blsct/set_mem_proof/set_mem_proof_tests.cpp index d3371b9c4d743..7b5d997d92a37 100644 --- a/src/test/blsct/set_mem_proof/set_mem_proof_tests.cpp +++ b/src/test/blsct/set_mem_proof/set_mem_proof_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/sign_verify_tests.cpp b/src/test/blsct/sign_verify_tests.cpp index 6635a28f8647d..be35496265115 100644 --- a/src/test/blsct/sign_verify_tests.cpp +++ b/src/test/blsct/sign_verify_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2022 The Navio Core developers +// Copyright (c) 2022-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/signature_tests.cpp b/src/test/blsct/signature_tests.cpp index 58cef912fd4a8..24cef4781149c 100644 --- a/src/test/blsct/signature_tests.cpp +++ b/src/test/blsct/signature_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2022 The Navio Core developers +// Copyright (c) 2022-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/blsct/wallet/chain_tests.cpp b/src/test/blsct/wallet/chain_tests.cpp index c6b1049446976..d515e541c2379 100644 --- a/src/test/blsct/wallet/chain_tests.cpp +++ b/src/test/blsct/wallet/chain_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/fuzz/bech32_mod.cpp b/src/test/fuzz/bech32_mod.cpp index 54cb4022b3df9..1c30d689134f2 100644 --- a/src/test/fuzz/bech32_mod.cpp +++ b/src/test/fuzz/bech32_mod.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 The Navio Core developers +// Copyright (c) 2023-2024 The Navio Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/util_tests.cpp b/src/test/util_tests.cpp index 8315538064cf0..6a20e3b112675 100644 --- a/src/test/util_tests.cpp +++ b/src/test/util_tests.cpp @@ -1593,7 +1593,7 @@ BOOST_AUTO_TEST_CASE(message_sign) const std::string message = "Trust no one"; const std::string expected_signature = - "IMP+uZWPFRS8hi0wTcc1kf5y0CVtXxSbI+EPXEucnKNHSfolrbv9doLbYRVsPcCRf1i384QdULL2o5Xc0l2bTrc="; + "HwLT3I4xgQaSZDhjg3QHTYp149isz26W2vDjURdBDlmECI1PiMOQDs9LgrtPYuyXZTBconIyD0/qQbZvkarYMtw="; CKey privkey; std::string generated_signature; @@ -1655,14 +1655,14 @@ BOOST_AUTO_TEST_CASE(message_verify) BOOST_CHECK_EQUAL( MessageVerify( "15CRxFdyRpGZLW9w8HnHvVduizdL5jKNbs", - "IMP+uZWPFRS8hi0wTcc1kf5y0CVtXxSbI+EPXEucnKNHSfolrbv9doLbYRVsPcCRf1i384QdULL2o5Xc0l2bTrc=", + "HwLT3I4xgQaSZDhjg3QHTYp149isz26W2vDjURdBDlmECI1PiMOQDs9LgrtPYuyXZTBconIyD0/qQbZvkarYMtw=", "Trust no one"), MessageVerificationResult::OK); BOOST_CHECK_EQUAL( MessageVerify( "15CRxFdyRpGZLW9w8HnHvVduizdL5jKNbs", - "IK63OA2lFDytfg8rKLJPjVyR4hgHxE2hoLDHm2AWSAb7RR+zfPoqFBKiWmaposhdopwotk6sjvzagkbjqQ/r4kA=", + "Hxr9ZQY89F5EI8xY++WBbfedYqZQULPmaL0D/Y0K7E3ODdSRwEEQSzLvwqyvTYRp/ZnSEa/9F6o6vSgdz3GXEJ0=", "Trust me"), MessageVerificationResult::OK); } diff --git a/test/functional/rpc_signmessagewithprivkey.py b/test/functional/rpc_signmessagewithprivkey.py index dc48248de284f..ecc38ca7cf6aa 100755 --- a/test/functional/rpc_signmessagewithprivkey.py +++ b/test/functional/rpc_signmessagewithprivkey.py @@ -30,7 +30,7 @@ def run_test(self): self.log.info('test signing with priv_key') priv_key = 'cUeKHd5orzT3mz8P9pxyREHfsWtVfgsfDjiZZBcjUBAaGk1BTj7N' - expected_signature = 'IHbutveR2Dnsaqt//fowNCPrlEj4XJVrmTO8CXfhUOvtIfYLEdFv9Iuc4nswjwtySnJy8Toj54yxTPbYd6UNQr4=' + expected_signature = 'IFW15n7PAcHcIkuTO5rERHpDwjc6ouSd8QbYe0hyQcBPAWOpvqe8Mblsay8kdwCHifXEZfWtHbAIX9mkiKGftvc=' signature = self.nodes[0].signmessagewithprivkey(priv_key, message) assert_equal(expected_signature, signature)