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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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