Post
Topic
Board Announcements (Altcoins)
Re: [ANN][DCR] Decred - Hybrid PoW/PoS | btcsuite Devs | Tons of New Features | Go
by
skunk
on 06/08/2017, 08:33:08 UTC
hello,
sorry if i'm missing something obvious but if:
Code:
$ ./dcrctl --wallet listaccounts
{
  "default": 1475.0859285,
  "imported": 0
}
$ ./dcrctl --wallet getaccountaddress default
DsbSffXRkKPhX9LsajXceBg5WAwhemrTyoL
then why does the block explorer show a 0 balance?
thank you...

From devs on slack:

"well the default account can have millions of addresses
so looking up a single address on the block explorer will never work unless you send your entire balance to that single address"


"getaccountaddress simply doesn't do what that user expects.
it returns the next address from the acccount that hansn't been used yet
so of course the block explorer will show a 0 balance"
oh, ok, thank you...
i suppose there's no way to check the whole balance without querying directly the wallet then...