What does peercoin returns when you call this RPC command:
getbalance ""
The “” is the default account name, the account used when the dividends are sent.[/quote]
I am running peerunity-rc.
getbalance “” returns -320701.93000000.
listaccounts gives
{
"" : -320701.93000000,
"Peershares" : 110003.14950900,
"faucet" : 11.00000000,
"faucet2" : 212.00000000,
"faucet3" : 12.00000000,
"save1" : 614195.82000000,
"save2" : 243675.50999900,
"save3" : 574388.52999900,
"test1" : 19.01000000,
"test2" : 7.00000000,
"test3" : 10.00000000
}
Note that in my Receive page of peerunity there are 7 addresses with the label “Peershares”. The addresses after the first one (mzchSBbA64xnnMYMcKM4vWHqgxUgbAGFzF the one with balance in it ) were created after I pressed “export Peercoin keys” in Peershares after some change addresses were created as a result of Peershares transactions e.g. here.
I think the negative amount in “” has something to do with that it include changes. It certainly has little to do with the above PPC address associated with peershares.
edit:
these are the address under “Peershares” label in Receive of peerunity
"Peershares","mthktkKo6vhDmRq3EgBmbBJW9HtjTMNxHq"
"Peershares","mnV7rPxMCK7TyP1Na2ggcRD7JCNSm9Lx2e"
"Peershares","mh77qAVeBVcgvDvQeQ3kT4vAqiG7os1c14"
"Peershares","mzchSBbA64xnnMYMcKM4vWHqgxUgbAGFzF"
"Peershares","mu6UaXuqHE8Xb6oBhZ9U4eDpJZHMw4YW85"
"Peershares","mkdEV2ZKaYZVc7MhLSqPHMvhwo5G1YULLV"
"Peershares","mfsrvMro24harZTA11pzznPGuUZngJiVJD"
If I do a getaccountaddress Peershares
in peerunity console, I get mu6UaXuqHE8Xb6oBhZ9U4eDpJZHMw4YW85 , NOT mzch… the one associated with the PPC Peershares address I got for the first time when there were only one peershares address in peershares.