mirror of
https://github.com/corda/corda.git
synced 2025-02-06 19:19:19 +00:00
Minor: use "platform.*" as the naming hierarchy for protocols that are supposed to be standardised.
This commit is contained in:
parent
717651db45
commit
363b335896
@ -49,7 +49,7 @@ import java.time.Instant
|
|||||||
* To see an example of how to use this class, look at the unit tests.
|
* To see an example of how to use this class, look at the unit tests.
|
||||||
*/
|
*/
|
||||||
object TwoPartyTradeProtocol {
|
object TwoPartyTradeProtocol {
|
||||||
val TRADE_TOPIC = "com.r3cev.protocols.trade"
|
val TRADE_TOPIC = "platform.trade"
|
||||||
|
|
||||||
fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode,
|
fun runSeller(smm: StateMachineManager, timestampingAuthority: LegallyIdentifiableNode,
|
||||||
otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount,
|
otherSide: SingleMessageRecipient, assetToSell: StateAndRef<OwnableState>, price: Amount,
|
||||||
|
@ -55,7 +55,7 @@ class TimestamperNodeService(private val net: MessagingService,
|
|||||||
private val clock: Clock = Clock.systemDefaultZone(),
|
private val clock: Clock = Clock.systemDefaultZone(),
|
||||||
val tolerance: Duration = 30.seconds) {
|
val tolerance: Duration = 30.seconds) {
|
||||||
companion object {
|
companion object {
|
||||||
val TIMESTAMPING_PROTOCOL_TOPIC = "dlg.timestamping.request"
|
val TIMESTAMPING_PROTOCOL_TOPIC = "platform.timestamping.request"
|
||||||
|
|
||||||
private val logger = LoggerFactory.getLogger(TimestamperNodeService::class.java)
|
private val logger = LoggerFactory.getLogger(TimestamperNodeService::class.java)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user