From a7c0296f6b41ebf44e3ef94cdf10e5a97433272e Mon Sep 17 00:00:00 2001 From: Matthew Nesbit Date: Thu, 19 May 2016 12:07:14 +0100 Subject: [PATCH] Rename node.core to node.internal from Rick's suggestion not to use core outside of the core package. --- docs/build/html/api/alltypes/index.html | 16 +- .../api/api/-a-p-i-server-impl/-init-.html | 2 +- .../-a-p-i-server-impl/build-transaction.html | 4 +- .../commit-transaction.html | 4 +- .../fetch-protocols-requiring-attention.html | 4 +- .../api/-a-p-i-server-impl/fetch-states.html | 4 +- .../fetch-transactions.html | 4 +- .../generate-transaction-signature.html | 4 +- .../api/api/-a-p-i-server-impl/index.html | 20 +-- .../invoke-protocol-sync.html | 4 +- .../html/api/api/-a-p-i-server-impl/node.html | 2 +- .../provide-protocol-response.html | 4 +- .../api/-a-p-i-server-impl/query-states.html | 4 +- .../api/-a-p-i-server-impl/server-time.html | 2 +- .../-node-interest-rates/-service/-init-.html | 2 +- .../-node-interest-rates/-service/index.html | 2 +- .../api/core.node/-abstract-node/-init-.html | 2 +- ...-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html | 2 +- ...-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html | 2 +- .../_services-that-accept-uploads.html | 2 +- .../-abstract-node/advertised-services.html | 2 +- .../api/core.node/-abstract-node/api.html | 2 +- .../-abstract-node/configuration.html | 2 +- .../construct-storage-service.html | 4 +- .../api/core.node/-abstract-node/dir.html | 2 +- .../-abstract-node/find-my-location.html | 2 +- .../core.node/-abstract-node/identity.html | 2 +- .../in-node-network-map-service.html | 2 +- .../in-node-timestamping-service.html | 2 +- .../api/core.node/-abstract-node/index.html | 6 +- .../api/core.node/-abstract-node/info.html | 2 +- .../initial-network-map-address.html | 2 +- .../initialise-storage-service.html | 4 +- .../interest-rates-service.html | 2 +- .../-abstract-node/key-management.html | 2 +- .../api/core.node/-abstract-node/log.html | 2 +- .../-abstract-node/make-identity-service.html | 2 +- .../make-interest-rates-oracle-service.html | 2 +- .../make-messaging-service.html | 2 +- .../make-network-map-service.html | 2 +- .../make-timestamping-service.html | 2 +- .../api/core.node/-abstract-node/net.html | 2 +- .../-abstract-node/network-map-seq.html | 2 +- .../network-map-service-call-timeout.html | 2 +- .../-abstract-node/platform-clock.html | 2 +- .../-abstract-node/server-thread.html | 2 +- .../services-that-accept-uploads.html | 2 +- .../core.node/-abstract-node/services.html | 2 +- .../api/core.node/-abstract-node/smm.html | 2 +- .../start-messaging-service.html | 2 +- .../api/core.node/-abstract-node/start.html | 2 +- .../api/core.node/-abstract-node/stop.html | 2 +- .../api/core.node/-abstract-node/storage.html | 2 +- .../api/core.node/-abstract-node/wallet.html | 2 +- .../-configuration-exception/-init-.html | 2 +- .../-configuration-exception/index.html | 2 +- .../-node/-d-e-f-a-u-l-t_-p-o-r-t.html | 2 +- .../html/api/core.node/-node/-init-.html | 2 +- .../build/html/api/core.node/-node/index.html | 6 +- docs/build/html/api/core.node/-node/log.html | 2 +- .../-node/make-messaging-service.html | 2 +- .../html/api/core.node/-node/p2p-addr.html | 2 +- .../api/core.node/-node/server-thread.html | 2 +- .../-node/start-messaging-service.html | 2 +- .../build/html/api/core.node/-node/start.html | 2 +- docs/build/html/api/core.node/-node/stop.html | 2 +- .../html/api/core.node/-node/web-server.html | 2 +- .../-i-r-s-simulation/-init-.html | 2 +- .../core.testing/-i-r-s-simulation/index.html | 8 +- .../-i-r-s-simulation/iterate.html | 2 +- .../core.testing/-i-r-s-simulation/om.html | 2 +- .../core.testing/-i-r-s-simulation/start.html | 2 +- .../-default-factory/create.html | 4 +- .../-mock-network/-default-factory/index.html | 2 +- .../-mock-network/-factory/create.html | 4 +- .../-mock-network/-factory/index.html | 2 +- .../core.testing/-mock-network/-init-.html | 2 +- .../-mock-network/-mock-node/-init-.html | 2 +- .../-mock-node/find-my-location.html | 2 +- .../-mock-network/-mock-node/id.html | 2 +- .../-mock-network/-mock-node/index.html | 6 +- .../-mock-network/-mock-node/log.html | 2 +- .../-mock-node/make-identity-service.html | 2 +- .../-mock-node/make-messaging-service.html | 2 +- .../-mock-network/-mock-node/mock-net.html | 2 +- .../-mock-network/-mock-node/place.html | 2 +- .../-mock-node/server-thread.html | 2 +- .../-mock-node/start-messaging-service.html | 2 +- .../-mock-network/-mock-node/start.html | 2 +- .../-mock-network/address-to-node.html | 4 +- .../-mock-network/create-node.html | 4 +- .../-mock-network/create-two-nodes.html | 4 +- .../-mock-network/filesystem.html | 2 +- .../-mock-network/identities.html | 2 +- .../api/core.testing/-mock-network/index.html | 12 +- .../-mock-network/messaging-network.html | 2 +- .../api/core.testing/-mock-network/nodes.html | 2 +- .../-mock-network/run-network.html | 6 +- .../-simulation/-bank-factory/counter.html | 2 +- .../-simulation/-bank-factory/create-all.html | 2 +- .../-simulation/-bank-factory/create.html | 4 +- .../-simulation/-bank-factory/index.html | 2 +- .../api/core.testing/-simulation/-init-.html | 2 +- .../-network-map-node-factory/create.html | 4 +- .../-network-map-node-factory/index.html | 2 +- .../-rates-oracle-factory/create.html | 4 +- .../-rates-oracle-factory/index.html | 2 +- .../-regulator-factory/create.html | 4 +- .../-simulation/-regulator-factory/index.html | 2 +- .../-simulation/-simulated-node/-init-.html | 2 +- .../-simulated-node/find-my-location.html | 2 +- .../-simulation/-simulated-node/index.html | 2 +- .../-timestamping-node-factory/create.html | 4 +- .../-timestamping-node-factory/index.html | 2 +- .../-simulation/all-protocol-steps.html | 2 +- .../-simulation/bank-factory.html | 2 +- .../-simulation/bank-locations.html | 2 +- .../api/core.testing/-simulation/banks.html | 2 +- .../core.testing/-simulation/current-day.html | 2 +- .../-simulation/date-changes.html | 2 +- .../core.testing/-simulation/done-steps.html | 2 +- .../-simulation/extra-node-labels.html | 2 +- .../api/core.testing/-simulation/index.html | 8 +- .../api/core.testing/-simulation/iterate.html | 2 +- .../-simulation/latency-injector.html | 2 +- .../-simulation/link-consensus.html | 4 +- .../-simulation/link-protocol-progress.html | 4 +- .../core.testing/-simulation/network-map.html | 2 +- .../api/core.testing/-simulation/network.html | 2 +- .../-simulation/rates-oracle.html | 2 +- .../core.testing/-simulation/regulators.html | 2 +- .../core.testing/-simulation/run-async.html | 2 +- .../-simulation/service-providers.html | 2 +- .../-simulation/start-trading-circle.html | 4 +- .../api/core.testing/-simulation/start.html | 2 +- .../api/core.testing/-simulation/stop.html | 2 +- .../core.testing/-simulation/timestamper.html | 2 +- .../-trade-simulation/-init-.html | 2 +- .../core.testing/-trade-simulation/index.html | 8 +- .../core.testing/-trade-simulation/start.html | 2 +- .../-auto-offer-protocol/-handler/index.html | 2 +- .../-handler/register.html | 4 +- .../-exit-server-protocol/-handler/index.html | 2 +- .../-handler/register.html | 4 +- .../-handler/index.html | 2 +- .../-handler/register.html | 4 +- docs/build/html/api/index-outline.html | 156 +++++++++--------- .../node/{core => internal}/APIServerImpl.kt | 2 +- .../node/{core => internal}/AbstractNode.kt | 2 +- .../kotlin/node/{core => internal}/Node.kt | 2 +- .../testing/IRSSimulation.kt | 2 +- .../{core => internal}/testing/MockNode.kt | 4 +- .../{core => internal}/testing/Simulation.kt | 2 +- .../{core => internal}/testing/TestUtils.kt | 2 +- .../testing/TradeSimulation.kt | 2 +- .../services/clientapi/NodeInterestRates.kt | 2 +- .../messaging/ArtemisMessagingService.kt | 2 +- .../kotlin/node/servlets/DataUploadServlet.kt | 2 +- .../testing/example.rates.txt | 0 .../{core => internal}/testing/trade.json | 0 .../kotlin/node/messaging/AttachmentTests.kt | 2 +- .../node/messaging/InMemoryMessagingTests.kt | 2 +- .../messaging/TwoPartyTradeProtocolTests.kt | 2 +- .../services/InMemoryNetworkMapCacheTest.kt | 2 +- .../services/InMemoryNetworkMapServiceTest.kt | 2 +- .../node/services/NodeInterestRatesTest.kt | 2 +- .../node/services/NotaryServiceTests.kt | 2 +- src/main/kotlin/demos/IRSDemo.kt | 2 +- src/main/kotlin/demos/RateFixDemo.kt | 2 +- src/main/kotlin/demos/TraderDemo.kt | 2 +- .../demos/protocols/AutoOfferProtocol.kt | 2 +- .../demos/protocols/ExitServerProtocol.kt | 2 +- .../protocols/UpdateBusinessDayProtocol.kt | 2 +- .../kotlin/core/testing/IRSSimulationTest.kt | 2 +- 174 files changed, 315 insertions(+), 315 deletions(-) rename node/src/main/kotlin/node/{core => internal}/APIServerImpl.kt (99%) rename node/src/main/kotlin/node/{core => internal}/AbstractNode.kt (99%) rename node/src/main/kotlin/node/{core => internal}/Node.kt (99%) rename node/src/main/kotlin/node/{core => internal}/testing/IRSSimulation.kt (99%) rename node/src/main/kotlin/node/{core => internal}/testing/MockNode.kt (99%) rename node/src/main/kotlin/node/{core => internal}/testing/Simulation.kt (99%) rename node/src/main/kotlin/node/{core => internal}/testing/TestUtils.kt (94%) rename node/src/main/kotlin/node/{core => internal}/testing/TradeSimulation.kt (98%) rename node/src/main/resources/node/{core => internal}/testing/example.rates.txt (100%) rename node/src/main/resources/node/{core => internal}/testing/trade.json (100%) diff --git a/docs/build/html/api/alltypes/index.html b/docs/build/html/api/alltypes/index.html index 36c31fc70f..c5d370f7c6 100644 --- a/docs/build/html/api/alltypes/index.html +++ b/docs/build/html/api/alltypes/index.html @@ -25,13 +25,13 @@ if the terminal supports it. Otherwise it just prints out the name of the step w -node.core.APIServerImpl +node.internal.APIServerImpl -node.core.AbstractNode +node.internal.AbstractNode

A base node implementation that can be customised either for production (with real implementations that do real I/O), or a mock implementation suitable for unit test environments.

@@ -243,7 +243,7 @@ and to organise serializers / deserializers for java.time.* classes as necessary -node.core.ConfigurationException +node.internal.ConfigurationException @@ -534,7 +534,7 @@ that would divide into (eg annually = 1, semiannual = 2, monthly = 12 etc).

-node.core.testing.IRSSimulation +node.internal.testing.IRSSimulation

A simulation in which banks execute interest rate swaps with each other, including the fixing events.

@@ -775,7 +775,7 @@ MockNetwork code.

-node.core.testing.MockNetwork +node.internal.testing.MockNetwork

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem.

@@ -831,7 +831,7 @@ replace each other based on a serial number present in the change.

-node.core.Node +node.internal.Node

A Node manages a standalone server that takes part in the P2P network. It creates the services found in ServiceHub, loads important data off disk and starts listening for connections.

@@ -1187,7 +1187,7 @@ contained within.

-node.core.testing.Simulation +node.internal.testing.Simulation

Base class for network simulations that are based on the unit test / mock environment.

@@ -1335,7 +1335,7 @@ themselves.

-node.core.testing.TradeSimulation +node.internal.testing.TradeSimulation

Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other, then B and C trade with each other, then C and A etc).

diff --git a/docs/build/html/api/api/-a-p-i-server-impl/-init-.html b/docs/build/html/api/api/-a-p-i-server-impl/-init-.html index f3c40d288c..6690ee2e39 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/-init-.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/-init-.html @@ -7,7 +7,7 @@ api / APIServerImpl / <init>

<init>

-APIServerImpl(node: AbstractNode)
+APIServerImpl(node: AbstractNode)


diff --git a/docs/build/html/api/api/-a-p-i-server-impl/build-transaction.html b/docs/build/html/api/api/-a-p-i-server-impl/build-transaction.html index 8b1b2696fe..7c0449e677 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/build-transaction.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/build-transaction.html @@ -7,8 +7,8 @@ api / APIServerImpl / buildTransaction

buildTransaction

- -fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
+ +fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
Overrides APIServer.buildTransaction

TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder and a common contract type (e.g. Cash or CommercialPaper) diff --git a/docs/build/html/api/api/-a-p-i-server-impl/commit-transaction.html b/docs/build/html/api/api/-a-p-i-server-impl/commit-transaction.html index 02a272ddbc..b6a5b26d29 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/commit-transaction.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/commit-transaction.html @@ -7,8 +7,8 @@ api / APIServerImpl / commitTransaction

commitTransaction

