Title: Create raw transaction by account name Post by: bgc17482 on August 03, 2017, 09:38:23 AM After I have done a transaction with create raw transaction, why are send operations done with my default address? Why not with account name?
https://bitcoin.stackexchange.com/questions/57514/why-can-not-we-see-the-send-operations-with-the-listtransaction-command Title: Re: Create raw transaction by account name Post by: DannyHamilton on August 03, 2017, 01:54:58 PM Clicking on your link, it appears you are using and asking about a litecoin wallet. This should be in the altcoin sub-forum, not Technical Support.
That being said, the "createrawtransaction" does not work with accounts. It does not have an option for you to specify which account you are spending from. Therefore, all transactions sent that way are assigned to the default account. If you want a spend to be debited from a specific account, then you can use "move" after sending your raw transaction, or you can use "sendfrom" or "sendmany". Note that the account functionality is deprecated in bitcoin and will be going away in the future. You should stop using it and implement your own accounting system outside of the bitcoin client if you need to manage accounts. Title: Re: Create raw transaction by account name Post by: bgc17482 on August 04, 2017, 07:47:53 AM Thank you very much for your reply.
What we want to do is to create a custom TXID for the users' own addresses and do the operations at their own address. We do not manage transaction fees when using sendfrom. Where did you get the information to be deprecated at Bitcoin in the future? We are waiting for your help, thank you. Title: Re: Create raw transaction by account name Post by: DannyHamilton on August 04, 2017, 01:14:15 PM If you are unwilling to manage accounts outside the bitcoin client, then you will need to use the "move" command after you use the sendrawtransaction command.
|