Bitcoin Forum
December 03, 2016, 09:52:22 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin RPC interface: sendfrom & tx fee  (Read 1636 times)
Artefact2
Full Member
***
Offline Offline

Activity: 124


View Profile WWW
May 10, 2011, 01:18:38 PM
 #1

Is it possible to explicitly set the transaction fee when transferring bitcoins with the "sendfrom" command ?

Also, is it possible to force the client to take the transaction fee only from the <from> account, and not from any other account ? The default behavior is very annoying in an application where every user has an account on the same wallet, and can transfer coins from/to it.

A pool-biased blockchain representation, by me: pident (WTFPL)
1480758742
Hero Member
*
Offline Offline

Posts: 1480758742

View Profile Personal Message (Offline)

Ignore
1480758742
Reply with quote  #2

1480758742
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480758742
Hero Member
*
Offline Offline

Posts: 1480758742

View Profile Personal Message (Offline)

Ignore
1480758742
Reply with quote  #2

1480758742
Report to moderator
winnetou
Sr. Member
****
Offline Offline

Activity: 361


View Profile
August 05, 2011, 02:21:05 AM
 #2

Also, is it possible to force the client to take the transaction fee only from the <from> account, and not from any other account ? The default behavior is very annoying in an application where every user has an account on the same wallet, and can transfer coins from/to it.

+1
vv01f
Sr. Member
****
Offline Offline

Activity: 314


View Profile
August 17, 2011, 09:26:29 PM
 #3

1. No, not in a single command. You'd need two commands.
2. Fees are taken from the sender as far as I understand?! Account is wallet in my mind, an account may have many many addresses, but thats checkable. Also other accounts may be listet with an address in your addressbook, but not your own account.

To set you transaction fee (even to zero) you need to start the client as server/daemon. read on that and list the help of that daemon to go on.
The same way you'll find how to check if an address is belonging to your account and e.g. list the addressbook.


have fun!

donations to me please send via bitcoin 1vvo1FDwSAwNdLVA1mFkM7v76XPZAAUfb
a good European exchange: bitcoin.de (ref-link)
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
August 18, 2011, 05:25:58 AM
 #4

In my opinion, the whole account system needs to be removed from the code.  You really should stop using it.

Just track who you give addresses to, and who initiates sends.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
d'aniel
Sr. Member
****
Offline Offline

Activity: 461


View Profile
August 18, 2011, 07:18:51 AM
 #5

In my opinion, the whole account system needs to be removed from the code.  You really should stop using it.
If the client could better handle multiple wallets, would this achieve exactly the same purpose as accounts?
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
August 18, 2011, 11:46:18 AM
 #6

In my opinion, the whole account system needs to be removed from the code.  You really should stop using it.
If the client could better handle multiple wallets, would this achieve exactly the same purpose as accounts?

No, you don't need multiple wallets, or multiple accounts, or anything fancy.  You just need to take notes whenever you give out an address, and whenever you spend.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
2112
Legendary
*
Offline Offline

Activity: 1708



View Profile
August 18, 2011, 04:39:42 PM
 #7

In my opinion, the whole account system needs to be removed from the code.  You really should stop using it.
This is very wise opinion. From the accounting/auditing point of view the present wallet model is badly broken. Transactions should be stored in a sequential csv file that is instantly usable by any of the accounting packages for businesses or consumers.

Since the wallet.dat database is essentially append-only this would be relatively simple modification to the existing code. Berkeley DB already supports flat-text database files, but the database model need to be changed from Btree to RecNo.

Please comment, critique, criticize or ridicule BIP 2112: https://bitcointalk.org/index.php?topic=54382.0
Long-term mining prognosis: https://bitcointalk.org/index.php?topic=91101.0
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!