Move Cash into new contracts subfolder, move base code into core

This commit is contained in:
Mike Hearn 2015-11-06 14:46:19 +01:00
parent d7a5289c3d
commit 847770ed2e
8 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,4 @@
import core.*
import java.security.PublicKey
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

View File

@ -1,3 +1,5 @@
package core
import java.math.BigDecimal
import java.util.*
import kotlin.math.div

View File

@ -1,7 +1,8 @@
package core
import com.google.common.io.BaseEncoding
import java.security.MessageDigest
import java.security.PublicKey
import java.util.*
// "sealed" here means there can't be any subclasses other than the ones defined here.
sealed class SecureHash(bits: ByteArray) : OpaqueBytes(bits) {

View File

@ -1,3 +1,5 @@
package core
// TODO: Make a decision on basic timestamping approach (use external TSAs? use fake TSA?)
// TODO: Think about how to expose time to the contract
// TODO: Pick a serialisation solution for the prototype (kryo?)

View File

@ -1,3 +1,5 @@
package core
import java.security.PublicKey
import java.security.Timestamp

View File

@ -1,3 +1,5 @@
package core
import java.math.BigInteger
import java.security.PublicKey
import kotlin.test.fail

View File

@ -1,3 +1,5 @@
package core
import com.google.common.io.BaseEncoding
import java.util.*

View File

@ -1,3 +1,4 @@
import core.*
import org.junit.Test
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith