<commit_before>package examples.curvepos

import java.math.BigInteger

import examples.curvepos.transaction.{SimpleBlock, SimpleTransaction}
import scorex.core.NodeViewComponentCompanion
import scorex.core.consensus.{BlockChain, History}
import scorex.core.consensus.History.{BlockId, RollbackTo}
import scorex.core.transaction.box.proposition.PublicKey25519Proposition

import scala.collection.concurrent.TrieMap
import scala.util.Try


class SimpleBlockchain
  extends BlockChain[PublicKey25519Proposition, SimpleTransaction, SimpleBlock, SimpleBlockchain] {

  type Height = Int

  lazy val blocks = IndexedSeq[(BlockId, SimpleBlock)]()

  /**
    * Is there's no history, even genesis block
    *
    * @return
    */<commit_msg>unused imports fix<commit_after>package examples.curvepos

import examples.curvepos.transaction.{SimpleBlock, SimpleTransaction}
import scorex.core.NodeViewComponentCompanion
import scorex.core.consensus.BlockChain
import scorex.core.consensus.History.{BlockId, RollbackTo}
import scorex.core.transaction.box.proposition.PublicKey25519Proposition
import scala.util.Try


class SimpleBlockchain
  extends BlockChain[PublicKey25519Proposition, SimpleTransaction, SimpleBlock, SimpleBlockchain] {

  type Height = Int

  lazy val blocks = IndexedSeq[(BlockId, SimpleBlock)]()

  /**
    * Is there's no history, even genesis block
    *
    * @return
    */
{'fraction_non_alphanumeric': 0.08507570295602018, 'fraction_numerical': 0.014419610670511895, 'mean_word_length': 5.578199052132701, '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': '1372144', 'n_tokens_mistral': 421, 'n_tokens_neox': 393, 'n_words': 85}