Bitcoin Forum
May 05, 2024, 01:48:41 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: sendfrom fails with amounts < 0.0001  (Read 513 times)
arosca (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 25, 2014, 03:50:47 PM
 #1

Does anyone know why the first call (BTC 1e-5) fails while the second one (BTC 1e-4) succeeds?

The default account has sufficient balance for either transaction, including any fees.

I was able to replicate this behavior with repeated calls and with different addresses. (All addresses are in the same wallet though)

Thanks!

Code:
>>> client.sendfrom('', 'mwL5MSSqxC6RF2Sw2ix96oM5p8nxQz1Ya2', 1e-5)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\jsonrpc\proxy.py", line 45, in __call__
    raise JSONRPCException(resp['error'])
JSONRPCException
>>> client.sendfrom('', 'mwL5MSSqxC6RF2Sw2ix96oM5p8nxQz1Ya2', 1e-4)
'091447498aef2fed9ea84a728455306ae677b0d70b53e3b97b6cccf098013b76'
1714873721
Hero Member
*
Offline Offline

Posts: 1714873721

View Profile Personal Message (Offline)

Ignore
1714873721
Reply with quote  #2

1714873721
Report to moderator
1714873721
Hero Member
*
Offline Offline

Posts: 1714873721

View Profile Personal Message (Offline)

Ignore
1714873721
Reply with quote  #2

1714873721
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714873721
Hero Member
*
Offline Offline

Posts: 1714873721

View Profile Personal Message (Offline)

Ignore
1714873721
Reply with quote  #2

1714873721
Report to moderator
1714873721
Hero Member
*
Offline Offline

Posts: 1714873721

View Profile Personal Message (Offline)

Ignore
1714873721
Reply with quote  #2

1714873721
Report to moderator
jonald_fyookball
Legendary
*
Offline Offline

Activity: 1302
Merit: 1004


Core dev leaves me neg feedback #abuse #political


View Profile
April 25, 2014, 08:27:00 PM
 #2

There's code in bitcoin to reject very small amounts (known as dust) on purpose to prevent
spamming (sending millions of transactions of 1 satoshi, etc).

arosca (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
April 25, 2014, 11:05:05 PM
 #3

Aah, that makes perfect sense, since the current dust limit is about 5.4e-5

Thanks!
Soappa
Hero Member
*****
Offline Offline

Activity: 569
Merit: 500



View Profile
April 26, 2014, 01:13:56 PM
 #4

There's code in bitcoin to reject very small amounts (known as dust) on purpose to prevent
spamming (sending millions of transactions of 1 satoshi, etc).

The dust threshold was introduced in 0.8.2 and was set at 5430 satoshi.
https://bitcointalk.org/index.php?topic=219504.0

Quote
0.8.2 Release notes

Fee Policy changes

The default fee for low-priority transactions is lowered from 0.0005 BTC
(for each 1,000 bytes in the transaction; an average transaction is
about 500 bytes) to 0.0001 BTC.
Payments (transaction outputs) of 0.543 times the minimum relay fee
(0.00005430 BTC) are now considered 'non-standard', because storing them
costs the network more than they are worth and spending them will usually
cost their owner more in transaction fees than they are worth.

Anyone knows whether the threshold has been changed after the min relay fee has been dropped in 0.9.0?

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!