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

[BUG] Unable to broadcast large transaction #789

Open
sirdeggen opened this issue Feb 22, 2025 · 0 comments
Open

[BUG] Unable to broadcast large transaction #789

sirdeggen opened this issue Feb 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@sirdeggen
Copy link
Collaborator

Bug Description

ARC would not accept this despite it being within the /v1/policy size limits.

Steps to Reproduce

  1. Create a large transaction (this one was 63.3MB)
  2. Broadcast using an binary body with content type application/octet-stream
  3. Send the same tx later to Bitails endpoint: https://api.bitails.io/tx/broadcast/multipart as form data body type setting the item "raw" to value: the same file.

Expected Behavior

ARC should decode the large transaction and broadcast it to nodes as usual.

Actual Behavior

502 Bad Gateway error from TAAL

Tried text/plain too:

{
	"detail": "The request seems to be malformed and cannot be processed",
	"extraInfo": "error parsing transaction from request: encoding/hex: invalid byte: U+0001",
	"instance": null,
	"status": 400,
	"title": "Bad request",
	"txid": null,
	"type": "https://bitcoin-sv.github.io/arc/#/errors?id=_400"
}

Gorilla Pool

{
	"detail": "BEEF validation failed: couldn't validate Merkle Roots",
	"extraInfo": "arc error 469: rpc error: code = Unknown desc = pq: column b.is_longest does not exist",
	"instance": null,
	"status": 469,
	"title": "Merkle Roots validation failed",
	"txid": "42ebec231671c3e1a98bcbc8c3feecb06bb6cde45b4e1ef1aba17a2bc144aa1e",
	"type": "https://bitcoin-sv.github.io/arc/#/errors?id=_469"
}

Additional Information

Bitails response was as expected:

{
	"txid": "42ebec231671c3e1a98bcbc8c3feecb06bb6cde45b4e1ef1aba17a2bc144aa1e"
}
@sirdeggen sirdeggen added the bug Something isn't working label Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant