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

RPC sendtoaddress, choose the newest coins/blocks #16

Open
BorisBP opened this issue Feb 20, 2014 · 1 comment
Open

RPC sendtoaddress, choose the newest coins/blocks #16

BorisBP opened this issue Feb 20, 2014 · 1 comment

Comments

@BorisBP
Copy link

BorisBP commented Feb 20, 2014

I have no idea how the sendtoaddress choose the coins/blocks to send in RPC, because there is no "coin control" features in RPC.

sendtoaddress <HoboNickelsaddress> <amount> [comment] [comment-to]

An option to choose the "newest blocks" can be good to allow oldest coins/blocks to stakes.

For me, my concern is: I'm running a pool. There is always some coins remaining on the hot wallet. They never stakes because the sendtoaddress command is sending the oldest one first (I think to lower the tx fees).

Maybe another command (I have no idea how the coin control feature work because I don't have a GUI) like sendrawtransaction, or another command to create a raw transaction from can be used, but right now, I don't have any idea.

@Tranz5
Copy link
Contributor

Tranz5 commented May 21, 2014

Meskalyn, sorry this took so long, yes this can be done via 3 commands.
listunspent
createrawtransaction
sendrawtransaction

This 2 pages may help.
http://wiki.hobonickels.info/index.php?title=RPC_Commands
https://cryptocointalk.com/topic/6681-signrawtransaction-multisig/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants