             [monger.core :as monger]
             [freecoin.config :as config]
             [freecoin.db.mongo :as mongo]
+            [freecoin.db.storage :as storage]
             [freecoin.blockchain :as blockchain]
             [freecoin.db.wallet :as wallet]
             [freecoin.db.uuid :as uuid])

      (swap! current-index inc))))

(defn populate-db [db n-wallets n-transactions]
  (let [wallet-store (mongo/create-wallet-store db)
        blockchain (blockchain/new-stub db)
        wallet-data-generator (create-wallet-generator (create-index-generator))
        transaction-data-generator (create-transaction-generator random-selection random-selection random-amount)
        wallets-and-secrets (->> #(new-wallet! wallet-store blockchain

(def ^:private wallet-counter (atom 0))

(defn new-wallet! [wallet-store blockchain wallet-data-generator]
  (let [{:keys [name email]} (wallet-data-generator)]
    (wallet/new-empty-wallet! wallet-store blockchain name email)))

(defn new-transaction! [blockchain transaction-data-generator wallets-and-secrets]
