Bitcoin Forum

Other => Beginners & Help => Topic started by: overthetop2011 on April 03, 2014, 09:32:47 AM



Title: The balance of BTC address is a negative number,why?
Post by: overthetop2011 on April 03, 2014, 09:32:47 AM
Hi guys, I found one balance of BTC address is negative , why?
  ???


Title: Re: The balance of BTC address is a negative number,why?
Post by: go4nature on April 03, 2014, 09:36:31 AM
It may be because of double spend.


Title: Re: The balance of BTC address is a negative number,why?
Post by: go4nature on April 03, 2014, 09:38:40 AM
Accounts and Receiving Addresses

Each account is associated with zero or more receiving addresses, and every receiving address is associated with exactly one account. Coins sent to a receiving address in the wallet are credited to the associated account.

Accounts are associated with receiving addresses by using the getaccountaddress, getnewaddress or setaccount methods.

getaccountaddress will return the same address until coins are received on that address; once coins have been received, it will generate and return a new address.

getnewaddress always generates and returns a new address.

setaccount changes the account associated with an existing address. Coins previously received on that address (if any) will be debited from the previous account's balance and credited to the address' new account. Note that doing so may make the previous account's balance negative.

Use the getaddressesbyaccount method to list all addresses associated with an account.


Title: Re: The balance of BTC address is a negative number,why?
Post by: overthetop2011 on April 03, 2014, 09:44:05 AM
Accounts and Receiving Addresses

Each account is associated with zero or more receiving addresses, and every receiving address is associated with exactly one account. Coins sent to a receiving address in the wallet are credited to the associated account.

Accounts are associated with receiving addresses by using the getaccountaddress, getnewaddress or setaccount methods.

getaccountaddress will return the same address until coins are received on that address; once coins have been received, it will generate and return a new address.

getnewaddress always generates and returns a new address.

setaccount changes the account associated with an existing address. Coins previously received on that address (if any) will be debited from the previous account's balance and credited to the address' new account. Note that doing so may make the previous account's balance negative.

Use the getaddressesbyaccount method to list all addresses associated with an account.
Awesome...

Thanks a lot.

 ;D


Title: Re: The balance of BTC address is a negative number,why?
Post by: Remember remember the 5th of November on April 03, 2014, 10:01:40 AM
Don't trust Blockchain.info too much, it's a piece of software that is prone to bugs due to database/hard drive failure.


Title: Re: The balance of BTC address is a negative number,why?
Post by: Onews1990 on April 03, 2014, 12:06:06 PM
Screenshot or it didn't happen. I have no idea but I am not so professional about BTC's though.


Title: Re: The balance of BTC address is a negative number,why?
Post by: softron on April 03, 2014, 12:31:46 PM
Mostly caused by a Double spend