diff options
author | Matt Corallo <git@bluematt.me> | 2017-08-24 11:36:07 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-09-11 15:51:25 -0400 |
commit | ba206d2c63a8d3cbd4a8dd47e9ef126af1bb3bb9 (patch) | |
tree | ae365cb374d581224b5fee69629e4f235f0d71f4 /src/validation.h | |
parent | 31e72b284ef54c4c221015c8d700946c6143fb7a (diff) |
Deprecate confusing blockmaxsize, fix getmininginfo output
* This removes block-size-limiting code in favor of GBT clients
doing the limiting themselves (if at all).
* -blockmaxsize is deprecated and only used to calculate an implied
blockmaxweight, addressing confusion from multiple users.
* getmininginfo's currentblocksize return value was returning
garbage values, and has been removed, also removing a
GetSerializeSize call in some block generation inner loops and
potentially addressing some performance edge cases.
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 23d4b35585..aa4d7abb4e 100644 --- a/src/validation.h +++ b/src/validation.h @@ -161,7 +161,6 @@ extern CTxMemPool mempool; typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap; extern BlockMap mapBlockIndex; extern uint64_t nLastBlockTx; -extern uint64_t nLastBlockSize; extern uint64_t nLastBlockWeight; extern const std::string strMessageMagic; extern CWaitableCriticalSection csBestBlock; |