Skip to content

Commit e6fde89

Browse files
reynicochampo
authored andcommitted
btcd: bump maxWitnessItemsPerInput to 4M
1 parent 6b5418d commit e6fde89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wire/msgtx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const (
100100
// item: 1 byte for length + 1 byte for the witness item itself, or two
101101
// bytes. This value is then divided by the currently allowed maximum
102102
// "cost" for a transaction.
103-
maxWitnessItemsPerInput = 500000
103+
maxWitnessItemsPerInput = 4_000_000
104104

105105
// maxWitnessItemSize is the maximum allowed size for an item within
106106
// an input's witness data. This value is bounded by the largest

0 commit comments

Comments
 (0)