func (uts *UnapprovedTransactions) ForEach(callback ForEachKeyIteratorInterface) error {
	return uts.DB.forEachInBucket(unapprovedTransactionsBucket, callback)
}
execute functon for each key/value in the bucket
package database
import (
	"github.com/boltdb/bolt"
)
const unapprovedTransactionsBucket = "unapprovedtransactions"
type UnapprovedTransactions struct {
	DB *BoltDB
}
func (uts *UnapprovedTransactions) InitDB() error {
	err := uts.DB.db.Update(func(tx *bolt.Tx) error {
		_, err := tx.CreateBucket([]byte(unapprovedTransactionsBucket))
		if err != nil {
			return err
		}
		return nil
	})
	if err != nil {
		return err
	}
	return nil
}