- -fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
+ +fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
Overrides APIServer.commitTransaction

Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be successful, otherwise exception is thrown.

diff --git a/docs/build/html/api/api/-a-p-i-server-impl/fetch-protocols-requiring-attention.html b/docs/build/html/api/api/-a-p-i-server-impl/fetch-protocols-requiring-attention.html index 2de64a64ab..77bb4725e1 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/fetch-protocols-requiring-attention.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/fetch-protocols-requiring-attention.html @@ -7,8 +7,8 @@ api / APIServerImpl / fetchProtocolsRequiringAttention

fetchProtocolsRequiringAttention

- -fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
+ +fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
Overrides APIServer.fetchProtocolsRequiringAttention

Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).


diff --git a/docs/build/html/api/api/-a-p-i-server-impl/fetch-states.html b/docs/build/html/api/api/-a-p-i-server-impl/fetch-states.html index 34b6dc6244..e3bd8eece6 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/fetch-states.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/fetch-states.html @@ -7,8 +7,8 @@ api / APIServerImpl / fetchStates

fetchStates

- -fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
+ +fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
Overrides APIServer.fetchStates


diff --git a/docs/build/html/api/api/-a-p-i-server-impl/fetch-transactions.html b/docs/build/html/api/api/-a-p-i-server-impl/fetch-transactions.html index 20dc373360..a598b1c4ba 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/fetch-transactions.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/fetch-transactions.html @@ -7,8 +7,8 @@ api / APIServerImpl / fetchTransactions

fetchTransactions

- -fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
+ +fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
Overrides APIServer.fetchTransactions

Query for immutable transactions (results can be cached indefinitely by their id/hash).

Parameters

diff --git a/docs/build/html/api/api/-a-p-i-server-impl/generate-transaction-signature.html b/docs/build/html/api/api/-a-p-i-server-impl/generate-transaction-signature.html index e3c2abaea3..5e603d4de0 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/generate-transaction-signature.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/generate-transaction-signature.html @@ -7,8 +7,8 @@ api / APIServerImpl / generateTransactionSignature

generateTransactionSignature

- -fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
+ +fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
Overrides APIServer.generateTransactionSignature

Generate a signature for this transaction signed by us.


diff --git a/docs/build/html/api/api/-a-p-i-server-impl/index.html b/docs/build/html/api/api/-a-p-i-server-impl/index.html index 47a4c7a1a0..5c4f5c85ac 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/index.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/index.html @@ -17,7 +17,7 @@ <init> -APIServerImpl(node: AbstractNode) +APIServerImpl(node: AbstractNode) @@ -39,7 +39,7 @@ buildTransaction -fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>

TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder +fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>

TransactionBuildSteps would be invocations of contract.generateXXX() methods that all share a common TransactionBuilder and a common contract type (e.g. Cash or CommercialPaper) which would automatically be passed as the first argument (wed need that to be a criteria/pattern of the generateXXX methods).

@@ -48,7 +48,7 @@ which would automatically be passed as the first argument (wed need that to be a commitTransaction -fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash

Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be +fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash

Attempt to commit transaction (returned from build transaction) with the necessary signatures for that to be successful, otherwise exception is thrown.

@@ -56,48 +56,48 @@ successful, otherwise exception is thrown.

fetchProtocolsRequiringAttention -fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>

Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).

+fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>

Fetch protocols that require a response to some prompt/question by a human (on the "bank" side).

fetchStates -fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?> +fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?> fetchTransactions -fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>

Query for immutable transactions (results can be cached indefinitely by their id/hash).

+fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>

Query for immutable transactions (results can be cached indefinitely by their id/hash).

generateTransactionSignature -fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey

Generate a signature for this transaction signed by us.

+fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey

Generate a signature for this transaction signed by us.

invokeProtocolSync -fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?

This method would not return until the protocol is finished (hence the "Sync").

+fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?

This method would not return until the protocol is finished (hence the "Sync").

provideProtocolResponse -fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit

Provide the response that a protocol is waiting for.

+fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit

Provide the response that a protocol is waiting for.

queryStates -fun queryStates(query: StatesQuery): List<StateRef>

Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them +fun queryStates(query: StatesQuery): List<StateRef>

Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them to probably be later inflated by fetchLedgerTransactions() or fetchStates() although because immutable you can cache them to avoid calling fetchLedgerTransactions() many times.

diff --git a/docs/build/html/api/api/-a-p-i-server-impl/invoke-protocol-sync.html b/docs/build/html/api/api/-a-p-i-server-impl/invoke-protocol-sync.html index ff8cf692d3..352bbebe2c 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/invoke-protocol-sync.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/invoke-protocol-sync.html @@ -7,8 +7,8 @@ api / APIServerImpl / invokeProtocolSync

invokeProtocolSync

- -fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
+ +fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
Overrides APIServer.invokeProtocolSync

This method would not return until the protocol is finished (hence the "Sync").

Longer term wed add an Async version that returns some kind of ProtocolInvocationRef that could be queried and diff --git a/docs/build/html/api/api/-a-p-i-server-impl/node.html b/docs/build/html/api/api/-a-p-i-server-impl/node.html index c6cdbb208d..7da96a0954 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/node.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/node.html @@ -7,7 +7,7 @@ api / APIServerImpl / node

node

- + val node: AbstractNode


diff --git a/docs/build/html/api/api/-a-p-i-server-impl/provide-protocol-response.html b/docs/build/html/api/api/-a-p-i-server-impl/provide-protocol-response.html index 8632137ab7..83eef417fa 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/provide-protocol-response.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/provide-protocol-response.html @@ -7,8 +7,8 @@ api / APIServerImpl / provideProtocolResponse

provideProtocolResponse

- -fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
+ +fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
Overrides APIServer.provideProtocolResponse

Provide the response that a protocol is waiting for.

Parameters

diff --git a/docs/build/html/api/api/-a-p-i-server-impl/query-states.html b/docs/build/html/api/api/-a-p-i-server-impl/query-states.html index ec4f2d4292..8048a81cc3 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/query-states.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/query-states.html @@ -7,8 +7,8 @@ api / APIServerImpl / queryStates

queryStates

- -fun queryStates(query: StatesQuery): List<StateRef>
+ +fun queryStates(query: StatesQuery): List<StateRef>
Overrides APIServer.queryStates

Query your "local" states (containing only outputs involving you) and return the hashes & indexes associated with them to probably be later inflated by fetchLedgerTransactions() or fetchStates() although because immutable you can cache them diff --git a/docs/build/html/api/api/-a-p-i-server-impl/server-time.html b/docs/build/html/api/api/-a-p-i-server-impl/server-time.html index 22dfede897..98547db68f 100644 --- a/docs/build/html/api/api/-a-p-i-server-impl/server-time.html +++ b/docs/build/html/api/api/-a-p-i-server-impl/server-time.html @@ -7,7 +7,7 @@ api / APIServerImpl / serverTime

serverTime

- + fun serverTime(): LocalDateTime
Overrides APIServer.serverTime

Report current UTC time as understood by the platform.

diff --git a/docs/build/html/api/core.node.services/-node-interest-rates/-service/-init-.html b/docs/build/html/api/core.node.services/-node-interest-rates/-service/-init-.html index db89cf6ff4..5a7518254e 100644 --- a/docs/build/html/api/core.node.services/-node-interest-rates/-service/-init-.html +++ b/docs/build/html/api/core.node.services/-node-interest-rates/-service/-init-.html @@ -7,7 +7,7 @@ core.node.services / NodeInterestRates / Service / <init>

<init>

-Service(node: AbstractNode)
+Service(node: AbstractNode)

The Service that wraps Oracle and handles messages/network interaction/request scrubbing.



diff --git a/docs/build/html/api/core.node.services/-node-interest-rates/-service/index.html b/docs/build/html/api/core.node.services/-node-interest-rates/-service/index.html index b5983f7233..c10a49e3a0 100644 --- a/docs/build/html/api/core.node.services/-node-interest-rates/-service/index.html +++ b/docs/build/html/api/core.node.services/-node-interest-rates/-service/index.html @@ -18,7 +18,7 @@ <init> -Service(node: AbstractNode)

The Service that wraps Oracle and handles messages/network interaction/request scrubbing.

+Service(node: AbstractNode)

The Service that wraps Oracle and handles messages/network interaction/request scrubbing.

diff --git a/docs/build/html/api/core.node/-abstract-node/-init-.html b/docs/build/html/api/core.node/-abstract-node/-init-.html index 5d4a629b6c..9024717e51 100644 --- a/docs/build/html/api/core.node/-abstract-node/-init-.html +++ b/docs/build/html/api/core.node/-abstract-node/-init-.html @@ -7,7 +7,7 @@ core.node / AbstractNode / <init>

<init>

-AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)
+AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)

A base node implementation that can be customised either for production (with real implementations that do real I/O), or a mock implementation suitable for unit test environments.


diff --git a/docs/build/html/api/core.node/-abstract-node/-p-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html b/docs/build/html/api/core.node/-abstract-node/-p-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html index 6723844cb7..287d331b81 100644 --- a/docs/build/html/api/core.node/-abstract-node/-p-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html +++ b/docs/build/html/api/core.node/-abstract-node/-p-r-i-v-a-t-e_-k-e-y_-f-i-l-e_-n-a-m-e.html @@ -7,7 +7,7 @@ core.node / AbstractNode / PRIVATE_KEY_FILE_NAME

PRIVATE_KEY_FILE_NAME

- + val PRIVATE_KEY_FILE_NAME: String


diff --git a/docs/build/html/api/core.node/-abstract-node/-p-u-b-l-i-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html b/docs/build/html/api/core.node/-abstract-node/-p-u-b-l-i-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html index a04b2a3a8c..7db4814daf 100644 --- a/docs/build/html/api/core.node/-abstract-node/-p-u-b-l-i-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html +++ b/docs/build/html/api/core.node/-abstract-node/-p-u-b-l-i-c_-i-d-e-n-t-i-t-y_-f-i-l-e_-n-a-m-e.html @@ -7,7 +7,7 @@ core.node / AbstractNode / PUBLIC_IDENTITY_FILE_NAME

PUBLIC_IDENTITY_FILE_NAME

- + val PUBLIC_IDENTITY_FILE_NAME: String


diff --git a/docs/build/html/api/core.node/-abstract-node/_services-that-accept-uploads.html b/docs/build/html/api/core.node/-abstract-node/_services-that-accept-uploads.html index f535aab6fc..aacd303269 100644 --- a/docs/build/html/api/core.node/-abstract-node/_services-that-accept-uploads.html +++ b/docs/build/html/api/core.node/-abstract-node/_services-that-accept-uploads.html @@ -7,7 +7,7 @@ core.node / AbstractNode / _servicesThatAcceptUploads

_servicesThatAcceptUploads

- + protected val _servicesThatAcceptUploads: ArrayList<AcceptsFileUpload>


diff --git a/docs/build/html/api/core.node/-abstract-node/advertised-services.html b/docs/build/html/api/core.node/-abstract-node/advertised-services.html index eeda7eee9e..b63cdd3b75 100644 --- a/docs/build/html/api/core.node/-abstract-node/advertised-services.html +++ b/docs/build/html/api/core.node/-abstract-node/advertised-services.html @@ -7,7 +7,7 @@ core.node / AbstractNode / advertisedServices

advertisedServices

- + val advertisedServices: Set<ServiceType>


diff --git a/docs/build/html/api/core.node/-abstract-node/api.html b/docs/build/html/api/core.node/-abstract-node/api.html index c8c3323a1b..2fdf8e3166 100644 --- a/docs/build/html/api/core.node/-abstract-node/api.html +++ b/docs/build/html/api/core.node/-abstract-node/api.html @@ -7,7 +7,7 @@ core.node / AbstractNode / api

api

- + lateinit var api: APIServer


diff --git a/docs/build/html/api/core.node/-abstract-node/configuration.html b/docs/build/html/api/core.node/-abstract-node/configuration.html index 8782851d44..55426c9031 100644 --- a/docs/build/html/api/core.node/-abstract-node/configuration.html +++ b/docs/build/html/api/core.node/-abstract-node/configuration.html @@ -7,7 +7,7 @@ core.node / AbstractNode / configuration

configuration

- + val configuration: NodeConfiguration


diff --git a/docs/build/html/api/core.node/-abstract-node/construct-storage-service.html b/docs/build/html/api/core.node/-abstract-node/construct-storage-service.html index 482fdb9e83..58893723f0 100644 --- a/docs/build/html/api/core.node/-abstract-node/construct-storage-service.html +++ b/docs/build/html/api/core.node/-abstract-node/construct-storage-service.html @@ -7,8 +7,8 @@ core.node / AbstractNode / constructStorageService

constructStorageService

- -protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl
+ +protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl


diff --git a/docs/build/html/api/core.node/-abstract-node/dir.html b/docs/build/html/api/core.node/-abstract-node/dir.html index a484209af0..e08aaaf632 100644 --- a/docs/build/html/api/core.node/-abstract-node/dir.html +++ b/docs/build/html/api/core.node/-abstract-node/dir.html @@ -7,7 +7,7 @@ core.node / AbstractNode / dir

dir

- + val dir: Path


diff --git a/docs/build/html/api/core.node/-abstract-node/find-my-location.html b/docs/build/html/api/core.node/-abstract-node/find-my-location.html index 7a56e3fa09..13c92b64e0 100644 --- a/docs/build/html/api/core.node/-abstract-node/find-my-location.html +++ b/docs/build/html/api/core.node/-abstract-node/find-my-location.html @@ -7,7 +7,7 @@ core.node / AbstractNode / findMyLocation

findMyLocation

- + protected open fun findMyLocation(): PhysicalLocation?


diff --git a/docs/build/html/api/core.node/-abstract-node/identity.html b/docs/build/html/api/core.node/-abstract-node/identity.html index 0a5522d673..f64530309d 100644 --- a/docs/build/html/api/core.node/-abstract-node/identity.html +++ b/docs/build/html/api/core.node/-abstract-node/identity.html @@ -7,7 +7,7 @@ core.node / AbstractNode / identity

identity

- + lateinit var identity: IdentityService


