Browse Source

desprout

pull/199/head
Jonathan "Duke" Leto 2 years ago
parent
commit
7cbf9bf61b
  1. 11
      src/test/test_bitcoin.h

11
src/test/test_bitcoin.h

@ -1,3 +1,6 @@
// Copyright (c) 2016-2021 The Hush developers
// Distributed under the GPLv3 software license, see the accompanying
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
#ifndef HUSH_TEST_TEST_HUSH_H
#define HUSH_TEST_TEST_HUSH_H
@ -18,17 +21,11 @@ struct BasicTestingSetup {
~BasicTestingSetup();
};
// Setup w.r.t. zk-SNARK API
struct JoinSplitTestingSetup: public BasicTestingSetup {
JoinSplitTestingSetup();
~JoinSplitTestingSetup();
};
/** Testing setup that configures a complete environment.
* Included are data directory, coins database, script check threads
* and wallet (if enabled) setup.
*/
struct TestingSetup: public JoinSplitTestingSetup {
struct TestingSetup {
CCoinsViewDB *pcoinsdbview;
boost::filesystem::path pathTemp;
boost::thread_group threadGroup;

Loading…
Cancel
Save