corda

Privacy loss in Provenance Corda

天涯浪子 提交于 2019-12-13 15:58:30
问题 In a closed loop network, when parties transfer assets, the transactions associated with that are also shared. So the otherparty would get to know everything about my past transactions with that asset especially in the case of cash or securities. This actually is a privacy concern. Also, since it is a private network, after few years everyone in the network might get know the past transactions(most if not all) of every other node based on their interaction. How this issue handled or is there

Corda network parameter change with Network Map Service

孤人 提交于 2019-12-13 06:29:57
问题 I have run network map service of corda on my VM. When I changed whitelist file, network map service rebuild network map and also network parameter. If the network-parameters file is changed and no longer matches what the network map service is advertising then the node will automatically shutdown. In my case all nodes gets shut down which was expected. On start up got message "Node is using parameters with hash: X but network map is advertising: Y". After deleting network-parameter it starts

How to download the encrypted attachment in corda?

☆樱花仙子☆ 提交于 2019-12-13 06:17:35
问题 How to download the encrypted attachment in Corda? I have uploaded a file in corda and encrypted it and got the hash. How to download the same from other node? 回答1: Consider, you have uploaded Jar as the attachment that contains a single file (e.g. legal agreement pdf), you can extract it as below: //Get the attachmentJar from node for attachmentHash. val attachmentJar: InputStream = cordaRPCOps.openAttachment(attachmentHash) //Read the content of Jar to get file name and data. var file_name

Can nodes communicate with each other when each node uses separate Internet service and connectivity offered by different ISPs?

不羁的心 提交于 2019-12-13 05:42:40
问题 We have come across a situation where each node may use separate "Internet service and Connectivity" offered by different ISPs. Can the nodes still communicate? For example - If node A is running in a machine that is connected to internet using "Sky Broadband" ISP and If node B is running in another machine that is connected to internet using "Vodafone Broadband" ISP - Can node A and node B communicate? 回答1: It depends what you mean by "network". Corda has two types of network: Business

In Corda, `KryoException: Encountered unregistered class ID` despite registering classes

谁都会走 提交于 2019-12-13 04:42:57
问题 I have written an application that uses a Spring Boot webserver to speak to a Corda node. I have whitelisted all the required classes, but when I start a flow on the node, I get the following exception: [WARN ] 2018-05-31T01:52:17,723Z [Thread-0 (ActiveMQ-client-global-threads)] messaging.RPCServer.clientArtemisMessageHandler - Inbound RPC failed {actor_id=user1, actor_owningIdentity=O=Book, L=Shanghai, C=CN, actor_store_id=NODE_CONFIG, invocation_id=a1d3ad59-fb5c-4037-897e-a5c19d1d281e,

Retrieving missed Corda transactions from an RPC client vaultTrackBy

六月ゝ 毕业季﹏ 提交于 2019-12-13 04:27:24
问题 Corda transactions can be subscribed to using vaultTrackBy from an RPC client but these transactions events can be missed if the RPC connection goes down. RPC disconnects can be a common event so is there a way to retrieve missed transactions when an RPC connection is restored? 回答1: Corda does not assume that the RPC client is durable and assumes that the connection will drop from time to time. Here is one example of how to catch up to events you've missed while the RPC connection was down.

TLS v1 disable options in Corda

女生的网名这么多〃 提交于 2019-12-13 04:18:58
问题 does anybody if is possible to disable TLS v1 in Corda Artemis. I know Corda use TLS v1.2 but our problem is TLS v1 is enable in the system. If I run "openssl s_client -connect IP:port -tls1" I get a sucessfully respond. Is there a way to disable TLS v1 in corda? Thanks!! – 回答1: TLS1 is not enabled. If you run openssl s_client -connect IP:port -tls1 and try and connect to a node, you get a wrong version number error, indicating that TLS1 is not supported. The list of supported TLS versions

Corda service does not exist when running flow on local network created by driver (NodeDriver.kt)

白昼怎懂夜的黑 提交于 2019-12-13 04:11:14
问题 I am getting following exception when accessing a service in flow of a cordapp java.lang.IllegalArgumentException: Corda service com.example.services.MyService does not exist i am using cordaV2 and have tried to edit NodeDriver.kt with driver(isDebug = true, extraCordappPackagesToScan = listOf("com.example.services")) but it doesn't help. How can i update cordApp code that it runs locally on network created from NodeDriver.kt and it doesn't throw this exception! 回答1: I rechecked my code and

cordapp-template-java “Cannot resolve symbol 'docs'”

泄露秘密 提交于 2019-12-13 03:56:15
问题 I have been working my way through the Hello, World! Tutorial from V2.0 and cannot import the following variable. import static net.corda.docs.java.tutorial.helloworld.TemplateContract.TEMPLATE_CONTRACT_ID; Intellij informs me that it "Cannot resolve symbol 'docs'". Is this a known issue or have I incorrectly setup the cordapp-template-java project? 回答1: Resolved this issue by using: import static com.template.TemplateContract.TEMPLATE_CONTRACT_ID; The definition for this variable can be

How does Corda support parent-child relationship

家住魔仙堡 提交于 2019-12-13 03:31:38
问题 How does Corda support parent-child relationship between states ( i.e. one parent state to many child states that serve different purposes ) One-To-Many Relationship. Currently I am only doing it by adding the reference number ( linear id ) of the parent state into each child states. Elaboration: The parent states consist of common information shared by each child states, While the child states would consist of information that is only relevant to itself. Each child would evolve or transition