diff --git a/docs/build/html/api/core.node/-abstract-node/in-node-network-map-service.html b/docs/build/html/api/core.node/-abstract-node/in-node-network-map-service.html index c1751ffa52..a529693a90 100644 --- a/docs/build/html/api/core.node/-abstract-node/in-node-network-map-service.html +++ b/docs/build/html/api/core.node/-abstract-node/in-node-network-map-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / inNodeNetworkMapService

inNodeNetworkMapService

- + var inNodeNetworkMapService: NetworkMapService?


diff --git a/docs/build/html/api/core.node/-abstract-node/in-node-timestamping-service.html b/docs/build/html/api/core.node/-abstract-node/in-node-timestamping-service.html index 20129e5207..5d010e8102 100644 --- a/docs/build/html/api/core.node/-abstract-node/in-node-timestamping-service.html +++ b/docs/build/html/api/core.node/-abstract-node/in-node-timestamping-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / inNodeTimestampingService

inNodeTimestampingService

- + var inNodeTimestampingService: NodeTimestamperService?


diff --git a/docs/build/html/api/core.node/-abstract-node/index.html b/docs/build/html/api/core.node/-abstract-node/index.html index 6db54cfe82..23b23e5b52 100644 --- a/docs/build/html/api/core.node/-abstract-node/index.html +++ b/docs/build/html/api/core.node/-abstract-node/index.html @@ -19,7 +19,7 @@ I/O), or a mock implementation suitable for unit test environments.

<init> -AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)

A base node implementation that can be customised either for production (with real implementations that do real +AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)

A base node implementation that can be customised either for production (with real implementations that do real I/O), or a mock implementation suitable for unit test environments.

@@ -176,7 +176,7 @@ I/O), or a mock implementation suitable for unit test environments.

constructStorageService -open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl +open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl @@ -188,7 +188,7 @@ I/O), or a mock implementation suitable for unit test environments.

initialiseStorageService -open fun initialiseStorageService(dir: Path): StorageService +open fun initialiseStorageService(dir: Path): StorageService diff --git a/docs/build/html/api/core.node/-abstract-node/info.html b/docs/build/html/api/core.node/-abstract-node/info.html index 273bcae186..e05773189a 100644 --- a/docs/build/html/api/core.node/-abstract-node/info.html +++ b/docs/build/html/api/core.node/-abstract-node/info.html @@ -7,7 +7,7 @@ core.node / AbstractNode / info

info

- + val info: NodeInfo


diff --git a/docs/build/html/api/core.node/-abstract-node/initial-network-map-address.html b/docs/build/html/api/core.node/-abstract-node/initial-network-map-address.html index 455f2721ac..40a119c053 100644 --- a/docs/build/html/api/core.node/-abstract-node/initial-network-map-address.html +++ b/docs/build/html/api/core.node/-abstract-node/initial-network-map-address.html @@ -7,7 +7,7 @@ core.node / AbstractNode / initialNetworkMapAddress

initialNetworkMapAddress

- + val initialNetworkMapAddress: NodeInfo?


diff --git a/docs/build/html/api/core.node/-abstract-node/initialise-storage-service.html b/docs/build/html/api/core.node/-abstract-node/initialise-storage-service.html index 96a70f6f2d..8acf31e677 100644 --- a/docs/build/html/api/core.node/-abstract-node/initialise-storage-service.html +++ b/docs/build/html/api/core.node/-abstract-node/initialise-storage-service.html @@ -7,8 +7,8 @@ core.node / AbstractNode / initialiseStorageService

initialiseStorageService

- -protected open fun initialiseStorageService(dir: Path): StorageService
+ +protected open fun initialiseStorageService(dir: Path): StorageService


diff --git a/docs/build/html/api/core.node/-abstract-node/interest-rates-service.html b/docs/build/html/api/core.node/-abstract-node/interest-rates-service.html index ee53a2e544..bbecb5e3c4 100644 --- a/docs/build/html/api/core.node/-abstract-node/interest-rates-service.html +++ b/docs/build/html/api/core.node/-abstract-node/interest-rates-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / interestRatesService

interestRatesService

- + lateinit var interestRatesService: Service


diff --git a/docs/build/html/api/core.node/-abstract-node/key-management.html b/docs/build/html/api/core.node/-abstract-node/key-management.html index cc504837e7..8e7f06df97 100644 --- a/docs/build/html/api/core.node/-abstract-node/key-management.html +++ b/docs/build/html/api/core.node/-abstract-node/key-management.html @@ -7,7 +7,7 @@ core.node / AbstractNode / keyManagement

keyManagement

- + lateinit var keyManagement: E2ETestKeyManagementService


diff --git a/docs/build/html/api/core.node/-abstract-node/log.html b/docs/build/html/api/core.node/-abstract-node/log.html index c08fc06636..49ef83722b 100644 --- a/docs/build/html/api/core.node/-abstract-node/log.html +++ b/docs/build/html/api/core.node/-abstract-node/log.html @@ -7,7 +7,7 @@ core.node / AbstractNode / log

log

- + protected abstract val log: <ERROR CLASS>


diff --git a/docs/build/html/api/core.node/-abstract-node/make-identity-service.html b/docs/build/html/api/core.node/-abstract-node/make-identity-service.html index b26a857a1f..0145f520b0 100644 --- a/docs/build/html/api/core.node/-abstract-node/make-identity-service.html +++ b/docs/build/html/api/core.node/-abstract-node/make-identity-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / makeIdentityService

makeIdentityService

- + protected open fun makeIdentityService(): IdentityService


diff --git a/docs/build/html/api/core.node/-abstract-node/make-interest-rates-oracle-service.html b/docs/build/html/api/core.node/-abstract-node/make-interest-rates-oracle-service.html index 872f995c18..b412f1e6fb 100644 --- a/docs/build/html/api/core.node/-abstract-node/make-interest-rates-oracle-service.html +++ b/docs/build/html/api/core.node/-abstract-node/make-interest-rates-oracle-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / makeInterestRatesOracleService

makeInterestRatesOracleService

- + protected open fun makeInterestRatesOracleService(): Unit


diff --git a/docs/build/html/api/core.node/-abstract-node/make-messaging-service.html b/docs/build/html/api/core.node/-abstract-node/make-messaging-service.html index 62d1b59393..c7a6e3c5a9 100644 --- a/docs/build/html/api/core.node/-abstract-node/make-messaging-service.html +++ b/docs/build/html/api/core.node/-abstract-node/make-messaging-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / makeMessagingService

makeMessagingService

- + protected abstract fun makeMessagingService(): MessagingService


diff --git a/docs/build/html/api/core.node/-abstract-node/make-network-map-service.html b/docs/build/html/api/core.node/-abstract-node/make-network-map-service.html index 50bca75716..381d87f625 100644 --- a/docs/build/html/api/core.node/-abstract-node/make-network-map-service.html +++ b/docs/build/html/api/core.node/-abstract-node/make-network-map-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / makeNetworkMapService

makeNetworkMapService

- + protected open fun makeNetworkMapService(): Unit


diff --git a/docs/build/html/api/core.node/-abstract-node/make-timestamping-service.html b/docs/build/html/api/core.node/-abstract-node/make-timestamping-service.html index 1891ca077a..9c82f529f9 100644 --- a/docs/build/html/api/core.node/-abstract-node/make-timestamping-service.html +++ b/docs/build/html/api/core.node/-abstract-node/make-timestamping-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / makeTimestampingService

makeTimestampingService

- + protected open fun makeTimestampingService(): Unit


diff --git a/docs/build/html/api/core.node/-abstract-node/net.html b/docs/build/html/api/core.node/-abstract-node/net.html index a047b9435e..b99bd5913e 100644 --- a/docs/build/html/api/core.node/-abstract-node/net.html +++ b/docs/build/html/api/core.node/-abstract-node/net.html @@ -7,7 +7,7 @@ core.node / AbstractNode / net

net

- + lateinit var net: MessagingService


diff --git a/docs/build/html/api/core.node/-abstract-node/network-map-seq.html b/docs/build/html/api/core.node/-abstract-node/network-map-seq.html index 2a8c515652..13e57786aa 100644 --- a/docs/build/html/api/core.node/-abstract-node/network-map-seq.html +++ b/docs/build/html/api/core.node/-abstract-node/network-map-seq.html @@ -7,7 +7,7 @@ core.node / AbstractNode / networkMapSeq

networkMapSeq

- + var networkMapSeq: Long

Sequence number of changes sent to the network map service, when registering/de-registering this node


diff --git a/docs/build/html/api/core.node/-abstract-node/network-map-service-call-timeout.html b/docs/build/html/api/core.node/-abstract-node/network-map-service-call-timeout.html index e3051e4d1c..a88d4bc3fc 100644 --- a/docs/build/html/api/core.node/-abstract-node/network-map-service-call-timeout.html +++ b/docs/build/html/api/core.node/-abstract-node/network-map-service-call-timeout.html @@ -7,7 +7,7 @@ core.node / AbstractNode / networkMapServiceCallTimeout

networkMapServiceCallTimeout

- + val networkMapServiceCallTimeout: Duration


diff --git a/docs/build/html/api/core.node/-abstract-node/platform-clock.html b/docs/build/html/api/core.node/-abstract-node/platform-clock.html index c694e53de7..eb234e8e29 100644 --- a/docs/build/html/api/core.node/-abstract-node/platform-clock.html +++ b/docs/build/html/api/core.node/-abstract-node/platform-clock.html @@ -7,7 +7,7 @@ core.node / AbstractNode / platformClock

platformClock

- + val platformClock: Clock


diff --git a/docs/build/html/api/core.node/-abstract-node/server-thread.html b/docs/build/html/api/core.node/-abstract-node/server-thread.html index fa07e79276..b16f483aea 100644 --- a/docs/build/html/api/core.node/-abstract-node/server-thread.html +++ b/docs/build/html/api/core.node/-abstract-node/server-thread.html @@ -7,7 +7,7 @@ core.node / AbstractNode / serverThread

serverThread

- + protected abstract val serverThread: AffinityExecutor


diff --git a/docs/build/html/api/core.node/-abstract-node/services-that-accept-uploads.html b/docs/build/html/api/core.node/-abstract-node/services-that-accept-uploads.html index 3d72dfe875..5186e6377c 100644 --- a/docs/build/html/api/core.node/-abstract-node/services-that-accept-uploads.html +++ b/docs/build/html/api/core.node/-abstract-node/services-that-accept-uploads.html @@ -7,7 +7,7 @@ core.node / AbstractNode / servicesThatAcceptUploads

servicesThatAcceptUploads

- + val servicesThatAcceptUploads: List<AcceptsFileUpload>


diff --git a/docs/build/html/api/core.node/-abstract-node/services.html b/docs/build/html/api/core.node/-abstract-node/services.html index 67ca56f548..9c09e57715 100644 --- a/docs/build/html/api/core.node/-abstract-node/services.html +++ b/docs/build/html/api/core.node/-abstract-node/services.html @@ -7,7 +7,7 @@ core.node / AbstractNode / services

services

- + val services: ServiceHub


diff --git a/docs/build/html/api/core.node/-abstract-node/smm.html b/docs/build/html/api/core.node/-abstract-node/smm.html index 0baa627f13..56d3a8585d 100644 --- a/docs/build/html/api/core.node/-abstract-node/smm.html +++ b/docs/build/html/api/core.node/-abstract-node/smm.html @@ -7,7 +7,7 @@ core.node / AbstractNode / smm

smm

- + lateinit var smm: StateMachineManager


diff --git a/docs/build/html/api/core.node/-abstract-node/start-messaging-service.html b/docs/build/html/api/core.node/-abstract-node/start-messaging-service.html index 46df82cf71..6072392773 100644 --- a/docs/build/html/api/core.node/-abstract-node/start-messaging-service.html +++ b/docs/build/html/api/core.node/-abstract-node/start-messaging-service.html @@ -7,7 +7,7 @@ core.node / AbstractNode / startMessagingService

startMessagingService

- + protected abstract fun startMessagingService(): Unit


diff --git a/docs/build/html/api/core.node/-abstract-node/start.html b/docs/build/html/api/core.node/-abstract-node/start.html index b29ff52339..14ba8bceb1 100644 --- a/docs/build/html/api/core.node/-abstract-node/start.html +++ b/docs/build/html/api/core.node/-abstract-node/start.html @@ -7,7 +7,7 @@ core.node / AbstractNode / start

start

- + open fun start(): AbstractNode


diff --git a/docs/build/html/api/core.node/-abstract-node/stop.html b/docs/build/html/api/core.node/-abstract-node/stop.html index 4755a14b84..38c39218b2 100644 --- a/docs/build/html/api/core.node/-abstract-node/stop.html +++ b/docs/build/html/api/core.node/-abstract-node/stop.html @@ -7,7 +7,7 @@ core.node / AbstractNode / stop

stop

- + open fun stop(): Unit


diff --git a/docs/build/html/api/core.node/-abstract-node/storage.html b/docs/build/html/api/core.node/-abstract-node/storage.html index 9920453638..dbd164908e 100644 --- a/docs/build/html/api/core.node/-abstract-node/storage.html +++ b/docs/build/html/api/core.node/-abstract-node/storage.html @@ -7,7 +7,7 @@ core.node / AbstractNode / storage

storage

- + lateinit var storage: StorageService


diff --git a/docs/build/html/api/core.node/-abstract-node/wallet.html b/docs/build/html/api/core.node/-abstract-node/wallet.html index 8e9dc7e1e6..6c14a6cdab 100644 --- a/docs/build/html/api/core.node/-abstract-node/wallet.html +++ b/docs/build/html/api/core.node/-abstract-node/wallet.html @@ -7,7 +7,7 @@ core.node / AbstractNode / wallet

wallet

- + lateinit var wallet: WalletService


diff --git a/docs/build/html/api/core.node/-configuration-exception/-init-.html b/docs/build/html/api/core.node/-configuration-exception/-init-.html index 839112670c..8c8890ce0e 100644 --- a/docs/build/html/api/core.node/-configuration-exception/-init-.html +++ b/docs/build/html/api/core.node/-configuration-exception/-init-.html @@ -7,7 +7,7 @@ core.node / ConfigurationException / <init>

