Bitcoin Forum
April 19, 2024, 08:11:21 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: negative balance - transaction broken now?  (Read 1296 times)
doldgigger (OP)
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
July 15, 2011, 04:36:47 AM
 #1

I accidently created a negative balance in one account of my wallet as I sent the complete balance using "sendfrom" and a transaction fee was charged unexpectedly. As I found the transaction would not be processed, I found this thread: http://forum.bitcoin.org/index.php?topic=5909.msg358186 and came to the conclusion that I should make the balance positive again by moving funds from other accounts. I did this (having a balance of 0 now on the account where I sent from), but at this point (nearly 2 days later) the transaction is still unconfirmed. Can I still get the transaction processed somehow, or at least recover the funds?

19orEcoqXQ5bzKbzbAnbQrCkQC5ahSh4P9
Feel free to PM me for consulting and development services.
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713557481
Hero Member
*
Offline Offline

Posts: 1713557481

View Profile Personal Message (Offline)

Ignore
1713557481
Reply with quote  #2

1713557481
Report to moderator
1713557481
Hero Member
*
Offline Offline

Posts: 1713557481

View Profile Personal Message (Offline)

Ignore
1713557481
Reply with quote  #2

1713557481
Report to moderator
1713557481
Hero Member
*
Offline Offline

Posts: 1713557481

View Profile Personal Message (Offline)

Ignore
1713557481
Reply with quote  #2

1713557481
Report to moderator
kookiekrak
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
July 15, 2011, 04:47:09 AM
 #2

if it didnt process, then either delete your blockchain or rescan it and you'll get your money back

FREE 100 GME if you post your Cryptsy TradeKey on the official GameCoinTalk forums

http://www.gamecointalk.org/index.php?topic=7.msg9#new
Pieter Wuille
Legendary
*
Offline Offline

Activity: 1072
Merit: 1174


View Profile WWW
July 15, 2011, 11:10:06 AM
 #3

Account balances have *no* relation to which coins are available. Coins are always selected from the total pool your bitcoind knows about, accounts are just an accounting tool.

Your total balance (which is the sum of all available coins) will always be positive, and if the client is able to create a transaction, it will be valid (though it could be a double spend, in which case it won't confirm).

In short: just keep your client open and connected, and a wait a bit; the transaction will confirm. The fact that it is slow has nothing to do with account balances in your own client.

I do Bitcoin stuff.
doldgigger (OP)
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
July 24, 2011, 12:35:27 PM
 #4

if it didnt process, then either delete your blockchain or rescan it and you'll get your money back
"Rescanning the blockchain" is done by running bitcoind with the -rescan flag, right? What exactly does it do when it encounters a missing transaction? Will it delete it from the wallet?

19orEcoqXQ5bzKbzbAnbQrCkQC5ahSh4P9
Feel free to PM me for consulting and development services.
jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
July 24, 2011, 04:43:05 PM
Last edit: July 24, 2011, 07:40:15 PM by jackjack
 #5

Rescanning the blockchain didn't solve the problem for me (forever unconfirmed transactions too)
I made a little python script, you may try it, it worked for me: https://github.com/jackjack-jj/walletco

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
doldgigger (OP)
Full Member
***
Offline Offline

Activity: 170
Merit: 100


View Profile
July 24, 2011, 05:51:27 PM
 #6

Account balances have *no* relation to which coins are available. Coins are always selected from the total pool your bitcoind knows about, accounts are just an accounting tool.

Your total balance (which is the sum of all available coins) will always be positive, and if the client is able to create a transaction, it will be valid (though it could be a double spend, in which case it won't confirm).

In short: just keep your client open and connected, and a wait a bit; the transaction will confirm. The fact that it is slow has nothing to do with account balances in your own client.


How long is "a bit"? The transaction is 11 days old by now. I think I have to fix it somehow - normally, transactions go through after one block for me.

By the way, as you are saying that coins are selected from the total pool, does this mean that accounts will not allow me to control which addresses the money I send is taken from? So I will need to have several wallets to do so?

19orEcoqXQ5bzKbzbAnbQrCkQC5ahSh4P9
Feel free to PM me for consulting and development services.
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!