aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-03-26 15:57:21 -0400
committerCory Fields <cory-nospam-@coryfields.com>2014-04-22 00:32:30 -0400
commit05e3ecffa495c0905b88cfc92b23bb519b7fe70b (patch)
tree62345888988f8c397834c49c6b4fafa084955d46 /src
parent4f497cd97da4f9c88790a5f4e97926804669dfca (diff)
script: remove bignum dependency
Diffstat (limited to 'src')
-rw-r--r--src/script.cpp1
-rw-r--r--src/script.h8
2 files changed, 0 insertions, 9 deletions
diff --git a/src/script.cpp b/src/script.cpp
index 25180e0bbb..81d2754453 100644
--- a/src/script.cpp
+++ b/src/script.cpp
@@ -5,7 +5,6 @@
#include "script.h"
-#include "bignum.h"
#include "core.h"
#include "hash.h"
#include "key.h"
diff --git a/src/script.h b/src/script.h
index 7781ea61c7..1742ce81f8 100644
--- a/src/script.h
+++ b/src/script.h
@@ -6,7 +6,6 @@
#ifndef H_BITCOIN_SCRIPT
#define H_BITCOIN_SCRIPT
-#include "bignum.h"
#include "key.h"
#include "util.h"
@@ -441,7 +440,6 @@ public:
explicit CScript(opcodetype b) { operator<<(b); }
explicit CScript(const uint256& b) { operator<<(b); }
explicit CScript(const CScriptNum& b) { operator<<(b); }
- explicit CScript(const CBigNum& b) { operator<<(b); }
explicit CScript(const std::vector<unsigned char>& b) { operator<<(b); }
@@ -477,12 +475,6 @@ public:
return *this;
}
- CScript& operator<<(const CBigNum& b)
- {
- *this << b.getvch();
- return *this;
- }
-
CScript& operator<<(const CScriptNum& b)
{
*this << b.getvch();