Bitcoin Forum

Economy => Web Wallets => Topic started by: dhavin on January 15, 2016, 05:17:11 PM



Title: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 05:17:11 PM
I'm using sendmany to try to pay 100 addresses at a time, which worked fine for the longest time but now reports an error in the subject when I try to pay them. It seems I can send 10 payments without an issue, but I have so many hundred payments to make, the fees will make it cost prohibitive. I don't want to pass fees on to my users if possible, is there a current work around for this problem? All users are getting at least 5460 satoshis; do I need to increase this?

Thanks!


Title: Re: Too Many Very Small Payments
Post by: achow101 on January 15, 2016, 05:18:55 PM
What is the error that you get?


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 05:24:19 PM
What is the error that you get?

bitchain.info returned: The Maximum Very Small Outputs Low Fee Exceeded (3)


Title: Re: Too Many Very Small Payments
Post by: BurtW on January 15, 2016, 05:33:28 PM
Sounds like you need to pay a larger fee due to the size of your transaction.


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 05:35:39 PM
Sounds like you need to pay a larger fee due to the size of your transaction.

Yes, any idea what that turns out to be? Where could I find that documentation?


Title: Re: Too Many Very Small Payments
Post by: BurtW on January 15, 2016, 05:57:03 PM
Sounds like you need to pay a larger fee due to the size of your transaction.

Yes, any idea what that turns out to be? Where could I find that documentation?
My Bitcoin Core wallet is showing that you need 0.00044347 BTC/kB for a confirmation in the next block.

How many blocks are you willing to wait?


Title: Re: Too Many Very Small Payments
Post by: shorena on January 15, 2016, 06:00:24 PM
Sounds like you need to pay a larger fee due to the size of your transaction.

Yes, any idea what that turns out to be? Where could I find that documentation?

Looks like the API does not allow for a fee estimation, so you have to pull it from a different source. There is a homepage that suggests fees, but I constantly forget the URL. Right now core suggests:

Code:
targetblock	fee per kb	Time: 18:56:53,65
1 0.00044343
2 0.00022275
3 0.00018866
4 0.00016587
5 0.00015035
6 0.00013897
7 0.00013897
8 0.00013897
9 0.00013897
10 0.00013897
11 0.00013897
12 0.00012507
13 0.00012507
14 0.00012507
15 0.00011411
16 0.00011411
17 0.00011411
18 0.00011411
19 0.00011411
20 0.00011411
21 0.00011411
22 0.00011411
23 0.00011411
24 0.00010502
25 0.00010502


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 07:37:58 PM
So the default fee is 10,000 satoshis. I'll try increasing that and see what happens.


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 07:44:56 PM
So the default fee is 10,000 satoshis. I'll try increasing that and see what happens.

An increase to 50,000 satoshi has no effect, same error. Any other thoughts?


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 07:52:11 PM
So the default fee is 10,000 satoshis. I'll try increasing that and see what happens.

An increase to 50,000 satoshi has no effect, same error. Any other thoughts?

Okay, so my recipient list was 7,610 bytes, I increased the fee to 80,000 to cover the size and received:

bitchain.info returned: The Maximum Very Small Outputs With Fee Exceeded (20)

...which is slightly different than the previous response. Is there a hard limit for number of recipients now if their payments are under a certain size? If so, what is that size?


Title: Re: Too Many Very Small Payments
Post by: shorena on January 15, 2016, 08:00:01 PM
So the default fee is 10,000 satoshis. I'll try increasing that and see what happens.

An increase to 50,000 satoshi has no effect, same error. Any other thoughts?

Okay, so my recipient list was 7,610 bytes, I increased the fee to 80,000 to cover the size and received:

bitchain.info returned: The Maximum Very Small Outputs With Fee Exceeded (20)

...which is slightly different than the previous response. Is there a hard limit for number of recipients now if their payments are under a certain size? If so, what is that size?

You use a specific API there are no such limits on the network itself. Its probably best to contact support. From the error I would assume the limit is 20.


Title: Re: Too Many Very Small Payments
Post by: achow101 on January 15, 2016, 08:03:40 PM
Looks like the API does not allow for a fee estimation, so you have to pull it from a different source. There is a homepage that suggests fees, but I constantly forget the URL. Right now core suggests:
This may be the site you are looking for: http://www.cointape.com/

An increase to 50,000 satoshi has no effect, same error. Any other thoughts?
Are you sure you are not sending dust amounts? The current dust amount is 0.0000273BTC (2730 satoshis I think).

Okay, so my recipient list was 7,610 bytes, I increased the fee to 80,000 to cover the size and received:

bitchain.info returned: The Maximum Very Small Outputs With Fee Exceeded (20)

...which is slightly different than the previous response. Is there a hard limit for number of recipients now if their payments are under a certain size? If so, what is that size?
Can you provide the raw hex of the transaction? I may be able to push through my node, and at the very least, I can decode it to see what is wrong.


Title: Re: Too Many Very Small Payments
Post by: dhavin on January 15, 2016, 08:15:09 PM
The lowest amount I'm sending is 5460 satoshi. I'll contact support, because sending 20 transactions with a minimum of 10k * bytes in size does work, but 21 does not.


Title: Re: Too Many Very Small Payments
Post by: greBit on January 23, 2016, 11:43:11 AM
What is the error that you get?

bitchain.info returned: The Maximum Very Small Outputs Low Fee Exceeded (3)

It would take transaction fee high to transact more value. Check the transaction range and faster transaction experience to send the high amount and big transaction. Check and change for the better experience.