corda

How to add a new node to an existing corda network?

杀马特。学长 韩版系。学妹 提交于 2020-03-04 20:33:29
问题 I have a use case where I need to add a new node to an existing Corda network (let's say in existing Corda network 2 nodes are running currently (A, B node) and now need to add node C to this network. I went through following links as well but no luck: Adding new node to existing corda network Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable Deploy and run nodes dynamically in CORDA I tried the following approach: I Added A and B nodes

How to control log level when using Gradle Test Runner

99封情书 提交于 2020-02-06 08:43:06
问题 My Setup: OS: Windows 10 Corda: 4.1 (I always start with the template.) IDE: IntelliJ 2019.1.3 Language: Java In 2018 Joel wrote how to control logging levels when performing Flow tests: link You can override the flow tests' logger settings by passing: -Dlog4j.configurationFile=/path/to/log4j2.xml ...as a VM option This works great if you are using JUnit in IntelliJ. However, the Corda documentation recommends that you use the Gradle Test Runner to perform tests: link When I switch to using

Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable

烂漫一生 提交于 2020-02-05 14:06:09
问题 I am trying to handcraft a Node folder with following contents - Corda.jar (1.4), Node.conf, cordapp (Folder). Receiving following error on Node startup (java -jar ./Corda.jar) Logs can be found in : ! ATTENTION: This node is running in development mode! This is not safe for production deployment. [ERROR] 15:20:24-0400 [main] internal.NodeStartupLogging.invoke - Exception during node startup: Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable.

Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable

我的未来我决定 提交于 2020-02-05 14:04:46
问题 I am trying to handcraft a Node folder with following contents - Corda.jar (1.4), Node.conf, cordapp (Folder). Receiving following error on Node startup (java -jar ./Corda.jar) Logs can be found in : ! ATTENTION: This node is running in development mode! This is not safe for production deployment. [ERROR] 15:20:24-0400 [main] internal.NodeStartupLogging.invoke - Exception during node startup: Couldn't find network parameters file and compatibility zone wasn't configured/isn't reachable.

How to deploy multiple nodes in Corda Testnet network?

落爺英雄遲暮 提交于 2020-01-25 04:19:19
问题 We are building a POC using Corda and Springboot web server. Following are the versions of Corda platform, Springboot server, and other essential dependencies used for building the POC- cordaReleaseGroup=net.corda cordaVersion=4.0 gradlePluginsVersion=4.0.45 kotlinVersion=1.2.71 junitVersion=4.12 quasarVersion=0.7.10 spring_version = '4.3.11.RELEASE' spring_boot_version = '2.0.2.RELEASE' spring_boot_gradle_plugin_version = '2.1.1.RELEASE' jvmTarget = "1.8" log4jVersion =2.11.2 platformVersion

How to deploy multiple nodes in Corda Testnet network?

有些话、适合烂在心里 提交于 2020-01-25 04:19:10
问题 We are building a POC using Corda and Springboot web server. Following are the versions of Corda platform, Springboot server, and other essential dependencies used for building the POC- cordaReleaseGroup=net.corda cordaVersion=4.0 gradlePluginsVersion=4.0.45 kotlinVersion=1.2.71 junitVersion=4.12 quasarVersion=0.7.10 spring_version = '4.3.11.RELEASE' spring_boot_version = '2.0.2.RELEASE' spring_boot_gradle_plugin_version = '2.1.1.RELEASE' jvmTarget = "1.8" log4jVersion =2.11.2 platformVersion

Can't running CordaV4 from intellij

心已入冬 提交于 2020-01-25 02:54:09
问题 1.I downloaded from "git clone https://github.com/corda/samples" 2.I open project from Intellij As the page(https://docs.corda.net/tutorial-cordapp.html#downloading-the-example-cordapp) shows 3.I selected "Run Example Cordapp - Kotlin",And start Debugging 4.I get some exception from Intellij console I access "web address",But it's doesn't work. I guess server not working. How can I solve this Exeption? [INFO] 14:02:57,980 [driver-pool-thread-0] network.NodeInfoFilesCopier. - Now watching:

How to hide sensitive data from node.conf?

半世苍凉 提交于 2020-01-23 03:40:07
问题 Can someone please give me an example for corporatePasswordStore that is mentioned here: https://docs.corda.net/node-administration.html?fbclid=IwAR0gRwe5BtcWO0NymZVyE7_yMfthu2xxnU832vZHdbuv17S-wPXgb7iVZSs#id2 I've been doing a lot of research in the last few days on how to hide the plain passwords from node.conf ; it's a new topic for me and this is what I came up with so far: Create a priv/pub key with gpg2 Create a password store with pass (using the key that I generated earlier). Store

Corda: How to implement hierarchical relationships between state data persisted to H2

梦想的初衷 提交于 2020-01-23 03:05:13
问题 Summary I've adapted the basic Token Issuance Corda Bootcamp application to demonstrate this issue. I want to create a bidirectional mapping between TokenStates and TokenChildren where the relationship is one-to-many. What are the best practices for persisting hierarchical data? Is it possible to implement this using JPA annotations in state schemas? I have one state - TokenState , that contains some arbitrary data as well as a Collection of objects with the class TokenChild . The purpose of

Corda: How to implement hierarchical relationships between state data persisted to H2

限于喜欢 提交于 2020-01-23 03:05:07
问题 Summary I've adapted the basic Token Issuance Corda Bootcamp application to demonstrate this issue. I want to create a bidirectional mapping between TokenStates and TokenChildren where the relationship is one-to-many. What are the best practices for persisting hierarchical data? Is it possible to implement this using JPA annotations in state schemas? I have one state - TokenState , that contains some arbitrary data as well as a Collection of objects with the class TokenChild . The purpose of