mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Move Cash into new contracts subfolder, move base code into core
This commit is contained in:
parent
d7a5289c3d
commit
847770ed2e
@ -1,3 +1,4 @@
|
||||
import core.*
|
||||
import java.security.PublicKey
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
@ -1,3 +1,5 @@
|
||||
package core
|
||||
|
||||
import java.math.BigDecimal
|
||||
import java.util.*
|
||||
import kotlin.math.div
|
@ -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) {
|
@ -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?)
|
@ -1,3 +1,5 @@
|
||||
package core
|
||||
|
||||
import java.security.PublicKey
|
||||
import java.security.Timestamp
|
||||
|
@ -1,3 +1,5 @@
|
||||
package core
|
||||
|
||||
import java.math.BigInteger
|
||||
import java.security.PublicKey
|
||||
import kotlin.test.fail
|
@ -1,3 +1,5 @@
|
||||
package core
|
||||
|
||||
import com.google.common.io.BaseEncoding
|
||||
import java.util.*
|
||||
|
@ -1,3 +1,4 @@
|
||||
import core.*
|
||||
import org.junit.Test
|
||||
import kotlin.test.assertEquals
|
||||
import kotlin.test.assertFailsWith
|
Loading…
Reference in New Issue
Block a user