mirror of
https://github.com/corda/corda.git
synced 2025-05-15 15:02:55 +00:00
fast forward merge
This commit is contained in:
commit
88f584cac5
@ -30,5 +30,6 @@ interface TransactionsResolver {
|
|||||||
@Suspendable
|
@Suspendable
|
||||||
fun downloadDependencies(batchMode: Boolean)
|
fun downloadDependencies(batchMode: Boolean)
|
||||||
|
|
||||||
|
@Suspendable
|
||||||
fun recordDependencies(usedStatesToRecord: StatesToRecord)
|
fun recordDependencies(usedStatesToRecord: StatesToRecord)
|
||||||
}
|
}
|
@ -466,3 +466,5 @@ private class AttachmentURLConnection(url: URL, private val attachment: Attachme
|
|||||||
connected = true
|
connected = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -43,13 +43,13 @@ task dokkaJavadoc(type: org.jetbrains.dokka.gradle.DokkaTask) {
|
|||||||
includes = ['packages.md']
|
includes = ['packages.md']
|
||||||
jdkVersion = 8
|
jdkVersion = 8
|
||||||
externalDocumentationLink {
|
externalDocumentationLink {
|
||||||
url = new URL("http://fasterxml.github.io/jackson-core/javadoc/2.9/")
|
url = new URL("https://fasterxml.github.io/jackson-core/javadoc/2.9/")
|
||||||
}
|
}
|
||||||
externalDocumentationLink {
|
externalDocumentationLink {
|
||||||
url = new URL("https://docs.oracle.com/javafx/2/api/")
|
url = new URL("https://docs.oracle.com/javafx/2/api/")
|
||||||
}
|
}
|
||||||
externalDocumentationLink {
|
externalDocumentationLink {
|
||||||
url = new URL("http://www.bouncycastle.org/docs/docs1.5on/")
|
url = new URL("https://www.bouncycastle.org/docs/docs1.5on/")
|
||||||
}
|
}
|
||||||
internalPackagePrefixes.collect { packagePrefix ->
|
internalPackagePrefixes.collect { packagePrefix ->
|
||||||
packageOptions {
|
packageOptions {
|
||||||
|
@ -62,6 +62,8 @@ import net.corda.core.serialization.SingletonSerializeAsToken
|
|||||||
import net.corda.core.serialization.internal.AttachmentsClassLoaderCache
|
import net.corda.core.serialization.internal.AttachmentsClassLoaderCache
|
||||||
import net.corda.core.serialization.internal.AttachmentsClassLoaderCacheImpl
|
import net.corda.core.serialization.internal.AttachmentsClassLoaderCacheImpl
|
||||||
import net.corda.core.toFuture
|
import net.corda.core.toFuture
|
||||||
|
import net.corda.core.serialization.internal.AttachmentsClassLoaderCache
|
||||||
|
import net.corda.core.serialization.internal.AttachmentsClassLoaderCacheImpl
|
||||||
import net.corda.core.transactions.LedgerTransaction
|
import net.corda.core.transactions.LedgerTransaction
|
||||||
import net.corda.core.utilities.NetworkHostAndPort
|
import net.corda.core.utilities.NetworkHostAndPort
|
||||||
import net.corda.core.utilities.days
|
import net.corda.core.utilities.days
|
||||||
|
@ -94,6 +94,7 @@ class DbTransactionsResolver(private val flow: ResolveTransactionsFlow) : Transa
|
|||||||
logger.debug { "Downloaded ${sortedDependencies?.size} dependencies from remote peer for transactions ${flow.txHashes}" }
|
logger.debug { "Downloaded ${sortedDependencies?.size} dependencies from remote peer for transactions ${flow.txHashes}" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Suspendable
|
||||||
override fun recordDependencies(usedStatesToRecord: StatesToRecord) {
|
override fun recordDependencies(usedStatesToRecord: StatesToRecord) {
|
||||||
val sortedDependencies = checkNotNull(this.sortedDependencies)
|
val sortedDependencies = checkNotNull(this.sortedDependencies)
|
||||||
logger.trace { "Recording ${sortedDependencies.size} dependencies for ${flow.txHashes.size} transactions" }
|
logger.trace { "Recording ${sortedDependencies.size} dependencies for ${flow.txHashes.size} transactions" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user