func (w *SeedWallet) Balance(limbo bool) types.Currency {
	return SumOutputs(w.UnspentOutputs(limbo))
}
Balance returns the siacoin balance of the wallet. If the limbo flag is true,
the balance reflects any transactions currently in Limbo.
package wallet
import (
	"errors"
	"reflect"
	"sync"
	"go.sia.tech/siad/crypto"
	"go.sia.tech/siad/modules"
	"go.sia.tech/siad/types"
	"lukechampine.com/frand"
	"lukechampine.com/us/ed25519hash"
)
type SeedWallet struct {
	store Store
	mu    sync.Mutex
}
type seedWalletSubscriber struct {
	*SeedWallet
	cs ChainStore
}
func (s seedWalletSubscriber) ProcessConsensusChange(cc modules.ConsensusChange) {
	s.mu.Lock()
	s.cs.ApplyConsensusChange(FilterConsensusChange(cc, s.store, s.store.ChainHeight()))
	s.mu.Unlock()
}
func (w *SeedWallet) ConsensusSetSubscriber(store ChainStore) modules.ConsensusSetSubscriber {
	return seedWalletSubscriber{
		SeedWallet: w,
		cs:         store,
	}
}