We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 511d703 commit 8c3d3b4Copy full SHA for 8c3d3b4
wire/msgtx.go
@@ -81,13 +81,13 @@ const (
81
// item: 1 byte for length + 1 byte for the witness item itself, or two
82
// bytes. This value is then divided by the currently allowed maximum
83
// "cost" for a transaction.
84
- maxWitnessItemsPerInput = 500000
+ maxWitnessItemsPerInput = 4000000
85
86
// maxWitnessItemSize is the maximum allowed size for an item within
87
// an input's witness data. This number is derived from the fact that
88
// for script validation, each pushed item onto the stack must be less
89
// than 10k bytes.
90
- maxWitnessItemSize = 11000
+ maxWitnessItemSize = 4000000
91
)
92
93
// scriptFreeList defines a free list of byte slices (up to the maximum number
0 commit comments