compute wallet balance for supernode, and some of the ledger. Small cleanups as well
the BDM is always initialized