bitshares1-core icon indicating copy to clipboard operation
bitshares1-core copied to clipboard

RPC call similar to VOTE that will claim the yield on all accounts.

Open bytemaster opened this issue 10 years ago • 5 comments

It should merely withdraw a transaction fee from each unspent balance and have no deposits that require scanning.

bytemaster avatar Sep 22 '14 17:09 bytemaster

What should it do if the yield would be really small? I think it shouldn't claim the yield on any balance if that yield would be smaller than some user-specified minimum argument, which defaults to 2x the transaction fee.

drltc avatar Sep 23 '14 07:09 drltc

Closing, since #817 is a duplicate and already closed.

drltc avatar Oct 24 '14 20:10 drltc

#817 was closed for being a duplicate. We still do not have a command for withdrawing all yield.

vikramrajkumar avatar Oct 24 '14 21:10 vikramrajkumar

What's the use case? Wouldn't that just hurt someone by setting them back to the beginning of the yield curve?

drltc avatar Oct 24 '14 21:10 drltc

It's not clear to me that doing this would be strictly negative for someone, since, if all else is equal between two balances, the first one to claim yield will get more than the second one to claim. Since expected yield can decrease in this way, it seems handy for a person to be able to lock in their current expected yield by claiming it in all in one transaction.

@bytemaster can further comment on the motivation.

vikramrajkumar avatar Oct 24 '14 21:10 vikramrajkumar