Rename script.h/.cpp to scriptutils.h/.cpp (plus remove duplicated includes)

This commit is contained in:
jtimon 2014-08-14 13:54:05 +02:00 committed by Pieter Wuille
parent df623d83da
commit 86dbeea2cd
23 changed files with 25 additions and 29 deletions

View File

@ -98,7 +98,7 @@ BITCOIN_CORE_H = \
rpcclient.h \
rpcprotocol.h \
rpcserver.h \
script.h \
scriptutils.h \
serialize.h \
sync.h \
threadsafety.h \
@ -206,7 +206,7 @@ libbitcoin_common_a_SOURCES = \
keystore.cpp \
netbase.cpp \
protocol.cpp \
script.cpp \
scriptutils.cpp \
$(BITCOIN_CORE_H)
# util: shared between all executables.

View File

@ -16,7 +16,7 @@
#include "chainparams.h"
#include "key.h"
#include "script.h"
#include "scriptutils.h"
#include <string>
#include <vector>

View File

@ -5,7 +5,7 @@
#include "bloom.h"
#include "core.h"
#include "script.h"
#include "scriptutils.h"
#include <math.h>
#include <stdlib.h>

View File

@ -6,7 +6,7 @@
#ifndef BITCOIN_CORE_H
#define BITCOIN_CORE_H
#include "script.h"
#include "scriptutils.h"
#include "serialize.h"
#include "uint256.h"

View File

@ -5,7 +5,7 @@
#include "core_io.h"
#include "core.h"
#include "serialize.h"
#include "script.h"
#include "scriptutils.h"
#include "util.h"
#include <boost/assign/list_of.hpp>

View File

@ -4,7 +4,7 @@
#include "core_io.h"
#include "univalue/univalue.h"
#include "script.h"
#include "scriptutils.h"
#include "core.h"
#include "serialize.h"
#include "util.h"

View File

@ -4,7 +4,7 @@
#include "crypter.h"
#include "script.h"
#include "scriptutils.h"
#include "util.h"
#include <string>

View File

@ -7,7 +7,7 @@
#include "crypter.h"
#include "key.h"
#include "script.h"
#include "scriptutils.h"
#include "util.h"
#include <boost/foreach.hpp>

View File

@ -15,7 +15,7 @@
#include "core.h"
#include "net.h"
#include "pow.h"
#include "script.h"
#include "scriptutils.h"
#include "sync.h"
#include "txmempool.h"
#include "uint256.h"

View File

@ -11,7 +11,7 @@
#include "db.h"
#include "main.h"
#include "paymentserver.h"
#include "script.h"
#include "scriptutils.h"
#include "transactionrecord.h"
#include "timedata.h"
#include "ui_interface.h"

View File

@ -3,7 +3,7 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script.h"
#include "scriptutils.h"
#include "crypto/ripemd160.h"
#include "crypto/sha1.h"

View File

@ -3,8 +3,8 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef H_BITCOIN_SCRIPT
#define H_BITCOIN_SCRIPT
#ifndef H_BITCOIN_SCRIPTUTILS
#define H_BITCOIN_SCRIPTUTILS
#include "key.h"
#include "utilstrencodings.h"

View File

@ -12,7 +12,7 @@
#include "main.h"
#include "net.h"
#include "pow.h"
#include "script.h"
#include "scriptutils.h"
#include "serialize.h"
#include "util.h"

View File

@ -9,7 +9,7 @@
#include "data/base58_keys_valid.json.h"
#include "key.h"
#include "script.h"
#include "scriptutils.h"
#include "uint256.h"
#include "util.h"

View File

@ -9,7 +9,7 @@
#include "data/sig_noncanonical.json.h"
#include "data/sig_canonical.json.h"
#include "random.h"
#include "script.h"
#include "scriptutils.h"
#include "util.h"
#include <boost/foreach.hpp>

View File

@ -5,7 +5,7 @@
#include "key.h"
#include "base58.h"
#include "script.h"
#include "scriptutils.h"
#include "uint256.h"
#include "util.h"

View File

@ -5,7 +5,7 @@
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "scriptutils.h"
#include "uint256.h"
#include <boost/assign/std/vector.hpp>

View File

@ -2,12 +2,10 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script.h"
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "scriptutils.h"
#include <vector>

View File

@ -2,15 +2,13 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script.h"
#include "data/script_invalid.json.h"
#include "data/script_valid.json.h"
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "scriptutils.h"
#include "core_io.h"
#include <fstream>

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "bignum.h"
#include "script.h"
#include "scriptutils.h"
#include <boost/test/unit_test.hpp>
#include <limits.h>
#include <stdint.h>

View File

@ -6,7 +6,7 @@
#include "main.h"
#include "random.h"
#include "serialize.h"
#include "script.h"
#include "scriptutils.h"
#include "util.h"
#include "version.h"

View File

@ -3,7 +3,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "key.h"
#include "script.h"
#include "scriptutils.h"
#include "uint256.h"
#include <vector>

View File

@ -8,7 +8,7 @@
#include "key.h"
#include "keystore.h"
#include "main.h"
#include "script.h"
#include "scriptutils.h"
#include "core_io.h"
#include <map>