Refactoring generators into src/, this allows us to reuse them in other projects

This commit is contained in:
Chris Stewart 2016-06-27 11:53:08 -05:00
parent deeea0c304
commit d30f53f901
19 changed files with 19 additions and 6 deletions

View File

@ -308,10 +308,6 @@ object UInt64 extends Factory[UInt64] with BitcoinSLogger with BaseNumbers[UInt6
}
def apply(num : BigInt): UInt64 = UInt64Impl(num)
}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.number
import org.bitcoins.core.gen.NumberGenerator
import org.scalacheck.{Prop, Properties}
import scala.util.Try

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.number
import org.bitcoins.core.gen.NumberGenerator
import org.scalacheck.{Prop, Properties}
import scala.util.Try

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.number
import org.bitcoins.core.gen.NumberGenerator
import org.bitcoins.core.util.{BitcoinSLogger, NumberUtil}
import org.scalacheck.{Gen, Prop, Properties}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.number
import org.bitcoins.core.gen.NumberGenerator
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{Prop, Properties}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{Prop, Properties}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.script
import org.bitcoins.core.gen.ScriptGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.transaction
import org.bitcoins.core.gen.TransactionGenerators
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{Prop, Properties}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.transaction
import org.bitcoins.core.gen.TransactionGenerators
import org.bitcoins.core.util.BitcoinSLogger
import org.scalacheck.{Prop, Properties}

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.protocol.transaction
import org.bitcoins.core.gen.TransactionGenerators
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,6 +1,7 @@
package org.bitcoins.core.serializers
import org.bitcoins.core.currency.{CurrencyUnitGenerator, Satoshis}
import org.bitcoins.core.currency.Satoshis
import org.bitcoins.core.gen.CurrencyUnitGenerator
import org.scalacheck.{Prop, Properties}
/**

View File

@ -1,5 +1,6 @@
package org.bitcoins.core.util
import org.bitcoins.core.gen.StringGenerators
import org.scalacheck.{Gen, Prop, Properties}
/**
* Created by chris on 6/20/16.

View File

@ -1,6 +1,6 @@
package org.bitcoins.core.util
import org.bitcoins.core.number.NumberGenerator
import org.bitcoins.core.gen.NumberGenerator
import org.scalacheck.{Prop, Properties}
/**