   "Value of `:data/type` that indicates an index tree node."
   :merkle-db/index)
 
-(def default-branching-factor
-  "The default number of children to limit each index node to."
-  256)
 
 ;; The branching factor determines the number of children an index node in the
 ;; data tree can have.

    #(= data-type (:data/type %))
    #(= (count (::children %))
        (inc (count (::keys %))))))






(defn- update-index-node!
  "Updates the given index node by applying the changes. Returns a tuple
  containing the resulting height and a sequence of updated and valid (but
  unpersisted) index nodes at that height."
  [store params carry index changes]
  (if (and (nil? carry) (empty? changes))
    ; No carry or changes to apply, pass-through node.
