mirror of
https://github.com/corda/corda.git
synced 2025-01-25 21:59:22 +00:00
Minor: delete dead test-related code from Services.kt
This commit is contained in:
parent
3f19842632
commit
1bd63c030c
@ -9,7 +9,6 @@
|
|||||||
package core
|
package core
|
||||||
|
|
||||||
import core.crypto.SecureHash
|
import core.crypto.SecureHash
|
||||||
import core.crypto.generateKeyPair
|
|
||||||
import core.messaging.MessagingService
|
import core.messaging.MessagingService
|
||||||
import core.messaging.NetworkMap
|
import core.messaging.NetworkMap
|
||||||
import java.io.InputStream
|
import java.io.InputStream
|
||||||
@ -84,14 +83,6 @@ interface KeyManagementService {
|
|||||||
fun freshKey(): KeyPair
|
fun freshKey(): KeyPair
|
||||||
}
|
}
|
||||||
|
|
||||||
// Smart contracts may wish to specify explicitly which timestamping authorities are trusted to assert the time.
|
|
||||||
// We define a dummy authority here to allow to us to develop prototype contracts in the absence of a real authority.
|
|
||||||
// The timestamper itself is implemented in the unit test part of the code (in TestUtils.kt).
|
|
||||||
object DummyTimestampingAuthority {
|
|
||||||
val key = generateKeyPair()
|
|
||||||
val identity = Party("The dummy timestamper", key.public)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A sketch of an interface to a simple key/value storage system. Intended for persistence of simple blobs like
|
* A sketch of an interface to a simple key/value storage system. Intended for persistence of simple blobs like
|
||||||
* transactions, serialised protocol state machines and so on. Again, this isn't intended to imply lack of SQL or
|
* transactions, serialised protocol state machines and so on. Again, this isn't intended to imply lack of SQL or
|
||||||
|
Loading…
x
Reference in New Issue
Block a user