Bitcoin Forum
May 14, 2024, 01:41:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "absurdly high fees"  (Read 1835 times)
shorena (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
November 15, 2015, 01:27:26 PM
Last edit: November 15, 2015, 02:20:23 PM by shorena
 #1

I had a problem with bitcoin core in the past that I was finally able to recreate on the testnet.

I tried to fuse several of my inputs into a single large output. I let bitcoin core determine the fee, but the TX was refuse with a message that indicated I tried to double spend. I knew it was not a double spend, so I just made a raw TX and pushed it via several services. The TX was confirmed quickly and I removed the conflicted one with zapwallettxes. I never understood the error message though.

Now on the testnet I finally had the idea to look into the debug.log and found:

Code:
2015-11-15 13:12:20 CommitTransaction:
CTransaction(hash=44645ad833, ver=1, vin.size=15, vout.size=1, nLockTime=605155)
    CTxIn(COutPoint(4901f65bec, 0), scriptSig=304402206c8bd444ef9bfa95, nSequence=4294967294)
    CTxIn(COutPoint(4a6d2d5d44, 0), scriptSig=3045022100e1b901fe7ca785, nSequence=4294967294)
    CTxIn(COutPoint(fabb3b1985, 1), scriptSig=304402203306d2e695d36916, nSequence=4294967294)
    CTxIn(COutPoint(dae574819e, 1), scriptSig=3044022038a769d8d9eb39aa, nSequence=4294967294)
    CTxIn(COutPoint(af93f5d5ef, 1), scriptSig=3044022039aa1cc0b7c246ba, nSequence=4294967294)
    CTxIn(COutPoint(2295152ff2, 5), scriptSig=3045022100d627eb8baa28b9, nSequence=4294967294)
    CTxIn(COutPoint(b29f5ed3ce, 0), scriptSig=3045022100ea8f46c9aef744, nSequence=4294967294)
    CTxIn(COutPoint(d882102bbf, 0), scriptSig=3044022067dc5121916b5b10, nSequence=4294967294)
    CTxIn(COutPoint(c8eaec76b7, 0), scriptSig=3045022100829c89c815fcc0, nSequence=4294967294)
    CTxIn(COutPoint(0755324b49, 0), scriptSig=3045022100bd583594ea8f1f, nSequence=4294967294)
    CTxIn(COutPoint(1d3ac7f037, 0), scriptSig=3045022100af2e2dae1647b3, nSequence=4294967294)
    CTxIn(COutPoint(855d8b3c13, 1), scriptSig=304502210091fb3631d05934, nSequence=4294967294)
    CTxIn(COutPoint(91d5b5523a, 1), scriptSig=3044022073abe8c0c51ffb5f, nSequence=4294967294)
    CTxIn(COutPoint(b0919fa31e, 0), scriptSig=30440220635f29f518770dbf, nSequence=4294967294)
    CTxIn(COutPoint(2972e0d935, 0), scriptSig=3045022100880fa0fbf2952d, nSequence=4294967294)
    CTxOut(nValue=51.61836368, scriptPubKey=OP_DUP OP_HASH160 e07254d65ea7)
2015-11-15 13:12:20 AddToWallet 44645ad8338862133c7c88f53283014737c8a71fd9895a2f54a30bea782042a2  new
2015-11-15 13:12:20 ERROR: AcceptToMemoryPool: absurdly high fees 44645ad8338862133c7c88f53283014737c8a71fd9895a2f54a30bea782042a2, 22580 > 20000
2015-11-15 13:12:20 CommitTransaction(): Error: Transaction not valid

When I try to create the TX with 1k satoshi per kbyte instead of 10k satoshi per kbyte I can send it just fine. I will probably get a confirmation as well.



I am however a bit unsure how to avoid this issue in the future as core regularly suggests a fee higher than 1k satoshi per kbyte, esp. in middle of spam attacks. I have a workaround by create a TX by hand, but I prefer using the client. Is this something I can modify with limitfreerelay or minrelaytxfee? Currently set to 1500 and 1 satoshi respectivly.

Update: Yes it confirmed quickly as expected. A smaller TX (~192 byte) can also pay a higher fee per byte. 10k satoshi per kbyte works fine if its a single input and a single output.

Update2: It seems that TX with fees above 10k satoshi are refused no matter the number of inputs or the size of the TX. -> https://i.imgur.com/DkxgvHl.png

Im not really here, its just your imagination.
1715694071
Hero Member
*
Offline Offline

Posts: 1715694071

View Profile Personal Message (Offline)

Ignore
1715694071
Reply with quote  #2

1715694071
Report to moderator
1715694071
Hero Member
*
Offline Offline

Posts: 1715694071

View Profile Personal Message (Offline)

Ignore
1715694071
Reply with quote  #2

1715694071
Report to moderator
Once a transaction has 6 confirmations, it is extremely unlikely that an attacker without at least 50% of the network's computation power would be able to reverse it.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715694071
Hero Member
*
Offline Offline

Posts: 1715694071

View Profile Personal Message (Offline)

Ignore
1715694071
Reply with quote  #2

1715694071
Report to moderator
achow101_alt
Sr. Member
****
Offline Offline

Activity: 268
Merit: 256


View Profile
November 16, 2015, 02:31:46 AM
 #2

According to the source code ( https://github.com/bitcoin/bitcoin/blob/b632145edeb376b4d1597f192ca00634f7d2866c/src/main.cpp#L944), an absurdly high fee is considered the minrelaytxfee * 10000. I suppose you can increase that by increasing your minrelaytxfee.

Honestly though, what is the point of having this? I thought high fees were a good thing.

Tip Me!: 1AQx99s7q1wVinbgXbA48BaZQVWpHe5gYM | My PGP Key: Fingerprint 0x17565732E08E5E41
shorena (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
November 16, 2015, 05:47:41 AM
 #3

According to the source code ( https://github.com/bitcoin/bitcoin/blob/b632145edeb376b4d1597f192ca00634f7d2866c/src/main.cpp#L944), an absurdly high fee is considered the minrelaytxfee * 10000. I suppose you can increase that by increasing your minrelaytxfee.

Honestly though, what is the point of having this? I thought high fees were a good thing.

Thanks, so by relaying even the lowest fee TX I hinder myself paying a higher fee. Odd indeed.

Im not really here, its just your imagination.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
November 16, 2015, 04:30:50 PM
 #4

According to the source code ( https://github.com/bitcoin/bitcoin/blob/b632145edeb376b4d1597f192ca00634f7d2866c/src/main.cpp#L944), an absurdly high fee is considered the minrelaytxfee * 10000. I suppose you can increase that by increasing your minrelaytxfee.

Honestly though, what is the point of having this? I thought high fees were a good thing.

I think it was added to prevent people accidentally broadcasting a transaction with fees of 100 BTC.
shorena (OP)
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
November 16, 2015, 07:59:11 PM
 #5

According to the source code ( https://github.com/bitcoin/bitcoin/blob/b632145edeb376b4d1597f192ca00634f7d2866c/src/main.cpp#L944), an absurdly high fee is considered the minrelaytxfee * 10000. I suppose you can increase that by increasing your minrelaytxfee.

Honestly though, what is the point of having this? I thought high fees were a good thing.

I think it was added to prevent people accidentally broadcasting a transaction with fees of 100 BTC.

I suspect the same, increased minrelaytxfee to 0.000001 and raised limitfreerelay to 150000 as well. This should still pretty much cover all TX with low/no fee without hindering me paying a high fee when needed.

It also seems like there is a hard cap for fees of 0.1 BTC. I tried to spend 1 BTC as fee (testnet obviously) and it would not go over 0.1 not with 1, nor with 10 inputs.

Im not really here, its just your imagination.
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!