corda

Demos not working on Windows 10

☆樱花仙子☆ 提交于 2020-01-04 05:30:32
问题 I have been trying to run all the examples and demos provided by R3 Corda on my local machine which has windows 10 in it. https://docs.corda.net/releases/release-V1.0/running-the-demos.html While example 1 and 2 are working fine, but I am unable to run the demos. While the nodes are getting deployed, but once I run the nodes using runnodes command from command-line, they open in terminals and immediately close. Please can someone from #r3corda #corda team may help to sort this out. 回答1: I was

In Corda, what data is sent to a non-validating notary service?

帅比萌擦擦* 提交于 2020-01-03 13:30:44
问题 This question frequently comes up in conversations: When a Corda transaction is sent to a non-validating notary service for finalisation, what can the notary service see and deduce about the world? 回答1: Before sending a transaction to a non-validating notary, it is filtered as follows: stx.buildFilteredTransaction(Predicate { it is StateRef || it is TimeWindow || it == notaryParty }) (see NotaryFlow.kt in the main Corda repo). This means that the non-validating notary will only see: Any

When deploying Corda nodes across the network, which JARs have to be exactly the same?

家住魔仙堡 提交于 2020-01-03 06:27:02
问题 Several questions on Corda deployment: Upon deployment, do all the JAR files in all Corda nodes have to be exactly the same - same build, same version, same hash, etc.. ? Does it mean all parties have to agree on the same code base beforehand? How to implement your own node's logic variant? Is it possible to only share the JARs containing interface of the flow and have different JARs for implementation? Can we drop JAR into plugin directory as required without synchronizing with other nodes?

When deploying Corda nodes across the network, which JARs have to be exactly the same?

故事扮演 提交于 2020-01-03 06:26:06
问题 Several questions on Corda deployment: Upon deployment, do all the JAR files in all Corda nodes have to be exactly the same - same build, same version, same hash, etc.. ? Does it mean all parties have to agree on the same code base beforehand? How to implement your own node's logic variant? Is it possible to only share the JARs containing interface of the flow and have different JARs for implementation? Can we drop JAR into plugin directory as required without synchronizing with other nodes?

JMX Metrics and New Relic

强颜欢笑 提交于 2020-01-03 05:04:38
问题 We have new relic’s agent to our configuration to get exposure and understand the configuration and capture of JMX metrics. Our CorDapp new shows up under our new relic account. However, the only metrics being captured and displayed are general and related to the JVM. The only source file including the @MXBean annotation is HibernateStatistics. I see under master that there is more details around metrics and monitoring. I assume that the additional metric capture did not happen until after V3

Corda Race Condition, Invoking some other flow from current flow, but input state is from current flow

不羁的心 提交于 2020-01-01 19:56:57
问题 This question is raised while discussing Making asynchronous HTTP calls from flows Suppose, we are implementing a Loan Application. After a LoanRequest is received, Corda flow will make an HTTP call to verify the request and we want to invoke other transaction automatically according to the result of HTTP call i.e to record ApprovedLoan or RejectedLoan State. Now problem in this scenario is, ApprovedLoan or RejectedLoan transaction will need input state as LoanRequest . So we can't invoke the

Corda Race Condition, Invoking some other flow from current flow, but input state is from current flow

99封情书 提交于 2020-01-01 19:56:14
问题 This question is raised while discussing Making asynchronous HTTP calls from flows Suppose, we are implementing a Loan Application. After a LoanRequest is received, Corda flow will make an HTTP call to verify the request and we want to invoke other transaction automatically according to the result of HTTP call i.e to record ApprovedLoan or RejectedLoan State. Now problem in this scenario is, ApprovedLoan or RejectedLoan transaction will need input state as LoanRequest . So we can't invoke the

Can one single Corda node support multiple parties/accounts?

二次信任 提交于 2020-01-01 17:36:29
问题 Just wonder if a single Corda node can support multiple accounts like Bitcoin does. A related open question I found on discourse https://discourse.corda.net/t/can-you-have-a-corda-identity-adress-without-running-a-node/1298 From Peter FroystadFroystadP6d Does Corda support multiple people having accounts/addresses on the network without running a Corda node? Similar to how Bitcoin allow people to own coins with a private key, but not running a full node? In the financial world, this would

corda generating node info manually (--just-generate-node-info) forces host lookup

懵懂的女人 提交于 2019-12-25 02:24:11
问题 I am trying to generating node-info files for a few nodes running in our cloud. I bring up these nodes within separate containers. I have tried corda 3.1 and 3.2 I use the command: java -jar corda.jar --just-generate-node-info The result is (in the log file of the node): *java.net.UnknownHostException: controllercontainer at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_172] at java.net.InetAddress$2.lookupAllHostAddr(Unknown Source) ~[?:1.8.0_172] at java.net

Corda Walking the Chain in finalityFlow

喜你入骨 提交于 2019-12-25 01:50:02
问题 In Corda, FinalityFlow: Verifies transaction on initiator node Notarizes transaction Persists signedTransaction to vault of initiator Distributes transaction to the participants As per consensus, verification involves walking the chain. I looked in FinalityFlow code. Where exactly does the walking-the-chain thing happen? Do the notary and the participants also walk the chain? If yes, they check the signatures on each transaction in the chain, but where exactly in the code does it happen? As