<init>

-ConfigurationException(message: String)
+ConfigurationException(message: String)


diff --git a/docs/build/html/api/core.node/-configuration-exception/index.html b/docs/build/html/api/core.node/-configuration-exception/index.html index ba18a21e4d..2c55e86876 100644 --- a/docs/build/html/api/core.node/-configuration-exception/index.html +++ b/docs/build/html/api/core.node/-configuration-exception/index.html @@ -17,7 +17,7 @@ <init> -ConfigurationException(message: String) +ConfigurationException(message: String) diff --git a/docs/build/html/api/core.node/-node/-d-e-f-a-u-l-t_-p-o-r-t.html b/docs/build/html/api/core.node/-node/-d-e-f-a-u-l-t_-p-o-r-t.html index dd3b44ac43..1d7cc9ece2 100644 --- a/docs/build/html/api/core.node/-node/-d-e-f-a-u-l-t_-p-o-r-t.html +++ b/docs/build/html/api/core.node/-node/-d-e-f-a-u-l-t_-p-o-r-t.html @@ -7,7 +7,7 @@ core.node / Node / DEFAULT_PORT

DEFAULT_PORT

- + val DEFAULT_PORT: Int

The port that is used by default if none is specified. As you know, 31337 is the most elite number.


diff --git a/docs/build/html/api/core.node/-node/-init-.html b/docs/build/html/api/core.node/-node/-init-.html index 888b25d190..e296e244c3 100644 --- a/docs/build/html/api/core.node/-node/-init-.html +++ b/docs/build/html/api/core.node/-node/-init-.html @@ -7,7 +7,7 @@ core.node / Node / <init>

<init>

-Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())
+Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())

A Node manages a standalone server that takes part in the P2P network. It creates the services found in ServiceHub, loads important data off disk and starts listening for connections.

Parameters

diff --git a/docs/build/html/api/core.node/-node/index.html b/docs/build/html/api/core.node/-node/index.html index c7060333df..9253c59a30 100644 --- a/docs/build/html/api/core.node/-node/index.html +++ b/docs/build/html/api/core.node/-node/index.html @@ -40,7 +40,7 @@ but nodes are not required to advertise services they run (hence subset).
<init> -Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())

A Node manages a standalone server that takes part in the P2P network. It creates the services found in ServiceHub, +Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())

A Node manages a standalone server that takes part in the P2P network. It creates the services found in ServiceHub, loads important data off disk and starts listening for connections.

@@ -243,7 +243,7 @@ loads important data off disk and starts listening for connections.

constructStorageService -open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl +open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl @@ -255,7 +255,7 @@ loads important data off disk and starts listening for connections.

initialiseStorageService -open fun initialiseStorageService(dir: Path): StorageService +open fun initialiseStorageService(dir: Path): StorageService diff --git a/docs/build/html/api/core.node/-node/log.html b/docs/build/html/api/core.node/-node/log.html index 137472f22c..81fc54cf29 100644 --- a/docs/build/html/api/core.node/-node/log.html +++ b/docs/build/html/api/core.node/-node/log.html @@ -7,7 +7,7 @@ core.node / Node / log

log

- + protected val log: <ERROR CLASS>
Overrides AbstractNode.log

diff --git a/docs/build/html/api/core.node/-node/make-messaging-service.html b/docs/build/html/api/core.node/-node/make-messaging-service.html index da17f8b709..ce8c38852c 100644 --- a/docs/build/html/api/core.node/-node/make-messaging-service.html +++ b/docs/build/html/api/core.node/-node/make-messaging-service.html @@ -7,7 +7,7 @@ core.node / Node / makeMessagingService

makeMessagingService

- + protected fun makeMessagingService(): MessagingService
Overrides AbstractNode.makeMessagingService

diff --git a/docs/build/html/api/core.node/-node/p2p-addr.html b/docs/build/html/api/core.node/-node/p2p-addr.html index c3ef0c309f..1e66ed177a 100644 --- a/docs/build/html/api/core.node/-node/p2p-addr.html +++ b/docs/build/html/api/core.node/-node/p2p-addr.html @@ -7,7 +7,7 @@ core.node / Node / p2pAddr

p2pAddr

- + val p2pAddr: <ERROR CLASS>


diff --git a/docs/build/html/api/core.node/-node/server-thread.html b/docs/build/html/api/core.node/-node/server-thread.html index 5713eb0b5d..ee22a188d1 100644 --- a/docs/build/html/api/core.node/-node/server-thread.html +++ b/docs/build/html/api/core.node/-node/server-thread.html @@ -7,7 +7,7 @@ core.node / Node / serverThread

serverThread

- + protected val serverThread: ServiceAffinityExecutor
Overrides AbstractNode.serverThread

diff --git a/docs/build/html/api/core.node/-node/start-messaging-service.html b/docs/build/html/api/core.node/-node/start-messaging-service.html index 7a91a7e3ea..8c0695ad58 100644 --- a/docs/build/html/api/core.node/-node/start-messaging-service.html +++ b/docs/build/html/api/core.node/-node/start-messaging-service.html @@ -7,7 +7,7 @@ core.node / Node / startMessagingService

startMessagingService

- + protected fun startMessagingService(): Unit
Overrides AbstractNode.startMessagingService

diff --git a/docs/build/html/api/core.node/-node/start.html b/docs/build/html/api/core.node/-node/start.html index c506b649e1..cb260b7116 100644 --- a/docs/build/html/api/core.node/-node/start.html +++ b/docs/build/html/api/core.node/-node/start.html @@ -7,7 +7,7 @@ core.node / Node / start

start

- + fun start(): Node
Overrides AbstractNode.start

diff --git a/docs/build/html/api/core.node/-node/stop.html b/docs/build/html/api/core.node/-node/stop.html index fdb58fd836..b39578eafb 100644 --- a/docs/build/html/api/core.node/-node/stop.html +++ b/docs/build/html/api/core.node/-node/stop.html @@ -7,7 +7,7 @@ core.node / Node / stop

stop

- + fun stop(): Unit
Overrides AbstractNode.stop

diff --git a/docs/build/html/api/core.node/-node/web-server.html b/docs/build/html/api/core.node/-node/web-server.html index af5985dc27..4c5d13991e 100644 --- a/docs/build/html/api/core.node/-node/web-server.html +++ b/docs/build/html/api/core.node/-node/web-server.html @@ -7,7 +7,7 @@ core.node / Node / webServer

webServer

- + lateinit var webServer: <ERROR CLASS>


diff --git a/docs/build/html/api/core.testing/-i-r-s-simulation/-init-.html b/docs/build/html/api/core.testing/-i-r-s-simulation/-init-.html index 00424d7740..35b41f69b2 100644 --- a/docs/build/html/api/core.testing/-i-r-s-simulation/-init-.html +++ b/docs/build/html/api/core.testing/-i-r-s-simulation/-init-.html @@ -7,7 +7,7 @@ core.testing / IRSSimulation / <init>

<init>

-IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

A simulation in which banks execute interest rate swaps with each other, including the fixing events.



diff --git a/docs/build/html/api/core.testing/-i-r-s-simulation/index.html b/docs/build/html/api/core.testing/-i-r-s-simulation/index.html index b6c6deec7c..7af5903782 100644 --- a/docs/build/html/api/core.testing/-i-r-s-simulation/index.html +++ b/docs/build/html/api/core.testing/-i-r-s-simulation/index.html @@ -18,7 +18,7 @@ <init> -IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

A simulation in which banks execute interest rate swaps with each other, including the fixing events.

+IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

A simulation in which banks execute interest rate swaps with each other, including the fixing events.

@@ -164,19 +164,19 @@ in the UI somewhere.

linkConsensus -fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit +fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit linkProtocolProgress -fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit +fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit startTradingCircle -fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc +fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc each time the returned future completes.

diff --git a/docs/build/html/api/core.testing/-i-r-s-simulation/iterate.html b/docs/build/html/api/core.testing/-i-r-s-simulation/iterate.html index 53acb807cd..31b5768070 100644 --- a/docs/build/html/api/core.testing/-i-r-s-simulation/iterate.html +++ b/docs/build/html/api/core.testing/-i-r-s-simulation/iterate.html @@ -7,7 +7,7 @@ core.testing / IRSSimulation / iterate

iterate

- + fun iterate(): Unit
Overrides Simulation.iterate

Iterates the simulation by one step.

diff --git a/docs/build/html/api/core.testing/-i-r-s-simulation/om.html b/docs/build/html/api/core.testing/-i-r-s-simulation/om.html index c60865d59f..882fae7fda 100644 --- a/docs/build/html/api/core.testing/-i-r-s-simulation/om.html +++ b/docs/build/html/api/core.testing/-i-r-s-simulation/om.html @@ -7,7 +7,7 @@ core.testing / IRSSimulation / om

om

- + val om: <ERROR CLASS>


diff --git a/docs/build/html/api/core.testing/-i-r-s-simulation/start.html b/docs/build/html/api/core.testing/-i-r-s-simulation/start.html index 932df2c042..b50e211b43 100644 --- a/docs/build/html/api/core.testing/-i-r-s-simulation/start.html +++ b/docs/build/html/api/core.testing/-i-r-s-simulation/start.html @@ -7,7 +7,7 @@ core.testing / IRSSimulation / start

start

- + fun start(): Unit
Overrides Simulation.start

diff --git a/docs/build/html/api/core.testing/-mock-network/-default-factory/create.html b/docs/build/html/api/core.testing/-mock-network/-default-factory/create.html index 359394661e..65364c0c4a 100644 --- a/docs/build/html/api/core.testing/-mock-network/-default-factory/create.html +++ b/docs/build/html/api/core.testing/-mock-network/-default-factory/create.html @@ -7,8 +7,8 @@ core.testing / MockNetwork / DefaultFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-mock-network/-default-factory/index.html b/docs/build/html/api/core.testing/-mock-network/-default-factory/index.html index 290da426e4..26d80c4b01 100644 --- a/docs/build/html/api/core.testing/-mock-network/-default-factory/index.html +++ b/docs/build/html/api/core.testing/-mock-network/-default-factory/index.html @@ -17,7 +17,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-mock-network/-factory/create.html b/docs/build/html/api/core.testing/-mock-network/-factory/create.html index 303a6b5803..9b8fad4e6a 100644 --- a/docs/build/html/api/core.testing/-mock-network/-factory/create.html +++ b/docs/build/html/api/core.testing/-mock-network/-factory/create.html @@ -7,8 +7,8 @@ core.testing / MockNetwork / Factory / create

create

- -abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode


diff --git a/docs/build/html/api/core.testing/-mock-network/-factory/index.html b/docs/build/html/api/core.testing/-mock-network/-factory/index.html index 53c34b201a..eb4cef5b14 100644 --- a/docs/build/html/api/core.testing/-mock-network/-factory/index.html +++ b/docs/build/html/api/core.testing/-mock-network/-factory/index.html @@ -18,7 +18,7 @@ create -abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-mock-network/-init-.html b/docs/build/html/api/core.testing/-mock-network/-init-.html index 32011c1dd4..1404e2bd30 100644 --- a/docs/build/html/api/core.testing/-mock-network/-init-.html +++ b/docs/build/html/api/core.testing/-mock-network/-init-.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / <init>

<init>

-MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
+MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem.

Mock network nodes require manual pumping by default: they will not run asynchronous. This means that diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/-init-.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/-init-.html index e6f5287ca0..cdab3ed8c9 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/-init-.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/-init-.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / <init>

<init>

-MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)


diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/find-my-location.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/find-my-location.html index f094746b38..bcec54a156 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/find-my-location.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/find-my-location.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / findMyLocation

findMyLocation

- + protected open fun findMyLocation(): PhysicalLocation?
Overrides AbstractNode.findMyLocation

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/id.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/id.html index 03b0f060db..cff22a4f37 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/id.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/id.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / id

id

- + val id: Int


diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/index.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/index.html index e616f88949..a4c01929cb 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/index.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/index.html @@ -17,7 +17,7 @@ <init> -MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int) +MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int) @@ -230,13 +230,13 @@ constructStorageService -open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl +open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl initialiseStorageService -open fun initialiseStorageService(dir: Path): StorageService +open fun initialiseStorageService(dir: Path): StorageService diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/log.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/log.html index 2a42887b8a..b0df181268 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/log.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/log.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / log

log

- + protected open val log: <ERROR CLASS>
Overrides AbstractNode.log

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/make-identity-service.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/make-identity-service.html index 74644f2d65..a5b391b134 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/make-identity-service.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/make-identity-service.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / makeIdentityService

makeIdentityService

- + protected open fun makeIdentityService(): MockIdentityService
Overrides AbstractNode.makeIdentityService

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/make-messaging-service.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/make-messaging-service.html index 9f88efac0d..471db25b0b 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/make-messaging-service.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/make-messaging-service.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / makeMessagingService

makeMessagingService

- + protected open fun makeMessagingService(): MessagingService
Overrides AbstractNode.makeMessagingService

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/mock-net.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/mock-net.html index 0bf6c6387d..9427159247 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/mock-net.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/mock-net.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / mockNet

mockNet

- + val mockNet: MockNetwork


diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/place.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/place.html index a9d9400f2a..6e60e14804 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/place.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/place.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / place

place

- + val place: PhysicalLocation


diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/server-thread.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/server-thread.html index 5eab5427d5..581e1b17dd 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/server-thread.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/server-thread.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / serverThread

serverThread

- + protected open val serverThread: AffinityExecutor
Overrides AbstractNode.serverThread

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/start-messaging-service.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/start-messaging-service.html index a9822ce56f..8d2a02576c 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/start-messaging-service.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/start-messaging-service.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / startMessagingService

startMessagingService

- + protected open fun startMessagingService(): Unit
Overrides AbstractNode.startMessagingService

diff --git a/docs/build/html/api/core.testing/-mock-network/-mock-node/start.html b/docs/build/html/api/core.testing/-mock-network/-mock-node/start.html index f46220c6e7..15567142da 100644 --- a/docs/build/html/api/core.testing/-mock-network/-mock-node/start.html +++ b/docs/build/html/api/core.testing/-mock-network/-mock-node/start.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / MockNode / start

