<commit_before>package scorex.crypto.ads.merkle

import java.io.File

import org.mapdb.{DBMaker, HTreeMap, Serializer}
import scorex.crypto.hash.CryptographicHash.Digest
import scorex.storage.Storage
import scorex.utils.ScorexLogging

import scala.util.{Failure, Success, Try}

class TreeStorage(fileName: String, levels: Int) extends Storage[(Int, Long), Array[Byte]] with ScorexLogging {

  import TreeStorage._

  private val dbs =<commit_msg>Mark tree storage as deprecatred<commit_after>package scorex.crypto.ads.merkle

import java.io.File

import org.mapdb.{DBMaker, HTreeMap, Serializer}
import scorex.crypto.hash.CryptographicHash.Digest
import scorex.storage.Storage
import scorex.utils.ScorexLogging

import scala.util.{Failure, Success, Try}

@deprecated("Use tree storage from scrypto library", "1.2.2")
class TreeStorage(fileName: String, levels: Int) extends Storage[(Int, Long), Array[Byte]] with ScorexLogging {

  import TreeStorage._

  private val dbs =
{'fraction_non_alphanumeric': 0.10071942446043165, 'fraction_numerical': 0.003083247687564234, 'mean_word_length': 5.957142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6817786', 'n_tokens_mistral': 311, 'n_tokens_neox': 309, 'n_words': 79}