MOVEONLY: Move datacarrier defaults to policy.h

This commit is contained in:
Andrew Chow
2023-08-09 05:05:22 -04:00
parent 7a172c76d2
commit 8bbe257bac
2 changed files with 7 additions and 8 deletions

View File

@@ -16,16 +16,8 @@
#include <string>
#include <variant>
static const bool DEFAULT_ACCEPT_DATACARRIER = true;
class CScript;
/**
* Default setting for -datacarriersize. 80 bytes of data, +1 for OP_RETURN,
* +2 for the pushdata opcodes.
*/
static const unsigned int MAX_OP_RETURN_RELAY = 83;
enum class TxoutType {
NONSTANDARD,
// 'standard' transaction types: