Hot answers tagged

10 votes
Accepted

QuorumChain Consensus vs Raft Consensus vs Istanbul consensus quorum

I'm not an expert on this Quorum world. But as i've read, the main difference between the three mechanisms you mentioned is the % of BFT (Byzantinism Fault Tolerance). BFT is defined as: ...
CPereez19's user avatar
  • 2,835
6 votes
Accepted

How could I send transactions continuously by Web3j generated wrapper

I found the solution, please refer, #296 Use FastRawTransactionManager to speed up your transactions. Use RawTransactionManager to shorten the polling interval. If you need both, use the following ...
Kimi Wu's user avatar
  • 243
6 votes
Accepted

What contract is used in Istanbul consensus mechanism in JP Morgan Quorum?

Possibly, it is block_voting.sol. I'm 90% sure. Also, I'm 90% sure that it's garbage. This contract is not used by Istanbul consensus. Some evidence (with radare2): Cut "code:" content from "...
Mikhail Shihov's user avatar
5 votes
Accepted

Does quorum support privacy between accounts when multiple accounts use same quorum-node?

You'll have: Node A with public state and private state A listening for A1 and A2. Node B with public state and private state B listening for B1 and B2. A1 will send a privateFor transaction to: B1. ...
Rob Hitchens's user avatar
  • 54.5k
5 votes
Accepted

Issue in truffle migration with Quorum

inside module.exports, add Gas and gasPrice. network_id: "*", // Match any network id gasPrice: 0, gas: 4500000
Luiz Soares's user avatar
  • 1,054
5 votes
Accepted

Why do we need ether in private quorum chain for transactions?

You need Ether in the account. But Ether is not deducted from the account. Check this issue issue38
Luiz Soares's user avatar
  • 1,054
5 votes
Accepted

Quorum privateFor not working with truffle-hd-wallet-provider

Updated: Since Quorum v2.2.1, we now support remote signing for raw (read signed) private transactions. The API is explained in several places, but a great starting point is Quorum.js hosted here: ...
fixanoid's user avatar
  • 1,627
5 votes

About key and address difference between Quorum and Ethereum blockchain

Quorum adds a number of features into plain Ethereum, tho from perspective of using it or developing a dapp with it its practically the same. These features are what make Quorum enterprise ready and ...
fixanoid's user avatar
  • 1,627
5 votes

Empty array is being returned

I hope I understand you question correctly. This is the code I came up with. It is tested and should be working as expected (at least in my opinion). pragma solidity ^0.5.0; contract simpleexample{ ...
cqx's user avatar
  • 3,452
4 votes
Accepted

Where can I find the source code for Quorum, the permissioned implementation of Ethereum supporting data privacy?

The code is at https://github.com/jpmorganchase/quorum There are related repos at the parent https://github.com/jpmorganchase, such as quorum-examples, quorum-docs, constellation, and cakeshop. ...
eth's user avatar
  • 84.2k
4 votes
Accepted

Why web3 and not just call JSON RPC API

As you said, you can do everything without web3. Most users just don't find it easy to do most of the things web3 does for you. So web3 is just a wrapper library which provides easy-to-use access to ...
Lauri Peltonen's user avatar
4 votes

In Quorum, between Raft and Istanbul BFT (IBFT) consensus, which has a better (faster) block confirmation time? Assuming Ceteris Paribus

This paper Performance Evaluation of the Quorum Blockchain Platform gives a good comparison between Raft and IBFT in term of latency and throughput.
Noureddine's user avatar
4 votes

Good source for TPS and transaction latency / finality for private Ethereum blockchains

I can't speak to the others as I work on Quorum, but there are a few good sources that our team uses and references. Here is performance evaluation done by an external team with published method and ...
fixanoid's user avatar
  • 1,627
4 votes
Accepted

Differences between Quorum and Pantheon

There are 2 main differences: Besu is a more generic client that support Ethereum mainnet and is written in Java Quorum is a fork of geth (go-ethereum, the most used client for ethereum). It does ...
fixanoid's user avatar
  • 1,627
4 votes

What is the difference between IBFT(Istanbul BFT) and PBFT?

IBFT Consensus is inspired by Castro-Liskov 99 PBFT paper. Like PBFT, in IBFT a block is confirmed by passing through PREPREPARE, PREPARE and COMMIT phases and like PBFT, the validators moves through ...
Jitu Bhurat's user avatar
3 votes
Accepted

Quorum: Generating Public Key for a Given Address

A Quorum node's keypair is generated using Constellation. Depending on which version you have, you run either of the following to generate tm.key (private key) and tm.pub (public key) files. You can ...
benjaminion's user avatar
  • 9,072
3 votes

Where can I find the source code for Quorum, the permissioned implementation of Ethereum supporting data privacy?

From JP Morgan released its implementation of a permissioned version of Ethereum, the GitHub repository for Quorum is at https://github.com/jpmorganchase/quorum. From the repository: Quorum is an ...
BokkyPooBah's user avatar
3 votes
Accepted

Is Quorum production ready

As far as I know, JPMorgan's Quorum is ready to use with quite guarantees (which doesn't mean that it couldn't be improved or stuff like that). Think about that, Quorum isn't more than the Raft ...
CPereez19's user avatar
  • 2,835
3 votes

eth_sendTransaction vs eth_sendTransactionAsync - asynchronous or synchronous request

The requirements for private txn (Quorum only) posts are a lot different than a regular txn (vanilla Ethereum) mainly because the underlying privacy layer is handled as another p2p communication ...
fixanoid's user avatar
  • 1,627
3 votes
Accepted

Quorum - How to guard against DDOS if there are no gas transaction fee in private enterprise blockchain

Even though, in Quorum a user can send transactions for free, Quorum does not provide a DDoS protection more than what Ethereum do. To verify the above statement, you can check Quorum documentation ...
Muhammad Altabba's user avatar
3 votes
Accepted

Quorum Private Transactions: Why public key instead of address?

privateFor is used for sending Quorum's private transactions. As described in Quorum docs, a private transaction is encrypted using the EC public key of the recipient. That way only the recipient can ...
rustyx's user avatar
  • 910
3 votes

Better open source blockchain explorer for Quorum blockchain

You can take a look at CBX Quorum Explorer, which is free software. Some characteristics: Real-time synchronization with little delay (~ 1 second). Rollback mechanism after abrupt crashes of the ...
brunneis's user avatar
3 votes
Accepted

Deploying Contract with Quorum Web3j response: Non-200 status code

The issue here is that you've provided a 'privateFor' value - quorum therefore treats it like a private transaction; however the privateFor value you've provided is an empty list, so it gets rejected. ...
Satpal Sandhu's user avatar
3 votes

How to set up Quorum Blockchain?

In the Quorum Wiki is a technical step for step setup Guide link If you want to jump the initial Network setup and want to test quroum direktly, you could use "Quorum Maker" to quickly spin up a ...
toothleth_byte's user avatar
3 votes
Accepted

How to show partial information on private transaction?

This is a pretty common scenario and theres a really good example called 5 node RTGS that explains in detail one of the ways to address this type of scenario. Heres the link: https://github.com/bacen/...
fixanoid's user avatar
  • 1,627
3 votes
Accepted

The EVM throws an error "invalid opcode 0x1c"

That opcode is a recent addition to geth in the Constantinople release. You need to add the following to your genesis to enable Constantinople: "constantinopleBlock":0,
Satpal Sandhu's user avatar
3 votes
Accepted

Incorrect Usage. flag provided but not defined: -emitcheckpoints

Firstly, the flag provided but not defined message means that you are running a standard Ethereum geth executable, not Quorum. You need to make sure the Quorum geth is the first one found in your path....
Satpal Sandhu's user avatar
3 votes
Accepted

Quorum Nodes not syncing

Please provide the consensus mechanism you are using. In case it is raft please provide the output of raft.cluster In case raft.cluster returns null you have to delete some internal file.
cqx's user avatar
  • 3,452
3 votes
Accepted

Smart contract copy

Currently there's no way to extend a private contract to other parties (although this is on the Quorum/Tessera roadmap). So at the moment, you would need to do it manually or within the contract ...
Satpal Sandhu's user avatar
3 votes

How is authorization handled in smart contracts

You are correct - anyone with the address & ABI can call a public contract. The only way to prevent this is to have code within the contract that checks for calls from authorized addresses. If a ...
Satpal Sandhu's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible