Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
src/script: fix max op_return relay size
Browse files Browse the repository at this point in the history
  • Loading branch information
Apple committed Feb 12, 2020
1 parent c26d899 commit d9a3abd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/script/standard.h
Expand Up @@ -28,10 +28,10 @@ class CScriptID : public uint160
};

/**
* Default setting for nMaxDatacarrierBytes. 80 bytes of data, +1 for OP_RETURN,
* Default setting for nMaxDatacarrierBytes. 256 bytes of data, +1 for OP_RETURN,
* +2 for the pushdata opcodes.
*/
static const unsigned int MAX_OP_RETURN_RELAY = 83;
static const unsigned int MAX_OP_RETURN_RELAY = 259;

/**
* A data carrying output is an unspendable output containing data. The script
Expand Down

0 comments on commit d9a3abd

Please sign in to comment.