-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Use the transaction builder to implement z_sendmany. #5458
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
Conversation
288f35e to
c64aa47
Compare
2459ab1 to
0454f0f
Compare
0454f0f to
6db48a1
Compare
This replaces the old implementation of asyncrpcoperation_sendmany with one where all transaction construction is delegated to the transaction builder. The capabilities of z_sendmany are somewhat modified in the process: * z_sendmany now permits sending funds from a Sprout address to both transparent and Sapling addresses. PRIVACY NOTE: When user sends a Sprout->Sapling transaction, the amount of the transaction is publicly revealed. * z_sendmany no longer supports transactions sending funds into the Sprout pool, with the exception of change amounts when sending from a Sprout address. * When sending transparent coinbase funds to a set of shielded addresses, the amount sent to recipients must fully consume the input value and no change is permitted. This is a slightly weaker constraint than was previously implemented; in the past, only a single shielded recipient was allowed.
6db48a1 to
9b36a56
Compare
|
CI is currently failing |
daira
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK modulo comments.
This adds an `allowRevealedAmounts` argument to z_sendmany. This flag must be present to allow an amount-revealing cross-pool transfer to be constructed.
0e298ad to
306fcf4
Compare
ded07df to
c90e857
Compare
Co-authored-by: Daira Hopwood <daira@jacaranda.org> Co-authored-by: str4d <jack@electriccoin.co>
df81a7b to
de58fc0
Compare
str4d
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK de58fc0
daira
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK de58fc0
Use the transaction builder to implement z_sendmany.
Fixes #5433