Author

Topic: Create raw transaction by account name (Read 254 times)

legendary
Activity: 3472
Merit: 4801
August 04, 2017, 08:14:15 AM
#4
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.
newbie
Activity: 20
Merit: 0
August 04, 2017, 02:47:53 AM
#3
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.
legendary
Activity: 3472
Merit: 4801
August 03, 2017, 08:54:58 AM
#2
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.

newbie
Activity: 20
Merit: 0
August 03, 2017, 04:38:23 AM
#1
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

Jump to: