allow larger PUSHDATA for CC fulfillment

This commit is contained in:
Scott Sadler
2018-04-06 02:55:47 -03:00
parent 561f3e18c1
commit e625be68a9
5 changed files with 116 additions and 3 deletions

View File

@@ -19,6 +19,9 @@
static const unsigned int MAX_SCRIPT_ELEMENT_SIZE = 520; // bytes
// Max size of pushdata in a CC sig in bytes
static const unsigned int MAX_SCRIPT_CRYPTOCONDITION_FULFILLMENT_SIZE = 2048;
// Maximum script length in bytes
static const int MAX_SCRIPT_SIZE = 10000;