Query regarding wallet, address and transaction
-
I have been playing with the block explorer and noticed something quite odd. I have two addresses in my wallet, but in the transactions a lot of inputs with addresses I have never seen are there.
I then tried to find the balance in each address using ‘getbalance’ command; and the balance it shows is different from the one I find using the explorer. I then used ‘sendfrom’ to send coins from one address only and the balance (with getbalance command’) reduces appropriately. However, the transaction again shows up with lots of inputs and the balance changes by a different amount in the explorer.
It seems if I trust my wallet only, it is consistent. If I trust the Explorer only thats consistent too. However, they seem to be at odds with one another.
Am I missing something basic here? Or is there some problem with either the wallet or the Explorer?
-
It’s called change, you cannot keep an amount in the address you are sending from, you must send the whole amount.
What’s left from your sending (lets say 1 FTC out of 3 FTC) will be 2 FTC sent to a new address automatically created and handled by your feathercoin client.
-
[quote name=“Mogumodz” post=“10989” timestamp=“1370693377”]
It’s called change, you cannot keep an amount in the address you are sending from, you must send the whole amount.What’s left from your sending (lets say 1 FTC out of 3 FTC) will be 2 FTC sent to a new address automatically created and handled by your feathercoin client.
[/quote]Thanks. That explains the multiple inputs.
Why do I see the difference when using Blockchain explorer and wallet getbalance?