Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxWitnessItemSize too low for TX 7393096d97bfee8660f4100ffd61874d62f9a65de9fb6acf740c4c386990ef73 #1897

Closed
grisha opened this issue Oct 10, 2022 · 4 comments

Comments

@grisha
Copy link
Contributor

grisha commented Oct 10, 2022

readScript: script witness item is larger than the max allowed size [count 33970, max 11000]

This line here:

https://github.com/btcsuite/btcd/blob/master/wire/msgtx.go#L109

I upped it to 40000 and it worked for me, but I'm using btcd for a rather unusual application and don't know what else upping this might break.

HTH

@guggero
Copy link
Collaborator

guggero commented Oct 10, 2022

Fixed by #1896.

@Clodo76
Copy link

Clodo76 commented Oct 10, 2022

I also have this issue, in production, stucked at block 757921.
If i try to update btcd, throw

#GO111MODULE=on go install -v . ./cmd/...
go: errors parsing go.mod:
/home/myuser/go/src/github.com/btcsuite/btcd/go.mod:35: unknown block type: retract

what i can do? thanks

@guggero
Copy link
Collaborator

guggero commented Oct 10, 2022

Use golang 1.18 or later to build btcd.

@Clodo76
Copy link

Clodo76 commented Oct 10, 2022

Use golang 1.18 or later to build btcd.

Thank you, i resolved.
"Go" under official Debian repo (the latest, Debian 11 Bullseye) is still 1.17, i installed Go 1.19.2 without Debian repo (if anyone have the same issue).

@grisha grisha closed this as completed Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants