zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 11:44:25 AM Last edit: September 06, 2017, 12:16:41 PM by zoltanb |
|
Hello, I am using the latest bitcoin-core, 0.14.2. I went to this page to estimate the transaction fees: https://bitcoinfees.21.co/api/v1/fees/recommendedAt the time of writing this post: fastestFee 300 So, I went and setup 300 / 100,000 as txfee: bitcoin-cli settxfee 0.003 true However, I can not send out anything. bitcoin-cli sendtoaddress 1FBpQU...............KyRLEu 0.0010 error code: -4 error message: Error: This transaction requires a transaction fee of at least 0.001122 What can be wrong here? Thank you.
|
|
|
|
BurtW
Legendary
Offline
Activity: 2646
Merit: 1137
All paid signature campaigns should be banned.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 02:01:02 PM |
|
You are correct. My mistake. If you would delete the embarrassing quote in your post I would appreciate it. Did not have my coffee yet this morning.
|
Our family was terrorized by Homeland Security. Read all about it here: http://www.jmwagner.com/ and http://www.burtw.com/ Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 04:41:21 PM |
|
I deleted the entire comment. Thanks again for your help. Can you please help me with one more thing. How do I backup my wallet? Is it safe if I simply copy and save wallet.dat into another location?
And one more question: can I create an unlimited number of addresses with the bitcoin-cli getnewaddress command? Or is there a limit?
|
|
|
|
vroom
Legendary
Offline
Activity: 1304
Merit: 1682
a Cray can run an endless loop in under 4 hours
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 05:06:39 PM |
|
to backup your wallet just copy wallet.dat. I prefer stopping bitcoind before doing that. don't forget to encrypt your wallet before storing it somewhere and don't lose your password.
and yes, I think there is no limit for generating new addresses. but if I remember correctly, you should make new backups from your wallet after generating addresses.
|
a Cray is the only computer that can run an endless loop in under 4 hours
|
|
|
BurtW
Legendary
Offline
Activity: 2646
Merit: 1137
All paid signature campaigns should be banned.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 05:12:47 PM |
|
don't forget to encrypt your wallet before storing it somewhere and don't lose your password.
and yes, I think there is no limit for generating new addresses. but if I remember correctly, you should make new backups from your wallet after generating addresses.
Yes, either: a) password protect your wallet, REMEMBER the password, then copy the wallet.dat file to a safe secure location. b) if you do not password encrypt the wallet (because you think you might forget the password) then copy the wallet.dat file to a save and VERY secure location where it cannot be accessed by anyone. Anyone getting this unprotected wallet.dat just needs to load it and steal your Bitcoins. No realistic limit on addresses. Yes, once you generate addresses then you need to back up in order to back up all your newly generated private keys.
|
Our family was terrorized by Homeland Security. Read all about it here: http://www.jmwagner.com/ and http://www.burtw.com/ Any donations to help us recover from the $300,000 in legal fees and forced donations to the Federal Asset Forfeiture slush fund are greatly appreciated!
|
|
|
odolvlobo
Legendary
Offline
Activity: 4438
Merit: 3341
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 05:24:44 PM |
|
Hello, I am using the latest bitcoin-core, 0.14.2. I went to this page to estimate the transaction fees: https://bitcoinfees.21.co/api/v1/fees/recommendedAt the time of writing this post: fastestFee 300 So, I went and setup 300 / 100,000 as txfee: bitcoin-cli settxfee 0.003 true However, I can not send out anything. bitcoin-cli sendtoaddress 1FBpQU...............KyRLEu 0.0010 error code: -4 error message: Error: This transaction requires a transaction fee of at least 0.001122 What can be wrong here? My guess is that you have less than 0.002122 BTC in your wallet (0.0010 plus the 0.001122 transaction fee).
|
Join an anti-signature campaign: Click ignore on the members of signature campaigns. PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:18:30 PM |
|
Thank you.
I have one more question. How can I have a negative balance on one of my addresses?
{ "": -0.05022840, "A": 0.00100000, "B": 0.04997900, "C": 0.00015600 }
How is this possible and how does bitcoin core handle this situation? In a real world environment, do I have to worry if I see some of my addresses have a negative balance? Thank you.
|
|
|
|
25hashcoin
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:21:45 PM |
|
Just use Bitcoin Cash, the real Bitcoin.
|
Bitcoin - Peer to Peer Electronic CASH
|
|
|
lite
Legendary
Offline
Activity: 1400
Merit: 1009
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:33:41 PM |
|
Thank you.
I have one more question. How can I have a negative balance on one of my addresses?
{ "": -0.05022840, "A": 0.00100000, "B": 0.04997900, "C": 0.00015600 }
How is this possible and how does bitcoin core handle this situation? In a real world environment, do I have to worry if I see some of my addresses have a negative balance? Thank you.
Is your wallet fully synced? no, you don't have to worry about negative balance, you will never have negative balance on bitcoin address. your input probably has been spent twice/it's a double spend transaction, it should resolve by itself. edit:
|
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:35:52 PM |
|
Thank you.
I have one more question. How can I have a negative balance on one of my addresses?
{ "": -0.05022840, "A": 0.00100000, "B": 0.04997900, "C": 0.00015600 }
How is this possible and how does bitcoin core handle this situation? In a real world environment, do I have to worry if I see some of my addresses have a negative balance? Thank you.
Is your wallet fully synced? no, you don't have to worry about negative balance, you will never have negative balance on bitcoin address. your input probably has been spent twice. I think it is fully synced. How can I check this? Also, how can I check the address of that empty "" negative account? Just to check on blockchain.info what could be the problem.
|
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:37:13 PM |
|
Thank you.
I have one more question. How can I have a negative balance on one of my addresses?
{ "": -0.05022840, "A": 0.00100000, "B": 0.04997900, "C": 0.00015600 }
How is this possible and how does bitcoin core handle this situation? In a real world environment, do I have to worry if I see some of my addresses have a negative balance? Thank you.
Is your wallet fully synced? no, you don't have to worry about negative balance, you will never have negative balance on bitcoin address. your input probably has been spent twice. And what does it mean it has been spent twice? I paid the same amount twice?
|
|
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 06:53:55 PM |
|
Doesn't looks like negative balance to me, it has 0.000155 btc(an unconfirmed transaction) you also have provided extremely low fees, the chances of it being confirmed is extremely low. Yes, I figured I set only a fee of "4.33 sat/B". Can I do anything to higher the fee to have this transaction confirmed? If not, not an issue, I am just testing now with small amounts. Also, since I have 4 addresses with different amounts in each address, when sending out BTC, will the "sendtoaddress" command select automatically the address(es) to optimize inputs and outputs? Or do I have to do it manually via the bitcoin-cli interface? If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? Thanks for all your help.
|
|
|
|
lite
Legendary
Offline
Activity: 1400
Merit: 1009
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 07:04:45 PM Last edit: September 06, 2017, 07:15:03 PM by lite |
|
Doesn't looks like negative balance to me, it has 0.000155 btc(an unconfirmed transaction) you also have provided extremely low fees, the chances of it being confirmed is extremely low. Yes, I figured I set only a fee of "4.33 sat/B". Can I do anything to higher the fee to have this transaction confirmed? If not, not an issue, I am just testing now with small amounts. Also, since I have 4 addresses with different amounts in each address, when sending out BTC, will the "sendtoaddress" command select automatically the address(es) to optimize inputs and outputs? Or do I have to do it manually via the bitcoin-cli interface? If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? Thanks for all your help. If you want to receive payments there other alternatives, you could use blockchain.info api,blocktrail,coinbase and many others. to fix your stuck transaction, i recommend reading this https://bitcointalk.org/index.php?topic=1802212.0
|
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 08:16:21 PM |
|
Doesn't looks like negative balance to me, it has 0.000155 btc(an unconfirmed transaction) you also have provided extremely low fees, the chances of it being confirmed is extremely low. Yes, I figured I set only a fee of "4.33 sat/B". Can I do anything to higher the fee to have this transaction confirmed? If not, not an issue, I am just testing now with small amounts. Also, since I have 4 addresses with different amounts in each address, when sending out BTC, will the "sendtoaddress" command select automatically the address(es) to optimize inputs and outputs? Or do I have to do it manually via the bitcoin-cli interface? If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? Thanks for all your help. If you want to receive payments there other alternatives, you could use blockchain.info api,blocktrail,coinbase and many others. to fix your stuck transaction, i recommend reading this https://bitcointalk.org/index.php?topic=1802212.0Thanks. Why would I use a 3rd party API when I can run my own node? What are the advantages? We explored blockchain.info, but their Gap limit of 20 is causing us problems. This is why we mainly started to look for other alternatives and decided to use our own node and the cli. Wrong?
|
|
|
|
lite
Legendary
Offline
Activity: 1400
Merit: 1009
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 06, 2017, 09:00:34 PM Last edit: September 06, 2017, 09:14:31 PM by lite |
|
Doesn't looks like negative balance to me, it has 0.000155 btc(an unconfirmed transaction) you also have provided extremely low fees, the chances of it being confirmed is extremely low. Yes, I figured I set only a fee of "4.33 sat/B". Can I do anything to higher the fee to have this transaction confirmed? If not, not an issue, I am just testing now with small amounts. Also, since I have 4 addresses with different amounts in each address, when sending out BTC, will the "sendtoaddress" command select automatically the address(es) to optimize inputs and outputs? Or do I have to do it manually via the bitcoin-cli interface? If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? Thanks for all your help. If you want to receive payments there other alternatives, you could use blockchain.info api,blocktrail,coinbase and many others. to fix your stuck transaction, i recommend reading this https://bitcointalk.org/index.php?topic=1802212.0Thanks. Why would I use a 3rd party API when I can run my own node? What are the advantages? We explored blockchain.info, but their Gap limit of 20 is causing us problems. This is why we mainly started to look for other alternatives and decided to use our own node and the cli. Wrong? Yes, you're right, sorry my bad. running full node is better, didn't knew that you'd already tried 3rd party api, it's good only for very small site. Also, since I have 4 addresses with different amounts in each address, when sending out BTC, will the "sendtoaddress" command select automatically the address(es) to optimize inputs and outputs? Or do I have to do it manually via the bitcoin-cli interface?
https://bitcoin.stackexchange.com/questions/1077/what-is-the-coin-selection-algorithmIf I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? I don't fully understand this? you could use sendmany, tx must have 3+ confirmation?
|
|
|
|
zoltanb (OP)
Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 162
Merit: 24
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 07, 2017, 07:08:04 AM |
|
If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? I don't fully understand this? you could use sendmany, tx must have 3+ confirmation?
Thanks. I assume that by using sendmany to 5 address, the fees I pay will be less than paying separately to 5 addresses, right?
|
|
|
|
NewBet
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 07, 2017, 07:38:03 AM |
|
Am I mistaken or do transaction not technically require fees? I was under the impression that 0 fee transactions were allowed, while definitely not advised for obvious reasons. But it is perfectly allowed to send 1 satoshi/byte for example (again, not recommended). I think this is why the fees were so high not long ago, because the exchanges force them up trying to push through transactions and avoid complaints, as well as keep their business flowing. This is why we need Lightning Network yesterday!
|
|
|
|
lite
Legendary
Offline
Activity: 1400
Merit: 1009
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 07, 2017, 01:15:37 PM |
|
If I will have hundreds of addresses where I receive payments, what is the general rule I can use to send out amounts to other hundreds of addresses? I don't fully understand this? you could use sendmany, tx must have 3+ confirmation?
Thanks. I assume that by using sendmany to 5 address, the fees I pay will be less than paying separately to 5 addresses, right? Yes, the fee you pay will be less when you use sendmany command. make sure you don't have too many inputs. check this tool out ( https://estimatefee.com).
|
|
|
|
voztata
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
September 13, 2017, 01:32:00 PM |
|
Am I mistaken or do transaction not technically require fees? I was under the impression that 0 fee transactions were allowed, while definitely not advised for obvious reasons. But it is perfectly allowed to send 1 satoshi/byte for example (again, not recommended). I think this is why the fees were so high not long ago, because the exchanges force them up trying to push through transactions and avoid complaints, as well as keep their business flowing. This is why we need Lightning Network yesterday!
Every transaction do requires a transaction fee that is worth about $5+, without it your transaction won’t be processed, talk less of being confirmed on the network. And you can’t send 1 Satoshi these days, because if you do, they will get lost. Some wallets allows a minimum of 0.005 (exclusion of fees).
|
|
|
|
|