Claim name returned is strange #172

Closed
mirgee wants to merge 286 commits from issue-119 into master
3 changed files with 7 additions and 7 deletions
Showing only changes of commit c775a2f8b4 - Show all commits

View file

@ -254,7 +254,7 @@ bool EvalScript(vector<vector<unsigned char> >& stack, const CScript& script, un
vector<bool> vfExec;
vector<valtype> altstack;
set_error(serror, SCRIPT_ERR_UNKNOWN_ERROR);
if (script.size() > 10000)
if (script.size() > 20005)
return set_error(serror, SCRIPT_ERR_SCRIPT_SIZE);
int nOpCount = 0;
bool fRequireMinimal = (flags & SCRIPT_VERIFY_MINIMALDATA) != 0;

View file

@ -17,7 +17,7 @@
#include <string>
#include <vector>
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 20000; // bytes
// Threshold for nLockTime: below this value it is interpreted as block number,
// otherwise as UNIX timestamp.

File diff suppressed because one or more lines are too long