OutCast3k / coinbin

Javascript Bitcoin Wallet. Supports Multisig, Stealth, HD, SegWit, Bech32, Time Locked Addresses, RBF and more!
https://coinb.in/
MIT License
906 stars 621 forks source link

Cant broadcast transactions with 0 fee. #167

Closed btcch2 closed 5 years ago

btcch2 commented 6 years ago

Have error 66: min relay fee not met. Please help me with it.

dabura667 commented 6 years ago

add a fee

btcch2 commented 6 years ago

Thanks for answer but I need to create a transaction without commission

btcch2 commented 6 years ago

I need to create a transaction that will wait a long time for the first confirmation. I also tried to create a transaction lock time but received an error 64: non-final I took the blocks from here https://www.blockchain.com/ru/btc/blocks time from here https://www.epochconverter.com

dabura667 commented 6 years ago

you can't.

the only way to get a 0 fee transaction in a block is if you make the block yourself, or know a miner that makes blocks regularly.

dabura667 commented 6 years ago

for locktime, nSequence must be non-final.

anything < 0xffffffff should be fine.

btcch2 commented 6 years ago

Thank you. I just need to create a transaction that will be visible in the blockchain.com and the transaction will wait a long time for the first confirmation. how to do it?

dabura667 commented 6 years ago

you can't.

wait until BTC gets crowded, then send 1 satoshi/byte tx.

dabura667 commented 6 years ago

what is your use case? maybe there is a better way.

btcch2 commented 6 years ago

https://www.youtube.com/watch?v=ycq7O48aPvQ I'm trying to make a double spend. but the first transaction is confirmed too quickly.

dabura667 commented 6 years ago

What is the double spend for?

btcch2 commented 6 years ago

I make a video for youtube

yottalogical commented 5 years ago

Couldn't you just make two transactions, then broadcast them one after another?

yottalogical commented 5 years ago

The broadcast setting you've chose (or left default) requires that you put a certain fee in order for your transaction to be broadcasted. Broadcast your transaction using a different node service (maybe even one not listed on Coinbin) or by using your own node.

OutCast3k commented 5 years ago

Unfortunately its unlikely that your transaction will be processed at with a fee of 0.

Further more the coinb.in node doesn't accept transactions with a fee of 0. Minimum is 10 satoshis per transaction.

Its unlikely we will change this.