start

- + open fun start(): MockNode
Overrides AbstractNode.start

diff --git a/docs/build/html/api/core.testing/-mock-network/address-to-node.html b/docs/build/html/api/core.testing/-mock-network/address-to-node.html index c57076a945..fb048b556a 100644 --- a/docs/build/html/api/core.testing/-mock-network/address-to-node.html +++ b/docs/build/html/api/core.testing/-mock-network/address-to-node.html @@ -7,8 +7,8 @@ core.testing / MockNetwork / addressToNode

addressToNode

- -fun addressToNode(address: SingleMessageRecipient): MockNode
+ +fun addressToNode(address: SingleMessageRecipient): MockNode


diff --git a/docs/build/html/api/core.testing/-mock-network/create-node.html b/docs/build/html/api/core.testing/-mock-network/create-node.html index 96ba665196..aff33c3157 100644 --- a/docs/build/html/api/core.testing/-mock-network/create-node.html +++ b/docs/build/html/api/core.testing/-mock-network/create-node.html @@ -7,8 +7,8 @@ core.testing / MockNetwork / createNode

createNode

- -fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode
+ +fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode

Returns a started node, optionally created by the passed factory method



diff --git a/docs/build/html/api/core.testing/-mock-network/create-two-nodes.html b/docs/build/html/api/core.testing/-mock-network/create-two-nodes.html index 7da132128a..89eca68656 100644 --- a/docs/build/html/api/core.testing/-mock-network/create-two-nodes.html +++ b/docs/build/html/api/core.testing/-mock-network/create-two-nodes.html @@ -7,8 +7,8 @@ core.testing / MockNetwork / createTwoNodes

createTwoNodes

- -fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>
+ +fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>

Sets up a two node network, in which the first node runs network map and timestamping services and the other doesnt.


diff --git a/docs/build/html/api/core.testing/-mock-network/filesystem.html b/docs/build/html/api/core.testing/-mock-network/filesystem.html index f4045a14fd..5bfb5467c4 100644 --- a/docs/build/html/api/core.testing/-mock-network/filesystem.html +++ b/docs/build/html/api/core.testing/-mock-network/filesystem.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / filesystem

filesystem

- + val filesystem: <ERROR CLASS>


diff --git a/docs/build/html/api/core.testing/-mock-network/identities.html b/docs/build/html/api/core.testing/-mock-network/identities.html index 92bcdee27e..d36ee6e043 100644 --- a/docs/build/html/api/core.testing/-mock-network/identities.html +++ b/docs/build/html/api/core.testing/-mock-network/identities.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / identities

identities

- + val identities: ArrayList<Party>


diff --git a/docs/build/html/api/core.testing/-mock-network/index.html b/docs/build/html/api/core.testing/-mock-network/index.html index 63fad89f8f..ad3e46f4a4 100644 --- a/docs/build/html/api/core.testing/-mock-network/index.html +++ b/docs/build/html/api/core.testing/-mock-network/index.html @@ -48,7 +48,7 @@ method.

<init> -MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. +MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)

A mock node brings up a suite of in-memory services in a fast manner suitable for unit testing. Components that do IO are either swapped out for mocks, or pointed to a Jimfs in memory filesystem.

@@ -91,20 +91,20 @@ Components that do IO are either swapped out for mocks, or pointed to a addressToNode -fun addressToNode(address: SingleMessageRecipient): MockNode +fun addressToNode(address: SingleMessageRecipient): MockNode createNode -fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode

Returns a started node, optionally created by the passed factory method

+fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode

Returns a started node, optionally created by the passed factory method

createTwoNodes -fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>

Sets up a two node network, in which the first node runs network map and timestamping services and the other +fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>

Sets up a two node network, in which the first node runs network map and timestamping services and the other doesnt.

@@ -112,8 +112,8 @@ doesnt.

runNetwork -fun runNetwork(rounds: Int = -1): Unit

Asks every node in order to process any queued up inbound messages. This may in turn result in nodes -sending more messages to each other, thus, a typical usage is to call runNetwork with the rounds +fun runNetwork(rounds: Int = -1): Unit

Asks every node in order to process any queued up inbound messages. This may in turn result in nodes +sending more messages to each other, thus, a typical usage is to call runNetwork with the rounds parameter set to -1 (the default) which simply runs as many rounds as necessary to result in network stability (no nodes sent any messages in the last round).

diff --git a/docs/build/html/api/core.testing/-mock-network/messaging-network.html b/docs/build/html/api/core.testing/-mock-network/messaging-network.html index 86a9d79815..02b898c1ef 100644 --- a/docs/build/html/api/core.testing/-mock-network/messaging-network.html +++ b/docs/build/html/api/core.testing/-mock-network/messaging-network.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / messagingNetwork

messagingNetwork

- + val messagingNetwork: InMemoryMessagingNetwork


diff --git a/docs/build/html/api/core.testing/-mock-network/nodes.html b/docs/build/html/api/core.testing/-mock-network/nodes.html index 09ac9c7c75..6c0b1adc5f 100644 --- a/docs/build/html/api/core.testing/-mock-network/nodes.html +++ b/docs/build/html/api/core.testing/-mock-network/nodes.html @@ -7,7 +7,7 @@ core.testing / MockNetwork / nodes

nodes

- + val nodes: List<MockNode>

A read only view of the current set of executing nodes.


diff --git a/docs/build/html/api/core.testing/-mock-network/run-network.html b/docs/build/html/api/core.testing/-mock-network/run-network.html index 3b4539c0d3..1565b7df8b 100644 --- a/docs/build/html/api/core.testing/-mock-network/run-network.html +++ b/docs/build/html/api/core.testing/-mock-network/run-network.html @@ -7,10 +7,10 @@ core.testing / MockNetwork / runNetwork

runNetwork

- -fun runNetwork(rounds: Int = -1): Unit
+ +fun runNetwork(rounds: Int = -1): Unit

Asks every node in order to process any queued up inbound messages. This may in turn result in nodes -sending more messages to each other, thus, a typical usage is to call runNetwork with the rounds +sending more messages to each other, thus, a typical usage is to call runNetwork with the rounds parameter set to -1 (the default) which simply runs as many rounds as necessary to result in network stability (no nodes sent any messages in the last round).


diff --git a/docs/build/html/api/core.testing/-simulation/-bank-factory/counter.html b/docs/build/html/api/core.testing/-simulation/-bank-factory/counter.html index c62e243385..660557053f 100644 --- a/docs/build/html/api/core.testing/-simulation/-bank-factory/counter.html +++ b/docs/build/html/api/core.testing/-simulation/-bank-factory/counter.html @@ -7,7 +7,7 @@ core.testing / Simulation / BankFactory / counter

counter

- + var counter: Int


diff --git a/docs/build/html/api/core.testing/-simulation/-bank-factory/create-all.html b/docs/build/html/api/core.testing/-simulation/-bank-factory/create-all.html index 1ccb7aa49b..f859b25aae 100644 --- a/docs/build/html/api/core.testing/-simulation/-bank-factory/create-all.html +++ b/docs/build/html/api/core.testing/-simulation/-bank-factory/create-all.html @@ -7,7 +7,7 @@ core.testing / Simulation / BankFactory / createAll

createAll

- + fun createAll(): List<SimulatedNode>


diff --git a/docs/build/html/api/core.testing/-simulation/-bank-factory/create.html b/docs/build/html/api/core.testing/-simulation/-bank-factory/create.html index 737e0e0811..4524ec8e97 100644 --- a/docs/build/html/api/core.testing/-simulation/-bank-factory/create.html +++ b/docs/build/html/api/core.testing/-simulation/-bank-factory/create.html @@ -7,8 +7,8 @@ core.testing / Simulation / BankFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-simulation/-bank-factory/index.html b/docs/build/html/api/core.testing/-simulation/-bank-factory/index.html index b27aa0603d..6402326b10 100644 --- a/docs/build/html/api/core.testing/-simulation/-bank-factory/index.html +++ b/docs/build/html/api/core.testing/-simulation/-bank-factory/index.html @@ -39,7 +39,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-simulation/-init-.html b/docs/build/html/api/core.testing/-simulation/-init-.html index 2725281a82..1e0830f649 100644 --- a/docs/build/html/api/core.testing/-simulation/-init-.html +++ b/docs/build/html/api/core.testing/-simulation/-init-.html @@ -7,7 +7,7 @@ core.testing / Simulation / <init>

<init>

-Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Base class for network simulations that are based on the unit test / mock environment.

Sets up some nodes that can run protocols between each other, and exposes their progress trackers. Provides banks in a few cities around the world.

diff --git a/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/create.html b/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/create.html index 93ab763880..b154281ed8 100644 --- a/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/create.html +++ b/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/create.html @@ -7,8 +7,8 @@ core.testing / Simulation / NetworkMapNodeFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/index.html b/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/index.html index b7fc77e9df..9b06fe2a25 100644 --- a/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/index.html +++ b/docs/build/html/api/core.testing/-simulation/-network-map-node-factory/index.html @@ -17,7 +17,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/create.html b/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/create.html index b57fd2200f..7cfa398f28 100644 --- a/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/create.html +++ b/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/create.html @@ -7,8 +7,8 @@ core.testing / Simulation / RatesOracleFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/index.html b/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/index.html index 087a6b28ee..ff365982dd 100644 --- a/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/index.html +++ b/docs/build/html/api/core.testing/-simulation/-rates-oracle-factory/index.html @@ -17,7 +17,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-simulation/-regulator-factory/create.html b/docs/build/html/api/core.testing/-simulation/-regulator-factory/create.html index 649d194612..aa66d32143 100644 --- a/docs/build/html/api/core.testing/-simulation/-regulator-factory/create.html +++ b/docs/build/html/api/core.testing/-simulation/-regulator-factory/create.html @@ -7,8 +7,8 @@ core.testing / Simulation / RegulatorFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-simulation/-regulator-factory/index.html b/docs/build/html/api/core.testing/-simulation/-regulator-factory/index.html index 09bfd5c667..9622c3770b 100644 --- a/docs/build/html/api/core.testing/-simulation/-regulator-factory/index.html +++ b/docs/build/html/api/core.testing/-simulation/-regulator-factory/index.html @@ -17,7 +17,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-simulation/-simulated-node/-init-.html b/docs/build/html/api/core.testing/-simulation/-simulated-node/-init-.html index eeb9ca007c..e4c8c9b600 100644 --- a/docs/build/html/api/core.testing/-simulation/-simulated-node/-init-.html +++ b/docs/build/html/api/core.testing/-simulation/-simulated-node/-init-.html @@ -7,7 +7,7 @@ core.testing / Simulation / SimulatedNode / <init>

<init>

-SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)


diff --git a/docs/build/html/api/core.testing/-simulation/-simulated-node/find-my-location.html b/docs/build/html/api/core.testing/-simulation/-simulated-node/find-my-location.html index d97050934a..253438e867 100644 --- a/docs/build/html/api/core.testing/-simulation/-simulated-node/find-my-location.html +++ b/docs/build/html/api/core.testing/-simulation/-simulated-node/find-my-location.html @@ -7,7 +7,7 @@ core.testing / Simulation / SimulatedNode / findMyLocation

findMyLocation

- + protected open fun findMyLocation(): PhysicalLocation?
Overrides MockNode.findMyLocation

diff --git a/docs/build/html/api/core.testing/-simulation/-simulated-node/index.html b/docs/build/html/api/core.testing/-simulation/-simulated-node/index.html index 65f0a3bb9a..1609411a7d 100644 --- a/docs/build/html/api/core.testing/-simulation/-simulated-node/index.html +++ b/docs/build/html/api/core.testing/-simulation/-simulated-node/index.html @@ -17,7 +17,7 @@ <init> -SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int) +SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int) diff --git a/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/create.html b/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/create.html index ae9b168659..877bb3d00d 100644 --- a/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/create.html +++ b/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/create.html @@ -7,8 +7,8 @@ core.testing / Simulation / TimestampingNodeFactory / create

create

- -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+ +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
Overrides Factory.create


diff --git a/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/index.html b/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/index.html index 7e89ead2f1..cb27a851e4 100644 --- a/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/index.html +++ b/docs/build/html/api/core.testing/-simulation/-timestamping-node-factory/index.html @@ -17,7 +17,7 @@ create -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode +fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode diff --git a/docs/build/html/api/core.testing/-simulation/all-protocol-steps.html b/docs/build/html/api/core.testing/-simulation/all-protocol-steps.html index 5ee329beb0..ef1027edd3 100644 --- a/docs/build/html/api/core.testing/-simulation/all-protocol-steps.html +++ b/docs/build/html/api/core.testing/-simulation/all-protocol-steps.html @@ -7,7 +7,7 @@ core.testing / Simulation / allProtocolSteps

allProtocolSteps

- + val allProtocolSteps: <ERROR CLASS><<ERROR CLASS><SimulatedNode, Change>>


diff --git a/docs/build/html/api/core.testing/-simulation/bank-factory.html b/docs/build/html/api/core.testing/-simulation/bank-factory.html index 0ccf076cf8..1f2bd2cc2d 100644 --- a/docs/build/html/api/core.testing/-simulation/bank-factory.html +++ b/docs/build/html/api/core.testing/-simulation/bank-factory.html @@ -7,7 +7,7 @@ core.testing / Simulation / bankFactory

bankFactory

- + val bankFactory: BankFactory


diff --git a/docs/build/html/api/core.testing/-simulation/bank-locations.html b/docs/build/html/api/core.testing/-simulation/bank-locations.html index 1fb6ded343..db827ee0e7 100644 --- a/docs/build/html/api/core.testing/-simulation/bank-locations.html +++ b/docs/build/html/api/core.testing/-simulation/bank-locations.html @@ -7,7 +7,7 @@ core.testing / Simulation / bankLocations

bankLocations

- + val bankLocations: <ERROR CLASS>


diff --git a/docs/build/html/api/core.testing/-simulation/banks.html b/docs/build/html/api/core.testing/-simulation/banks.html index 87bfd36c0a..7059f725ec 100644 --- a/docs/build/html/api/core.testing/-simulation/banks.html +++ b/docs/build/html/api/core.testing/-simulation/banks.html @@ -7,7 +7,7 @@ core.testing / Simulation / banks

banks

- + val banks: List<SimulatedNode>


diff --git a/docs/build/html/api/core.testing/-simulation/current-day.html b/docs/build/html/api/core.testing/-simulation/current-day.html index 2578170ef9..c240d26375 100644 --- a/docs/build/html/api/core.testing/-simulation/current-day.html +++ b/docs/build/html/api/core.testing/-simulation/current-day.html @@ -7,7 +7,7 @@ core.testing / Simulation / currentDay

currentDay

- + var currentDay: LocalDate

The current simulated date. By default this never changes. If you want it to change, you should do so from within your overridden iterate call. Changes in the current day surface in the dateChanges observable.

diff --git a/docs/build/html/api/core.testing/-simulation/date-changes.html b/docs/build/html/api/core.testing/-simulation/date-changes.html index cb523f9dda..cf1eec7556 100644 --- a/docs/build/html/api/core.testing/-simulation/date-changes.html +++ b/docs/build/html/api/core.testing/-simulation/date-changes.html @@ -7,7 +7,7 @@ core.testing / Simulation / dateChanges

dateChanges

- + val dateChanges: <ERROR CLASS><LocalDate>


diff --git a/docs/build/html/api/core.testing/-simulation/done-steps.html b/docs/build/html/api/core.testing/-simulation/done-steps.html index df4e04fbd6..92476cd437 100644 --- a/docs/build/html/api/core.testing/-simulation/done-steps.html +++ b/docs/build/html/api/core.testing/-simulation/done-steps.html @@ -7,7 +7,7 @@ core.testing / Simulation / doneSteps

doneSteps

- + val doneSteps: <ERROR CLASS><Collection<SimulatedNode>>


diff --git a/docs/build/html/api/core.testing/-simulation/extra-node-labels.html b/docs/build/html/api/core.testing/-simulation/extra-node-labels.html index e71a48c0a5..6419256659 100644 --- a/docs/build/html/api/core.testing/-simulation/extra-node-labels.html +++ b/docs/build/html/api/core.testing/-simulation/extra-node-labels.html @@ -7,7 +7,7 @@ core.testing / Simulation / extraNodeLabels

extraNodeLabels

- + val extraNodeLabels: MutableMap<SimulatedNode, String>

A place for simulations to stash human meaningful text about what the node is "thinking", which might appear in the UI somewhere.

diff --git a/docs/build/html/api/core.testing/-simulation/index.html b/docs/build/html/api/core.testing/-simulation/index.html index e89ba73619..92d937b976 100644 --- a/docs/build/html/api/core.testing/-simulation/index.html +++ b/docs/build/html/api/core.testing/-simulation/index.html @@ -63,7 +63,7 @@ in a few cities around the world.

<init> -Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Base class for network simulations that are based on the unit test / mock environment.

+Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Base class for network simulations that are based on the unit test / mock environment.

@@ -187,13 +187,13 @@ in the UI somewhere.

linkConsensus -fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit +fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit linkProtocolProgress -fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit +fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit @@ -205,7 +205,7 @@ in the UI somewhere.

startTradingCircle -fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc +fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc each time the returned future completes.

diff --git a/docs/build/html/api/core.testing/-simulation/iterate.html b/docs/build/html/api/core.testing/-simulation/iterate.html index 3a77a8dd8e..dbf3135c30 100644 --- a/docs/build/html/api/core.testing/-simulation/iterate.html +++ b/docs/build/html/api/core.testing/-simulation/iterate.html @@ -7,7 +7,7 @@ core.testing / Simulation / iterate

iterate

- + open fun iterate(): Unit

Iterates the simulation by one step.

The default implementation circles around the nodes, pumping until one of them handles a message. The next call diff --git a/docs/build/html/api/core.testing/-simulation/latency-injector.html b/docs/build/html/api/core.testing/-simulation/latency-injector.html index 586798f5e8..eaa4152e8d 100644 --- a/docs/build/html/api/core.testing/-simulation/latency-injector.html +++ b/docs/build/html/api/core.testing/-simulation/latency-injector.html @@ -7,7 +7,7 @@ core.testing / Simulation / latencyInjector

latencyInjector

- + val latencyInjector: LatencyCalculator?


diff --git a/docs/build/html/api/core.testing/-simulation/link-consensus.html b/docs/build/html/api/core.testing/-simulation/link-consensus.html index d4227c9e45..0ebc392770 100644 --- a/docs/build/html/api/core.testing/-simulation/link-consensus.html +++ b/docs/build/html/api/core.testing/-simulation/link-consensus.html @@ -7,8 +7,8 @@ core.testing / Simulation / linkConsensus

linkConsensus

- -protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit
+ +protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit


diff --git a/docs/build/html/api/core.testing/-simulation/link-protocol-progress.html b/docs/build/html/api/core.testing/-simulation/link-protocol-progress.html index 4b92c0b6a5..17d1ecc875 100644 --- a/docs/build/html/api/core.testing/-simulation/link-protocol-progress.html +++ b/docs/build/html/api/core.testing/-simulation/link-protocol-progress.html @@ -7,8 +7,8 @@ core.testing / Simulation / linkProtocolProgress

linkProtocolProgress

- -protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit
+ +protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit


diff --git a/docs/build/html/api/core.testing/-simulation/network-map.html b/docs/build/html/api/core.testing/-simulation/network-map.html index d27cccdb48..2c400bcc84 100644 --- a/docs/build/html/api/core.testing/-simulation/network-map.html +++ b/docs/build/html/api/core.testing/-simulation/network-map.html @@ -7,7 +7,7 @@ core.testing / Simulation / networkMap

networkMap

- + val networkMap: SimulatedNode


diff --git a/docs/build/html/api/core.testing/-simulation/network.html b/docs/build/html/api/core.testing/-simulation/network.html index 3b11312fea..a1d378ace3 100644 --- a/docs/build/html/api/core.testing/-simulation/network.html +++ b/docs/build/html/api/core.testing/-simulation/network.html @@ -7,7 +7,7 @@ core.testing / Simulation / network

network

- + val network: MockNetwork


diff --git a/docs/build/html/api/core.testing/-simulation/rates-oracle.html b/docs/build/html/api/core.testing/-simulation/rates-oracle.html index ce17669371..b694a64d0f 100644 --- a/docs/build/html/api/core.testing/-simulation/rates-oracle.html +++ b/docs/build/html/api/core.testing/-simulation/rates-oracle.html @@ -7,7 +7,7 @@ core.testing / Simulation / ratesOracle

ratesOracle

- + val ratesOracle: SimulatedNode


diff --git a/docs/build/html/api/core.testing/-simulation/regulators.html b/docs/build/html/api/core.testing/-simulation/regulators.html index 4cbe05a06c..5707b0f37a 100644 --- a/docs/build/html/api/core.testing/-simulation/regulators.html +++ b/docs/build/html/api/core.testing/-simulation/regulators.html @@ -7,7 +7,7 @@ core.testing / Simulation / regulators

regulators

- + val regulators: List<SimulatedNode>


diff --git a/docs/build/html/api/core.testing/-simulation/run-async.html b/docs/build/html/api/core.testing/-simulation/run-async.html index ccc4bbba30..a27cb3e5fe 100644 --- a/docs/build/html/api/core.testing/-simulation/run-async.html +++ b/docs/build/html/api/core.testing/-simulation/run-async.html @@ -7,7 +7,7 @@ core.testing / Simulation / runAsync

runAsync

- + val runAsync: Boolean


diff --git a/docs/build/html/api/core.testing/-simulation/service-providers.html b/docs/build/html/api/core.testing/-simulation/service-providers.html index 4a8cb20391..6523d6de47 100644 --- a/docs/build/html/api/core.testing/-simulation/service-providers.html +++ b/docs/build/html/api/core.testing/-simulation/service-providers.html @@ -7,7 +7,7 @@ core.testing / Simulation / serviceProviders

serviceProviders

- + val serviceProviders: List<SimulatedNode>


diff --git a/docs/build/html/api/core.testing/-simulation/start-trading-circle.html b/docs/build/html/api/core.testing/-simulation/start-trading-circle.html index 8ccfce5c41..5ec052fb3c 100644 --- a/docs/build/html/api/core.testing/-simulation/start-trading-circle.html +++ b/docs/build/html/api/core.testing/-simulation/start-trading-circle.html @@ -7,8 +7,8 @@ core.testing / Simulation / startTradingCircle

startTradingCircle

- -fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit
+ +fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc each time the returned future completes.


diff --git a/docs/build/html/api/core.testing/-simulation/start.html b/docs/build/html/api/core.testing/-simulation/start.html index adc9d88416..6ca7d43305 100644 --- a/docs/build/html/api/core.testing/-simulation/start.html +++ b/docs/build/html/api/core.testing/-simulation/start.html @@ -7,7 +7,7 @@ core.testing / Simulation / start

start

- + open fun start(): Unit


diff --git a/docs/build/html/api/core.testing/-simulation/stop.html b/docs/build/html/api/core.testing/-simulation/stop.html index 71a0e6f00b..dc2d4a06f2 100644 --- a/docs/build/html/api/core.testing/-simulation/stop.html +++ b/docs/build/html/api/core.testing/-simulation/stop.html @@ -7,7 +7,7 @@ core.testing / Simulation / stop

stop

- + fun stop(): Unit


diff --git a/docs/build/html/api/core.testing/-simulation/timestamper.html b/docs/build/html/api/core.testing/-simulation/timestamper.html index 9bc7e8363e..30dd54082b 100644 --- a/docs/build/html/api/core.testing/-simulation/timestamper.html +++ b/docs/build/html/api/core.testing/-simulation/timestamper.html @@ -7,7 +7,7 @@ core.testing / Simulation / timestamper

timestamper

- + val timestamper: SimulatedNode


diff --git a/docs/build/html/api/core.testing/-trade-simulation/-init-.html b/docs/build/html/api/core.testing/-trade-simulation/-init-.html index bbe5519c07..bb3c19a726 100644 --- a/docs/build/html/api/core.testing/-trade-simulation/-init-.html +++ b/docs/build/html/api/core.testing/-trade-simulation/-init-.html @@ -7,7 +7,7 @@ core.testing / TradeSimulation / <init>

<init>

-TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other, then B and C trade with each other, then C and A etc).


diff --git a/docs/build/html/api/core.testing/-trade-simulation/index.html b/docs/build/html/api/core.testing/-trade-simulation/index.html index 2eadd36b1e..a11130f762 100644 --- a/docs/build/html/api/core.testing/-trade-simulation/index.html +++ b/docs/build/html/api/core.testing/-trade-simulation/index.html @@ -19,7 +19,7 @@ then B and C trade with each other, then C and A etc).

<init> -TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other, +TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)

Simulates a never ending series of trades that go pair-wise through the banks (e.g. A and B trade with each other, then B and C trade with each other, then C and A etc).

@@ -155,19 +155,19 @@ in the UI somewhere.

linkConsensus -fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit +fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit linkProtocolProgress -fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit +fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit startTradingCircle -fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc +fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit

Given a function that returns a future, iterates that function with arguments like (0, 1), (1, 2), (2, 3) etc each time the returned future completes.

diff --git a/docs/build/html/api/core.testing/-trade-simulation/start.html b/docs/build/html/api/core.testing/-trade-simulation/start.html index 68db2058f1..1df2e8ae8f 100644 --- a/docs/build/html/api/core.testing/-trade-simulation/start.html +++ b/docs/build/html/api/core.testing/-trade-simulation/start.html @@ -7,7 +7,7 @@ core.testing / TradeSimulation / start

start

- + fun start(): Unit
Overrides Simulation.start

diff --git a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/index.html b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/index.html index fcf9faa14a..9a1d5fc294 100644 --- a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/index.html +++ b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/index.html @@ -40,7 +40,7 @@ register -fun register(node: Node): Unit +fun register(node: Node): Unit diff --git a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/register.html b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/register.html index 0c957b2945..6c56d63d33 100644 --- a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/register.html +++ b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-handler/register.html @@ -7,8 +7,8 @@ demos.protocols / AutoOfferProtocol / Handler / register

register

- -fun register(node: Node): Unit
+ +fun register(node: Node): Unit


diff --git a/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/index.html b/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/index.html index ec8116a7b0..b156be284c 100644 --- a/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/index.html +++ b/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/index.html @@ -17,7 +17,7 @@ register -fun register(node: Node): Unit +fun register(node: Node): Unit diff --git a/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/register.html b/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/register.html index 41e2011db9..ff29881894 100644 --- a/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/register.html +++ b/docs/build/html/api/demos.protocols/-exit-server-protocol/-handler/register.html @@ -7,8 +7,8 @@ demos.protocols / ExitServerProtocol / Handler / register

register

- -fun register(node: Node): Unit
+ +fun register(node: Node): Unit


diff --git a/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/index.html b/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/index.html index 87d7f585a7..20680ae378 100644 --- a/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/index.html +++ b/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/index.html @@ -17,7 +17,7 @@ register -fun register(node: Node): Unit +fun register(node: Node): Unit diff --git a/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/register.html b/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/register.html index 3acaa08b14..c9e3fe27c2 100644 --- a/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/register.html +++ b/docs/build/html/api/demos.protocols/-update-business-day-protocol/-handler/register.html @@ -7,8 +7,8 @@ demos.protocols / UpdateBusinessDayProtocol / Handler / register

register

- -fun register(node: Node): Unit
+ +fun register(node: Node): Unit


diff --git a/docs/build/html/api/index-outline.html b/docs/build/html/api/index-outline.html index bfebceae3a..bab14905d6 100644 --- a/docs/build/html/api/index-outline.html +++ b/docs/build/html/api/index-outline.html @@ -61,17 +61,17 @@ -APIServerImpl(node: AbstractNode)
-fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
-fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
-fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
-fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
-fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
-fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
-fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
+APIServerImpl(node: AbstractNode)
+fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
+fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
+fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
+fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
+fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
+fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
+fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
-fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
-fun queryStates(query: StatesQuery): List<StateRef>
+fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
+fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
@@ -84,14 +84,14 @@ -AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)
+AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)
val PRIVATE_KEY_FILE_NAME: String
val PUBLIC_IDENTITY_FILE_NAME: String
protected val _servicesThatAcceptUploads: ArrayList<AcceptsFileUpload>
val advertisedServices: Set<ServiceType>
lateinit var api: APIServer
val configuration: NodeConfiguration
-protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl
+protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl
val dir: Path
protected open fun findMyLocation(): PhysicalLocation?
lateinit var identity: IdentityService
@@ -99,7 +99,7 @@ var inNodeTimestampingService: NodeTimestamperService?
val info: NodeInfo
val initialNetworkMapAddress: NodeInfo?
-protected open fun initialiseStorageService(dir: Path): StorageService
+protected open fun initialiseStorageService(dir: Path): StorageService
lateinit var interestRatesService: Service
lateinit var keyManagement: E2ETestKeyManagementService
protected abstract val log: <ERROR CLASS>
@@ -440,7 +440,7 @@ object DEALING : Step
object RECEIVED : Step
-fun register(node: Node): Unit
+fun register(node: Node): Unit
fun tracker(): <ERROR CLASS>
@@ -776,7 +776,7 @@ -ConfigurationException(message: String)
+ConfigurationException(message: String)
@@ -1403,7 +1403,7 @@ -fun register(node: Node): Unit
+fun register(node: Node): Unit
@@ -1752,7 +1752,7 @@ -IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
fun iterate(): Unit
val om: <ERROR CLASS>
fun start(): Unit
@@ -2520,7 +2520,7 @@ -MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
+MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
object DefaultFactory : Factory
@@ -2541,7 +2541,7 @@ -abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -2553,7 +2553,7 @@ -MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
protected open fun findMyLocation(): PhysicalLocation?
val id: Int
protected open val log: <ERROR CLASS>
@@ -2567,14 +2567,14 @@ -fun addressToNode(address: SingleMessageRecipient): MockNode
-fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode
-fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>
+fun addressToNode(address: SingleMessageRecipient): MockNode
+fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode
+fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>
val filesystem: <ERROR CLASS>
val identities: ArrayList<Party>
val messagingNetwork: InMemoryMessagingNetwork
val nodes: List<MockNode>
-fun runNetwork(rounds: Int = -1): Unit
+fun runNetwork(rounds: Int = -1): Unit
@@ -2841,7 +2841,7 @@ -Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())
+Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())
val DEFAULT_PORT: Int
protected val log: <ERROR CLASS>
protected fun makeMessagingService(): MessagingService
@@ -3002,7 +3002,7 @@ -Service(node: AbstractNode)
+Service(node: AbstractNode)
val acceptableFileExtensions: <ERROR CLASS>
val dataTypePrefix: String
val oracle: Oracle
@@ -3912,7 +3912,7 @@ -Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
inner class BankFactory : Factory
@@ -3948,7 +3948,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -3960,7 +3960,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -3972,7 +3972,7 @@ -SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
protected open fun findMyLocation(): PhysicalLocation?
@@ -3985,7 +3985,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -3999,8 +3999,8 @@ val extraNodeLabels: MutableMap<SimulatedNode, String>
open fun iterate(): Unit
val latencyInjector: LatencyCalculator?
-protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit
-protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit
+protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit
+protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit
val network: MockNetwork
val networkMap: SimulatedNode
val ratesOracle: SimulatedNode
@@ -4008,7 +4008,7 @@ val runAsync: Boolean
val serviceProviders: List<SimulatedNode>
open fun start(): Unit
-fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit
+fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit
fun stop(): Unit
val timestamper: SimulatedNode
@@ -4415,7 +4415,7 @@ -TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
fun start(): Unit
@@ -5027,7 +5027,7 @@ -fun register(node: Node): Unit
+fun register(node: Node): Unit
@@ -5456,17 +5456,17 @@ -APIServerImpl(node: AbstractNode)
-fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
-fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
-fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
-fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
-fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
-fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
-fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
+APIServerImpl(node: AbstractNode)
+fun buildTransaction(type: ContractDefRef, steps: List<TransactionBuildStep>): SerializedBytes<WireTransaction>
+fun commitTransaction(tx: SerializedBytes<WireTransaction>, signatures: List<WithKey>): SecureHash
+fun fetchProtocolsRequiringAttention(query: StatesQuery): Map<StateRef, ProtocolRequiringAttention>
+fun fetchStates(states: List<StateRef>): Map<StateRef, ContractState?>
+fun fetchTransactions(txs: List<SecureHash>): Map<SecureHash, SignedTransaction?>
+fun generateTransactionSignature(tx: SerializedBytes<WireTransaction>): WithKey
+fun invokeProtocolSync(type: ProtocolRef, args: Map<String, Any?>): Any?
val node: AbstractNode
-fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
-fun queryStates(query: StatesQuery): List<StateRef>
+fun provideProtocolResponse(protocol: ProtocolInstanceRef, choice: SecureHash, args: Map<String, Any?>): Unit
+fun queryStates(query: StatesQuery): List<StateRef>
fun serverTime(): LocalDateTime
@@ -8003,14 +8003,14 @@ -AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)
+AbstractNode(dir: Path, configuration: NodeConfiguration, initialNetworkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, platformClock: Clock)
val PRIVATE_KEY_FILE_NAME: String
val PUBLIC_IDENTITY_FILE_NAME: String
protected val _servicesThatAcceptUploads: ArrayList<AcceptsFileUpload>
val advertisedServices: Set<ServiceType>
lateinit var api: APIServer
val configuration: NodeConfiguration
-protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl
+protected open fun constructStorageService(attachments: NodeAttachmentService, checkpointStorage: CheckpointStorage, keypair: KeyPair, identity: Party): StorageServiceImpl
val dir: Path
protected open fun findMyLocation(): PhysicalLocation?
lateinit var identity: IdentityService
@@ -8018,7 +8018,7 @@ var inNodeTimestampingService: NodeTimestamperService?
val info: NodeInfo
val initialNetworkMapAddress: NodeInfo?
-protected open fun initialiseStorageService(dir: Path): StorageService
+protected open fun initialiseStorageService(dir: Path): StorageService
lateinit var interestRatesService: Service
lateinit var keyManagement: E2ETestKeyManagementService
protected abstract val log: <ERROR CLASS>
@@ -8106,7 +8106,7 @@ -ConfigurationException(message: String)
+ConfigurationException(message: String)
@@ -8118,7 +8118,7 @@ -Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())
+Node(dir: Path, p2pAddr: <ERROR CLASS>, configuration: NodeConfiguration, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, clock: Clock = Clock.systemUTC())
val DEFAULT_PORT: Int
protected val log: <ERROR CLASS>
protected fun makeMessagingService(): MessagingService
@@ -8574,7 +8574,7 @@ -Service(node: AbstractNode)
+Service(node: AbstractNode)
val acceptableFileExtensions: <ERROR CLASS>
val dataTypePrefix: String
val oracle: Oracle
@@ -9390,7 +9390,7 @@ -IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+IRSSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
fun iterate(): Unit
val om: <ERROR CLASS>
fun start(): Unit
@@ -9535,7 +9535,7 @@ -MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
+MockNetwork(threadPerNode: Boolean = false, defaultFactory: Factory = MockNetwork.DefaultFactory)
object DefaultFactory : Factory
@@ -9556,7 +9556,7 @@ -abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+abstract fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -9568,7 +9568,7 @@ -MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+MockNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
protected open fun findMyLocation(): PhysicalLocation?
val id: Int
protected open val log: <ERROR CLASS>
@@ -9582,14 +9582,14 @@ -fun addressToNode(address: SingleMessageRecipient): MockNode
-fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode
-fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>
+fun addressToNode(address: SingleMessageRecipient): MockNode
+fun createNode(networkMapAddress: NodeInfo? = null, forcedID: Int = -1, nodeFactory: Factory = defaultFactory, vararg advertisedServices: ServiceType): MockNode
+fun createTwoNodes(nodeFactory: Factory = defaultFactory): <ERROR CLASS><MockNode, MockNode>
val filesystem: <ERROR CLASS>
val identities: ArrayList<Party>
val messagingNetwork: InMemoryMessagingNetwork
val nodes: List<MockNode>
-fun runNetwork(rounds: Int = -1): Unit
+fun runNetwork(rounds: Int = -1): Unit
@@ -9628,7 +9628,7 @@ -Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+Simulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
inner class BankFactory : Factory
@@ -9664,7 +9664,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -9676,7 +9676,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -9688,7 +9688,7 @@ -SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
+SimulatedNode(dir: Path, config: NodeConfiguration, mockNet: MockNetwork, networkMapAddress: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int)
protected open fun findMyLocation(): PhysicalLocation?
@@ -9701,7 +9701,7 @@ -fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
+fun create(dir: Path, config: NodeConfiguration, network: MockNetwork, networkMapAddr: NodeInfo?, advertisedServices: Set<ServiceType>, id: Int): MockNode
@@ -9715,8 +9715,8 @@ val extraNodeLabels: MutableMap<SimulatedNode, String>
open fun iterate(): Unit
val latencyInjector: LatencyCalculator?
-protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit
-protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit
+protected fun linkConsensus(nodes: Collection<SimulatedNode>, protocol: ProtocolLogic<*>): Unit
+protected fun linkProtocolProgress(node: SimulatedNode, protocol: ProtocolLogic<*>): Unit
val network: MockNetwork
val networkMap: SimulatedNode
val ratesOracle: SimulatedNode
@@ -9724,7 +9724,7 @@ val runAsync: Boolean
val serviceProviders: List<SimulatedNode>
open fun start(): Unit
-fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit
+fun startTradingCircle(tradeBetween: (Int, Int) -> <ERROR CLASS><out <ERROR CLASS>>): Unit
fun stop(): Unit
val timestamper: SimulatedNode
@@ -9738,7 +9738,7 @@ -TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
+TradeSimulation(runAsync: Boolean, latencyInjector: LatencyCalculator?)
fun start(): Unit
@@ -10316,7 +10316,7 @@ object DEALING : Step
object RECEIVED : Step
-fun register(node: Node): Unit
+fun register(node: Node): Unit
fun tracker(): <ERROR CLASS>
@@ -10388,7 +10388,7 @@ -fun register(node: Node): Unit
+fun register(node: Node): Unit
@@ -10430,7 +10430,7 @@ -fun register(node: Node): Unit
+fun register(node: Node): Unit
diff --git a/node/src/main/kotlin/node/core/APIServerImpl.kt b/node/src/main/kotlin/node/internal/APIServerImpl.kt similarity index 99% rename from node/src/main/kotlin/node/core/APIServerImpl.kt rename to node/src/main/kotlin/node/internal/APIServerImpl.kt index b736e0ab40..9b2203c136 100644 --- a/node/src/main/kotlin/node/core/APIServerImpl.kt +++ b/node/src/main/kotlin/node/internal/APIServerImpl.kt @@ -1,4 +1,4 @@ -package node.core +package node.internal import com.google.common.util.concurrent.ListenableFuture import core.contracts.* diff --git a/node/src/main/kotlin/node/core/AbstractNode.kt b/node/src/main/kotlin/node/internal/AbstractNode.kt similarity index 99% rename from node/src/main/kotlin/node/core/AbstractNode.kt rename to node/src/main/kotlin/node/internal/AbstractNode.kt index 575ff36fb2..960ece9091 100644 --- a/node/src/main/kotlin/node/core/AbstractNode.kt +++ b/node/src/main/kotlin/node/internal/AbstractNode.kt @@ -1,4 +1,4 @@ -package node.core +package node.internal import com.codahale.metrics.MetricRegistry import com.google.common.util.concurrent.ListenableFuture diff --git a/node/src/main/kotlin/node/core/Node.kt b/node/src/main/kotlin/node/internal/Node.kt similarity index 99% rename from node/src/main/kotlin/node/core/Node.kt rename to node/src/main/kotlin/node/internal/Node.kt index 72c7d32795..7bb63541e3 100644 --- a/node/src/main/kotlin/node/core/Node.kt +++ b/node/src/main/kotlin/node/internal/Node.kt @@ -1,4 +1,4 @@ -package node.core +package node.internal import com.codahale.metrics.JmxReporter import com.google.common.net.HostAndPort diff --git a/node/src/main/kotlin/node/core/testing/IRSSimulation.kt b/node/src/main/kotlin/node/internal/testing/IRSSimulation.kt similarity index 99% rename from node/src/main/kotlin/node/core/testing/IRSSimulation.kt rename to node/src/main/kotlin/node/internal/testing/IRSSimulation.kt index c003f78f9e..fb260dc04a 100644 --- a/node/src/main/kotlin/node/core/testing/IRSSimulation.kt +++ b/node/src/main/kotlin/node/internal/testing/IRSSimulation.kt @@ -1,4 +1,4 @@ -package node.core.testing +package node.internal.testing import com.fasterxml.jackson.module.kotlin.readValue import com.google.common.util.concurrent.FutureCallback diff --git a/node/src/main/kotlin/node/core/testing/MockNode.kt b/node/src/main/kotlin/node/internal/testing/MockNode.kt similarity index 99% rename from node/src/main/kotlin/node/core/testing/MockNode.kt rename to node/src/main/kotlin/node/internal/testing/MockNode.kt index 4e9fbd1b9c..897e3bfe59 100644 --- a/node/src/main/kotlin/node/core/testing/MockNode.kt +++ b/node/src/main/kotlin/node/internal/testing/MockNode.kt @@ -1,4 +1,4 @@ -package node.core.testing +package node.internal.testing import com.google.common.jimfs.Configuration import com.google.common.jimfs.Jimfs @@ -11,7 +11,7 @@ import core.node.PhysicalLocation import core.node.services.ServiceType import core.node.services.testing.MockIdentityService import core.utilities.loggerFor -import node.core.AbstractNode +import node.internal.AbstractNode import node.services.config.NodeConfiguration import node.services.network.InMemoryMessagingNetwork import node.services.network.NetworkMapService diff --git a/node/src/main/kotlin/node/core/testing/Simulation.kt b/node/src/main/kotlin/node/internal/testing/Simulation.kt similarity index 99% rename from node/src/main/kotlin/node/core/testing/Simulation.kt rename to node/src/main/kotlin/node/internal/testing/Simulation.kt index d72278c58e..d390dd5462 100644 --- a/node/src/main/kotlin/node/core/testing/Simulation.kt +++ b/node/src/main/kotlin/node/internal/testing/Simulation.kt @@ -1,4 +1,4 @@ -package node.core.testing +package node.internal.testing import com.google.common.util.concurrent.Futures import com.google.common.util.concurrent.ListenableFuture diff --git a/node/src/main/kotlin/node/core/testing/TestUtils.kt b/node/src/main/kotlin/node/internal/testing/TestUtils.kt similarity index 94% rename from node/src/main/kotlin/node/core/testing/TestUtils.kt rename to node/src/main/kotlin/node/internal/testing/TestUtils.kt index dd9c52102b..dc8ef50e23 100644 --- a/node/src/main/kotlin/node/core/testing/TestUtils.kt +++ b/node/src/main/kotlin/node/internal/testing/TestUtils.kt @@ -7,7 +7,7 @@ import core.contracts.StateRef import core.crypto.Party import core.testing.DUMMY_NOTARY import core.testing.DUMMY_NOTARY_KEY -import node.core.AbstractNode +import node.internal.AbstractNode import java.util.* fun issueState(node: AbstractNode, notary: Party = DUMMY_NOTARY): StateRef { diff --git a/node/src/main/kotlin/node/core/testing/TradeSimulation.kt b/node/src/main/kotlin/node/internal/testing/TradeSimulation.kt similarity index 98% rename from node/src/main/kotlin/node/core/testing/TradeSimulation.kt rename to node/src/main/kotlin/node/internal/testing/TradeSimulation.kt index c955a39650..c2def3724d 100644 --- a/node/src/main/kotlin/node/core/testing/TradeSimulation.kt +++ b/node/src/main/kotlin/node/internal/testing/TradeSimulation.kt @@ -1,4 +1,4 @@ -package node.core.testing +package node.internal.testing import com.google.common.util.concurrent.Futures import com.google.common.util.concurrent.ListenableFuture diff --git a/node/src/main/kotlin/node/services/clientapi/NodeInterestRates.kt b/node/src/main/kotlin/node/services/clientapi/NodeInterestRates.kt index c9ca4622a2..4c76f7b8a4 100644 --- a/node/src/main/kotlin/node/services/clientapi/NodeInterestRates.kt +++ b/node/src/main/kotlin/node/services/clientapi/NodeInterestRates.kt @@ -8,7 +8,7 @@ import core.math.CubicSplineInterpolator import core.math.Interpolator import core.math.InterpolatorFactory import core.node.services.ServiceType -import node.core.AbstractNode +import node.internal.AbstractNode import node.services.api.AbstractNodeService import node.services.api.AcceptsFileUpload import org.slf4j.LoggerFactory diff --git a/node/src/main/kotlin/node/services/messaging/ArtemisMessagingService.kt b/node/src/main/kotlin/node/services/messaging/ArtemisMessagingService.kt index 645bbcd491..ba4da3b8f7 100644 --- a/node/src/main/kotlin/node/services/messaging/ArtemisMessagingService.kt +++ b/node/src/main/kotlin/node/services/messaging/ArtemisMessagingService.kt @@ -4,7 +4,7 @@ import com.google.common.net.HostAndPort import core.RunOnCallerThread import core.ThreadBox import core.messaging.* -import node.core.Node +import node.internal.Node import core.utilities.loggerFor import org.apache.activemq.artemis.api.core.SimpleString import org.apache.activemq.artemis.api.core.TransportConfiguration diff --git a/node/src/main/kotlin/node/servlets/DataUploadServlet.kt b/node/src/main/kotlin/node/servlets/DataUploadServlet.kt index 85589dbdc2..96efe41e82 100644 --- a/node/src/main/kotlin/node/servlets/DataUploadServlet.kt +++ b/node/src/main/kotlin/node/servlets/DataUploadServlet.kt @@ -1,7 +1,7 @@ package node.servlets import node.services.api.AcceptsFileUpload -import node.core.Node +import node.internal.Node import core.utilities.loggerFor import org.apache.commons.fileupload.servlet.ServletFileUpload import java.util.* diff --git a/node/src/main/resources/node/core/testing/example.rates.txt b/node/src/main/resources/node/internal/testing/example.rates.txt similarity index 100% rename from node/src/main/resources/node/core/testing/example.rates.txt rename to node/src/main/resources/node/internal/testing/example.rates.txt diff --git a/node/src/main/resources/node/core/testing/trade.json b/node/src/main/resources/node/internal/testing/trade.json similarity index 100% rename from node/src/main/resources/node/core/testing/trade.json rename to node/src/main/resources/node/internal/testing/trade.json diff --git a/node/src/test/kotlin/node/messaging/AttachmentTests.kt b/node/src/test/kotlin/node/messaging/AttachmentTests.kt index 7981a93587..be1d2dd8c6 100644 --- a/node/src/test/kotlin/node/messaging/AttachmentTests.kt +++ b/node/src/test/kotlin/node/messaging/AttachmentTests.kt @@ -8,7 +8,7 @@ import core.node.services.ServiceType import core.serialization.OpaqueBytes import core.testing.rootCauseExceptions import core.utilities.BriefLogFormatter -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import node.services.config.NodeConfiguration import node.services.network.NetworkMapService import node.services.persistence.NodeAttachmentService diff --git a/node/src/test/kotlin/node/messaging/InMemoryMessagingTests.kt b/node/src/test/kotlin/node/messaging/InMemoryMessagingTests.kt index 72fbe6e222..0c91995f74 100644 --- a/node/src/test/kotlin/node/messaging/InMemoryMessagingTests.kt +++ b/node/src/test/kotlin/node/messaging/InMemoryMessagingTests.kt @@ -6,7 +6,7 @@ import core.messaging.Message import core.messaging.TopicStringValidator import core.messaging.send import core.serialization.deserialize -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import org.junit.Before import org.junit.Test import java.util.* diff --git a/node/src/test/kotlin/node/messaging/TwoPartyTradeProtocolTests.kt b/node/src/test/kotlin/node/messaging/TwoPartyTradeProtocolTests.kt index 0acb213c63..a8e483ee20 100644 --- a/node/src/test/kotlin/node/messaging/TwoPartyTradeProtocolTests.kt +++ b/node/src/test/kotlin/node/messaging/TwoPartyTradeProtocolTests.kt @@ -20,7 +20,7 @@ import core.seconds import core.testing.* import core.utilities.BriefLogFormatter import core.utilities.RecordingMap -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import node.services.config.NodeConfiguration import node.services.network.InMemoryMessagingNetwork import node.services.persistence.NodeAttachmentService diff --git a/node/src/test/kotlin/node/services/InMemoryNetworkMapCacheTest.kt b/node/src/test/kotlin/node/services/InMemoryNetworkMapCacheTest.kt index 599f7668c6..fdf5e2da47 100644 --- a/node/src/test/kotlin/node/services/InMemoryNetworkMapCacheTest.kt +++ b/node/src/test/kotlin/node/services/InMemoryNetworkMapCacheTest.kt @@ -1,6 +1,6 @@ package node.services -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import org.junit.Before import org.junit.Test diff --git a/node/src/test/kotlin/node/services/InMemoryNetworkMapServiceTest.kt b/node/src/test/kotlin/node/services/InMemoryNetworkMapServiceTest.kt index f6d6b83691..5773ac0add 100644 --- a/node/src/test/kotlin/node/services/InMemoryNetworkMapServiceTest.kt +++ b/node/src/test/kotlin/node/services/InMemoryNetworkMapServiceTest.kt @@ -6,7 +6,7 @@ import core.node.NodeInfo import core.protocols.ProtocolLogic import core.random63BitValue import core.utilities.BriefLogFormatter -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import node.services.network.InMemoryNetworkMapService import node.services.network.NetworkMapService import node.services.network.NodeRegistration diff --git a/node/src/test/kotlin/node/services/NodeInterestRatesTest.kt b/node/src/test/kotlin/node/services/NodeInterestRatesTest.kt index 2b2661780a..59592f03c4 100644 --- a/node/src/test/kotlin/node/services/NodeInterestRatesTest.kt +++ b/node/src/test/kotlin/node/services/NodeInterestRatesTest.kt @@ -11,7 +11,7 @@ import core.testing.ALICE_PUBKEY import core.testing.MEGA_CORP import core.testing.MEGA_CORP_KEY import core.utilities.BriefLogFormatter -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import node.services.clientapi.NodeInterestRates import org.junit.Assert import org.junit.Test diff --git a/node/src/test/kotlin/node/services/NotaryServiceTests.kt b/node/src/test/kotlin/node/services/NotaryServiceTests.kt index 74d156fea0..68a84f1cb3 100644 --- a/node/src/test/kotlin/node/services/NotaryServiceTests.kt +++ b/node/src/test/kotlin/node/services/NotaryServiceTests.kt @@ -4,7 +4,7 @@ import core.contracts.TransactionBuilder import core.seconds import core.testing.DUMMY_NOTARY import core.testing.DUMMY_NOTARY_KEY -import node.core.testing.MockNetwork +import node.internal.testing.MockNetwork import node.testutils.issueState import org.junit.Before import org.junit.Test diff --git a/src/main/kotlin/demos/IRSDemo.kt b/src/main/kotlin/demos/IRSDemo.kt index e0f15c3219..033b37dc71 100644 --- a/src/main/kotlin/demos/IRSDemo.kt +++ b/src/main/kotlin/demos/IRSDemo.kt @@ -4,7 +4,7 @@ import com.google.common.net.HostAndPort import com.typesafe.config.ConfigFactory import core.crypto.Party import core.logElapsedTime -import node.core.Node +import node.internal.Node import node.services.config.NodeConfiguration import node.services.config.NodeConfigurationFromConfig import core.node.NodeInfo diff --git a/src/main/kotlin/demos/RateFixDemo.kt b/src/main/kotlin/demos/RateFixDemo.kt index 90aac61673..e1cb618aac 100644 --- a/src/main/kotlin/demos/RateFixDemo.kt +++ b/src/main/kotlin/demos/RateFixDemo.kt @@ -13,7 +13,7 @@ import core.utilities.BriefLogFormatter import core.utilities.Emoji import demos.api.InterestRateSwapAPI import joptsimple.OptionParser -import node.core.Node +import node.internal.Node import node.services.clientapi.NodeInterestRates import node.services.config.NodeConfiguration import node.services.messaging.ArtemisMessagingService diff --git a/src/main/kotlin/demos/TraderDemo.kt b/src/main/kotlin/demos/TraderDemo.kt index 5681745cec..e2a503f423 100644 --- a/src/main/kotlin/demos/TraderDemo.kt +++ b/src/main/kotlin/demos/TraderDemo.kt @@ -12,7 +12,7 @@ import core.days import core.logElapsedTime import core.messaging.SingleMessageRecipient import node.services.statemachine.StateMachineManager -import node.core.Node +import node.internal.Node import node.services.config.NodeConfigurationFromConfig import core.node.NodeInfo import node.services.network.NetworkMapService diff --git a/src/main/kotlin/demos/protocols/AutoOfferProtocol.kt b/src/main/kotlin/demos/protocols/AutoOfferProtocol.kt index a0d52c43fd..f174d176d7 100644 --- a/src/main/kotlin/demos/protocols/AutoOfferProtocol.kt +++ b/src/main/kotlin/demos/protocols/AutoOfferProtocol.kt @@ -7,7 +7,7 @@ import core.contracts.DealState import core.crypto.Party import core.contracts.SignedTransaction import core.messaging.SingleMessageRecipient -import node.core.Node +import node.internal.Node import core.protocols.ProtocolLogic import core.random63BitValue import core.serialization.deserialize diff --git a/src/main/kotlin/demos/protocols/ExitServerProtocol.kt b/src/main/kotlin/demos/protocols/ExitServerProtocol.kt index bebd8d9c07..4bbd501b80 100644 --- a/src/main/kotlin/demos/protocols/ExitServerProtocol.kt +++ b/src/main/kotlin/demos/protocols/ExitServerProtocol.kt @@ -5,7 +5,7 @@ import co.paralleluniverse.strands.Strand import core.node.NodeInfo import core.protocols.ProtocolLogic import core.serialization.deserialize -import node.core.Node +import node.internal.Node import node.services.network.MockNetworkMapCache import java.util.concurrent.TimeUnit diff --git a/src/main/kotlin/demos/protocols/UpdateBusinessDayProtocol.kt b/src/main/kotlin/demos/protocols/UpdateBusinessDayProtocol.kt index 7295cbd486..3c6e0ab9fd 100644 --- a/src/main/kotlin/demos/protocols/UpdateBusinessDayProtocol.kt +++ b/src/main/kotlin/demos/protocols/UpdateBusinessDayProtocol.kt @@ -12,7 +12,7 @@ import core.serialization.deserialize import core.utilities.ProgressTracker import node.utilities.ANSIProgressRenderer import demos.DemoClock -import node.core.Node +import node.internal.Node import node.services.network.MockNetworkMapCache import protocols.TwoPartyDealProtocol import java.time.LocalDate diff --git a/src/test/kotlin/core/testing/IRSSimulationTest.kt b/src/test/kotlin/core/testing/IRSSimulationTest.kt index 35b8890ad2..8063957d67 100644 --- a/src/test/kotlin/core/testing/IRSSimulationTest.kt +++ b/src/test/kotlin/core/testing/IRSSimulationTest.kt @@ -2,7 +2,7 @@ package core.testing import com.google.common.base.Throwables import core.utilities.BriefLogFormatter -import node.core.testing.IRSSimulation +import node.internal.testing.IRSSimulation import org.junit.Test class IRSSimulationTest {