mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16).
This commit is contained in:
@@ -4,18 +4,24 @@
|
||||
#include "main.h"
|
||||
#include "wallet.h"
|
||||
|
||||
CWallet* pwalletMain;
|
||||
|
||||
extern bool fPrintToConsole;
|
||||
struct TestingSetup {
|
||||
TestingSetup() {
|
||||
fPrintToConsole = true; // don't want to write to debug.log file
|
||||
pwalletMain = new CWallet();
|
||||
RegisterWallet(pwalletMain);
|
||||
}
|
||||
~TestingSetup()
|
||||
{
|
||||
delete pwalletMain;
|
||||
pwalletMain = NULL;
|
||||
}
|
||||
~TestingSetup() { }
|
||||
};
|
||||
|
||||
BOOST_GLOBAL_FIXTURE(TestingSetup);
|
||||
|
||||
CWallet* pwalletMain;
|
||||
|
||||
void Shutdown(void* parg)
|
||||
{
|
||||
exit(0);
|
||||
|
||||
Reference in New Issue
Block a user