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

Detect `bad-txns-oversize` quickly (before generating proofs). #1970

Open
ceozero opened this Issue Dec 30, 2016 · 3 comments

Comments

@ceozero
Copy link

ceozero commented Dec 30, 2016

{
"id" : "opid-c6bbc0f4-368f-469e-9dd5-8292a2d4898c",
"status" : "failed",
"creation_time" : 1483123182,
"error" : {
"code" : -26,
"message" : "16: bad-txns-oversize"
}

How to solve

@nathan-at-least nathan-at-least changed the title How coins are transferred to the Z address Detect `bad-txns-oversize` quickly (before generating proofs). Jan 3, 2017

@nathan-at-least

This comment has been minimized.

Copy link
Contributor

nathan-at-least commented Jan 3, 2017

@ceozero I assume you are using z_sendmany. The issue here is that z_sendmany created a transaction that's too large for consensus rules.

There are at least three reasons a transaction may be too large:

  • a large number of transparent outputs - caused by a large number of recipients
  • a large number of transparent inputs - caused by a large amount of transparent value
  • many JoinSplits (shielded ZEC transfers) - caused by a large amount of shielded value

Currently the best workarond for this issue is to use multiple transactions with smaller values (or fewer recipients). Please let us know if this kind of work-around works for you.

This is a known usability problem that we're working on several fixes. I've renamed this ticket to fix one of the most annoying aspects of this problem: the error message happens after a long transaction creation process.

@nathan-at-least

This comment has been minimized.

Copy link
Contributor

nathan-at-least commented Jan 3, 2017

Here is another issue that will help the wallet send larger transfers with smaller transactions: #1961

@ceozero

This comment has been minimized.

Copy link

ceozero commented Jan 3, 2017

This is the coin from the absentee workout to the Z address, I can not split them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment