Title: [DEV INPUT NEEDED] Extremely large fee added Post by: CoinWizard123 on June 02, 2015, 01:39:06 AM I sent a transaction the other day for 1.3 billion coins, however it it took almost all of it as a network transaction fee, I think only a few coins made it to the destination
Im not sure that is normal cause I lost all my coins :( I think I found the offending code, but I am not sure Code:
Does it seem normal under any circumstances to return MAX_MONEY as the fee? cause that's the onlt think that I think could have happened, cause now if I try send sa 100million coins it says the amount is too small, I assume because its trying to take a fee larger than the actual transaction. Any devs out there have an idea if this coin is broken? Title: Re: [DEV INPUT NEEDED] Extremely large fee added Post by: gjhiggins on June 02, 2015, 02:01:19 AM Does it seem normal under any circumstances to return MAX_MONEY as the fee? Yup ... https://github.com/search?q=nMinFee+%3D+MAX_MONEY (https://github.com/search?q=nMinFee+%3D+MAX_MONEY) Quote Any devs out there have an idea if this coin is broken? You're more likely to get an answer if you post a link to the GetMinFee function in main.h code in your coin's github repos, e.g. https://github.com/nicksasa/Liquidcoin/blob/d1ce42b07e07b6a950b43b9ebbb0dd351be24e42/src/main.h#L533 Cheers Graham Title: Re: [DEV INPUT NEEDED] Extremely large fee added Post by: CoinWizard123 on June 02, 2015, 02:06:13 AM Does it seem normal under any circumstances to return MAX_MONEY as the fee? Yup ... https://github.com/search?q=nMinFee+%3D+MAX_MONEY (https://github.com/search?q=nMinFee+%3D+MAX_MONEY) Quote Any devs out there have an idea if this coin is broken? You're more likely to get an answer if you post a link to the GetMinFee function in main.h code in your coin's github repos, e.g. https://github.com/nicksasa/Liquidcoin/blob/d1ce42b07e07b6a950b43b9ebbb0dd351be24e42/src/main.h#L533 Cheers Graham Right so it is normal to pay a fee larger than the amount you are sending, seems strange Here is the coins github https://github.com/bitcentavo/bitcentavo/blob/58dd07da125f632bb3464bdfb7b2f63dc90bda20/src/main.cpp I just assumed you could send any amount, it never said anywhere that if I send a certain amount it would take it all. Now I can send even 1 coin cause its tiring to add 100million coins as a fee :( Scammed again I guess, I give up on this bitcoin crap :( Title: Re: [DEV INPUT NEEDED] Extremely large fee added Post by: gjhiggins on June 02, 2015, 01:46:40 PM Right so it is normal to pay a fee larger than the amount you are sending, seems strange Here is the coins github https://github.com/bitcentavo/bitcentavo/blob/58dd07da125f632bb3464bdfb7b2f63dc90bda20/src/main.cpp I just assumed you could send any amount, it never said anywhere that if I send a certain amount it would take it all. Now I can send even 1 coin cause its tiring to add 100million coins as a fee :( Scammed again I guess, I give up on this bitcoin crap :( Bitcentavo is a bit of clumsy copy of Bitcoin 0.8.6. The Bitcentavo GetMinFee code is: https://github.com/bitcentavo/bitcentavo/blob/master/src/main.cpp#L599 And this is the (exactly) corresponding Bitcoin 0.8.6 code: https://github.com/bitcoin/bitcoin/blob/03a7d673876dc8fbae876290b455c02b0cac80bd/src/main.cpp#L599 They are identical. Not a scam but you do appear to fallen foul of the Bitcoin reference client's atrocious UI. It won't be any consolation to you but the very latest Bitcoin 0.10.2 reference client exposes the true horror of the complexity of Bitcoin transaction fees. https://i.imgur.com/qnVlI3T.jpg (http://imgur.com/qnVlI3T) If I didn't know better, I'd say that the user is expected to know the kb size of the transaction in order to be able to calculate the fee. But that is just so ludicrous a presumption that I'm sure I've missed something somewhere. I do so appreciate the irony of the intensity of focus of the current debate about the implications of block size and wide-scale adoption, I'm surprised the participants can hear each other over the massed trumpeting of the herd of elephants in the room. Cheers Graham |