elements/src/rpc
Gregory Maxwell 3babbcb487 Remove confusing MAX_BLOCK_BASE_SIZE.
Some people keep thinking that MAX_BLOCK_BASE_SIZE is a separate
 size limit from the weight limit when it fact it is superfluous,
 and used in early tests before the witness data has been
 validated or just to compute worst case sizes.  The size checks
 that use it would not behave any differently consensus wise
 if they were eliminated completely.

Its correct value is not independently settable but is a function
 of the weight limit and weight formula.

This patch just eliminates it and uses the scale factor as
 required to compute the worse case constants.

It also moves the weight factor out of primitives into consensus,
 which is a more logical place for it.
2017-07-14 19:24:17 +00:00
..
blockchain.cpp Clarify CCoinsViewMemPool documentation. 2017-06-27 14:47:07 -04:00
blockchain.h Remove unnecessary forward class declarations in header files 2017-06-12 20:37:43 +02:00
client.cpp Merge #10543: Change API to estimaterawfee 2017-07-11 15:36:56 +02:00
client.h rpc: Named argument support for bitcoin-cli 2017-01-10 12:04:54 +01:00
mining.cpp Remove confusing MAX_BLOCK_BASE_SIZE. 2017-07-14 19:24:17 +00:00
mining.h rpc: Move the generate RPC call to rpcwallet 2017-06-29 12:02:43 +02:00
misc.cpp document script-based return fields for validateaddress 2017-06-30 08:43:23 -04:00
net.cpp Merge #10710: REST/RPC example update 2017-07-06 18:17:51 +02:00
protocol.cpp Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
protocol.h Replace uses of boost::filesystem with fs 2017-04-03 12:32:32 +02:00
rawtransaction.cpp Use "replaceable" instead of "optintorbf" in createrawtransaction. 2017-07-05 18:11:19 -04:00
register.h Do not shadow global RPC table variable (tableRPC) 2016-08-25 15:02:26 +02:00
server.cpp Merge #10193: scripted-diff: Remove #include <boost/foreach.hpp> 2017-07-04 18:05:18 +02:00
server.h Remove unnecessary forward class declarations in header files 2017-06-12 20:37:43 +02:00