Bug Description
ARC would not accept this despite it being within the /v1/policy size limits.
Steps to Reproduce
- Create a large transaction (this one was 63.3MB)
- Broadcast using an binary body with content type application/octet-stream
- 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"
}
Bug Description
ARC would not accept this despite it being within the /v1/policy size limits.
Steps to Reproduce
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" }