Skip to content

Commit

Permalink
btcd: bump maxWitnessItemsPerInput to 4M
Browse files Browse the repository at this point in the history
  • Loading branch information
reynico authored and champo committed Nov 1, 2022
1 parent 6b5418d commit e6fde89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wire/msgtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const (
// item: 1 byte for length + 1 byte for the witness item itself, or two
// bytes. This value is then divided by the currently allowed maximum
// "cost" for a transaction.
maxWitnessItemsPerInput = 500000
maxWitnessItemsPerInput = 4_000_000

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

0 comments on commit e6fde89

Please sign in to comment.