aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/consensus.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2016-07-18 13:28:26 -0400
committerWladimir J. van der Laan <laanwj@gmail.com>2016-07-19 12:10:28 +0200
commitfca1a415cec6b7655448ce8b30778784ab4c181e (patch)
tree9509f8d07e5a811d00402fad12f021532b16f5fd /src/consensus/consensus.h
parenta07c8a032c0d7c82d94a96d7c23c5d520212d7c8 (diff)
downloadbitcoin-fca1a415cec6b7655448ce8b30778784ab4c181e.tar.xz
Rename "block cost" to "block weight"
Github-Pull: #8363 Rebased-From: 2c06bae39edfaa9c0855d83377ad8fda09e4fa08
Diffstat (limited to 'src/consensus/consensus.h')
-rw-r--r--src/consensus/consensus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/consensus/consensus.h b/src/consensus/consensus.h
index 81f40593b2..6908565866 100644
--- a/src/consensus/consensus.h
+++ b/src/consensus/consensus.h
@@ -10,8 +10,8 @@
/** The maximum allowed size for a serialized block, in bytes (only for buffer size limits) */
static const unsigned int MAX_BLOCK_SERIALIZED_SIZE = 4000000;
-/** The maximum allowed cost for a block, see BIP 141 (network rule) */
-static const unsigned int MAX_BLOCK_COST = 4000000;
+/** The maximum allowed weight for a block, see BIP 141 (network rule) */
+static const unsigned int MAX_BLOCK_WEIGHT = 4000000;
/** The maximum allowed size for a block excluding witness data, in bytes (network rule) */
static const unsigned int MAX_BLOCK_BASE_SIZE = 1000000;
/** The maximum allowed number of signature check operations in a block (network rule) */