diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2014-02-22 02:41:01 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2015-12-01 20:57:08 +0000 |
commit | 45b8e278fba213fc88ff2be532f15c06accfc857 (patch) | |
tree | 7574cdcd43ff43f7c9c5730ce064daca7f0de1a2 /src/main.h | |
parent | 4077ad20d03f0ef61d48ef34b3107661b0ff8ffe (diff) |
-bytespersigop option to additionally limit sigops in transactions we relay and mine
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index 19623f4d96..fba4e09715 100644 --- a/src/main.h +++ b/src/main.h @@ -92,6 +92,7 @@ static const bool DEFAULT_RELAYPRIORITY = true; /** Default for -permitbaremultisig */ static const bool DEFAULT_PERMIT_BAREMULTISIG = true; +static const unsigned int DEFAULT_BYTES_PER_SIGOP = 20; static const bool DEFAULT_CHECKPOINTS_ENABLED = true; static const bool DEFAULT_TXINDEX = false; static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100; @@ -122,6 +123,7 @@ extern int nScriptCheckThreads; extern bool fTxIndex; extern bool fIsBareMultisigStd; extern bool fRequireStandard; +extern unsigned int nBytesPerSigOp; extern bool fCheckBlockIndex; extern bool fCheckpointsEnabled; extern size_t nCoinCacheUsage; |