Questions tagged [private-blockchain]

Private blockchains are not available for the public and are maintained/secured by a cluster of trusted nodes. These kind of blockchains are useful when dealing with sensitive information.

Filter by
Sorted by
Tagged with
0
votes
1answer
127 views

Cross chain call contract on ethereum from private network

Im looking for a way to call a contract that is deployed on the ethereum main network using Go (or JS/anything). From what i can see the foolproof way is to do so over json RPC but i would love to ...
0
votes
1answer
142 views

How block are validated in a private blockchain

I have running a private blockchain with 4 nodes, and when i'm creating my Dapp, i have specified for the web3 address only one node ( Ip; port, RCP) So, my question is , how the others nodes ...
2
votes
2answers
1k views

Private chain Ethereum handshake failed Genesis block mismatch

I'm setting up a private chain between two VMs. The first node started mining successfully, and the connetion between the two VMs has no problem. But when I try to connect the second node to the ...
0
votes
1answer
178 views

Accessing older blocks from Geth: Returned error: missing trie node 94d34

When my Nodejs script uses web3 to query a geth node running in a private Ethereum network for an older block, I encounter the error UnhandledPromiseRejectionWarning: Error: Returned error: missing ...
1
vote
1answer
99 views

Need help with start mining(I am getting like this)

I am new to ethereum private blockchain System information: geth version:1.8.2 os&version:linux synopsis: when i tried to connect peers to my private blockchain it showing like WARN [03-20|11:...
0
votes
1answer
121 views

what does mean signer's key JSON on puppeth sealer?

System information Geth version: 1.8.8-stable-2688dab4 OS & Version: ubuntu I'm currently created private ethereum network using puppeth, when I created a sealer/ miner, appear this question "...
1
vote
1answer
70 views

Static difficulty in 1.8.27 for local network

I am having trouble getting geth 1.8.27 to have a static difficulty on a private network. I followed the instructions from here. But when I test it, the difficulty still increases. I tried again, ...
1
vote
1answer
178 views

Python state channel client

Stumbled upon this piece of Solidity code which is an Ethereum payment channel : https://github.com/mattdf/payment-channel How am I to write a Python client that interacts with it over Web3 ? What ...
0
votes
0answers
13 views

Forking a private chain consequences

If I were to fork my private Proof of Authority chain can I revert without pruning a block with corrupted data and subsequently all successor blocks which do have complete data and if so how can I ...
0
votes
1answer
89 views

Is it possible to modify privateFor addreses in a private Smart Contract (Quorum)?

I know how a private smart contract works providing a list of accepted addreses to privateFor property, but what if I want to disable (or enable) any address visibility? Should I deploy a new Smart ...
1
vote
1answer
161 views

Ethereum Block Pattern change

I want to know how block data get added to the leveldb chaindata in Ethereum . So that i can change the pattern of block. Basically i am creating my own private ethereum blockchain. And i want to add ...
-2
votes
0answers
27 views

How to solve the problem: java.lang.RuntimeException: Error processing transaction request: VM Exception while processing transaction: stack underflow [closed]

I generated JAVA wrapper solidity code. I am trying to deploy my contract on our local Ethereum blockchain and and get the following error: SLF4J: Failed to load class "org.slf4j.impl....
4
votes
3answers
4k views

Truffle develop get new contract instance from contract address

From a truffle develop console, is there a way I can get the contract instance from the contract's address? I have a remote ec2 with truffle/geth installed and truffle develop instance running. From ...
0
votes
0answers
18 views

Ethereum POA attack scenario

I am studying consensus algorithm. In the case of the proof-of-work algorithm, a double spending attack was possible by the miner making a transaction and presenting the longest block from which the ...
1
vote
2answers
578 views

Gas Price Must Be Greater Than Or Equal To 0.1 GWEI in Metamask

I have setup a private quorum network, connected the metamask with my quorum network and it is connecting but when am trying to do transaction getting an alert Gas Price Must Be Greater Than Or Equal ...
1
vote
2answers
925 views

Geth Private Network Unable to Add Light Node

I have a private network setup with geth and a few machines (2 full nodes for mining and a light node). The three devices have the following IPs: MINER1 - 10.42.0.40 MINER2 - 10.42.0.250 LIGHT-NODE - ...
0
votes
1answer
120 views

How to open multiple terminals using docker?

Here I am trying to create private ethereum instance using dockerfile. I want to open two terminals and run command1 in terminal1 and execute command2 in terminal2 only when command1 returns true. ...
1
vote
1answer
69 views

One contract accessing data from another fails

I am trying to get two contracts to interact: pragma solidity ^0.5.10; contract C2 { address public addr; constructor(address per) public { addr = per; } function ...
0
votes
1answer
141 views

How to determine the best sealing time for private Clique

I have several transactions to be stored in my permissioned blockchain with PoA Clique. With the transactions information in mind, how do we determine the best sealing time for private Clique' blocks?...
0
votes
1answer
596 views

invalid argument 0: hex string without 0x prefix

In order to get a list of transactions by account address I used the following code snippet - function getTransactionsByAccount(myaccount, startBlockNumber, endBlockNumber) { if (endBlockNumber == ...
0
votes
1answer
188 views

change gasLimit parameter into the genesis.json file on azure priavte blockchain

I am trying to deploy a smart contract to an azure blockchain. The contract is deployed without errors but i can't submit transaction to the blockchain through this contract. I guess this is an issue ...
0
votes
1answer
44 views

How other party can access my contract?

I am running private ethereum blockchain. As we know smart contract is used for agreements between non-trusting parties. Now, I am wondering how the other party can access/see my smart contract? ...
0
votes
1answer
28 views

How to include constructor arguments in bytecode for smart contract deployment in genesis block?

Please excuse if the title is not perfectly accurate but I had a hard time fitting my problem into 1 question. If you have a better title please feel free to suggest it and i will edit it. I want to "...
0
votes
3answers
294 views

Solidity: calling another contract method always returns 0

I have simple code that deploys and calls method from other contract. I am always getting 0 (by calling Test.get()) instead of the actual value from the other contract. I am using Geth 1.8.11 (private ...
1
vote
0answers
24 views

Private PoA deployment leads to 'invalid gas used' error

I'm trying to deploy a contract to a private clique chain running on two devices (laptop and raspi). Deploying the contract when running multiple nodes on a single device worked fine as per usual, ...
0
votes
0answers
44 views

Error in doing private transactions for nodes on different VMs using quorum and tessera

I am pretty new to quorum/tessera. I have successfully tested a small POC with 3 quorum+tessera nodes on the same machine. Now, I am trying to do a similar POC with 4 nodes on different VMs. The nodes ...
1
vote
1answer
135 views

Cannot get Mist working with geth --dev

I have read all over the internet the past 2 days and i still can not get Mist to work with a geth private chain I am running geth --dev then opening mist and getting this error I have read the ...
0
votes
1answer
444 views

how to test the TPS in private blockchain

I have set up a private blockchain and I design a new block structure, I want to test the relationship between TPS and block size, are there already some test tools for this use?
2
votes
1answer
312 views

Pending transactions Geth private Blockchain

I have an ethereum consortium blockchain based on Azure (Geth 1.7.3). I've been experimenting with an application which has a very simple smart contract. The contracts itself, stores data that comes ...
0
votes
2answers
38 views

Distribute coins across a private network

I've set up a private network and generated around 100 addresses. Exactly 80 of those addresses have a balance of 10 or more ETH, while the rest of the addresses have balances of 0. I've also ...
0
votes
1answer
240 views

dynamic Node Membership management in Ethereum Blockchain

I am a new bee in Ethereum Blockchain in implementing this as a potential solution for decentralized application. In the process of identifying the solution i have came across a problem where what if ...
1
vote
1answer
193 views

Deploying Ethereum template on AWS?

I would like to deploy an Ethereum template (the one provided on aws website : https://docs.aws.amazon.com/blockchain-templates/latest/developerguide/blockchain-templates-ethereum.html) in a private ...
0
votes
0answers
20 views

Account Management in Private Blockchain

I am new to Blockchain Application. I have read about the working of blockchain. Working on a POC where it requires private blockchain(Enterprise DApp). My question is how the accounts are managed in ...
1
vote
1answer
141 views

iOS node not syncing with private BKC

I use the Geth framework and Swift 4 to boot a node inside an iOS 11.0 app. This node connects to my local BKC (to 4 nodes to be precise). Here are some tests I made : if I start 3 computer nodes ...
0
votes
1answer
150 views

How blocks are verified in a private blockchain?

I have created a private blockchain in my machine and deployed a smart contract in the same. Then I have created a UI using web3. I could add peers to that network and all the peers could get the data ...
0
votes
1answer
30 views

Free transaction on a private ethereum blockchain

I have developed a Dapp powered by Ethereum with truffle. And I want to deploy it on a private blockchain. But I have one question to ask before that. My question is: can I make in sort that my Dapp ...
0
votes
1answer
26 views

Who communicate on a private ethereum network?

I'm new to Go-Ethereum (GETH) and would like to ask a question that may seem quite dumb. Let's say that I create my own private ethereum blockchain with GETH (I created accounts, the genesis block...),...
0
votes
1answer
15 views

how to make metadata private? [closed]

I'd like to create customized NFT including metadata which is readable by only permitted users such as an owner. Is it possible to build? If yes, please let me know how to build it. Should I need to ...
0
votes
1answer
31 views

Access private transactions(payload or state) on a smart contract using tessera

I am pretty new to quorum/tessera and am trying to set up a small POC with 3 nodes. I followed the 7nodes setup example and similarly deployed 3 nodes on my system using Mysql as the database for ...
1
vote
1answer
197 views

Bootstrap node and its permission

If we want to connect to regular node then we have to go through bootstrap node ? What in the case of private chain ?
3
votes
1answer
160 views

Creation of a whitelist in a private network with Rinkeby Clique PoA?

I'd like to create a private network where I would limit the creation of smart contracts to a whitelist of accounts. Is there any option for this?
0
votes
1answer
26 views

Geth keeps changing coinbase / miner account and stops working. (POA Network)

I have set up a Geth POA network of 2 nodes on different cloud instances. Network was running good for 2 months but now suddenly it's getting connections from unknown peers and mining stops working. ...
0
votes
1answer
21 views

Quorum vs Private network Ethereum blockchain

I want to know what are the main features of a private Ethereum blockchain: the used consensus algorithm, the transaction fees, the time needed to produce a new block, the throughput, etc. Does it ...
0
votes
1answer
373 views

How to connect not local node to private Blockchain?

Is there any way to connect NOT LOCAL node to running private Blockchain? So, there are 3 virtual machines in one local network. They are syncronized private blockchain. They have static-nodes.json ...
1
vote
1answer
161 views

Raise more ether in Parity POA chains

From the wiki of private chains in parity Parity also includes Proof of Authority Chains which do not require mining. Is it possible to raise more ether in an existing POA chain? Use case Lets ...
0
votes
1answer
229 views

Resource allocation and smart contracts

I'm wondering if the following scenario could work with smart contracts. I'm very new to Blockchain so what I'm saying might sound too silly. I have 10 users who are sharing a common resource. There ...
0
votes
1answer
18 views

how to create hierarchical blockchin using Geth, ethereum?

As of my plan (in the attached figure) there will be 2 levels of blockchain. The top level blockchain (yellow circles) consist of 4 participant, admin top & admins middle. The bottom levels ...
0
votes
1answer
51 views

Why my private chain starting Geth on Ethereum mainnet

My private ethereum showing log "starting Geth on Ethereum mainnet.." here are the full logs INFO [08-27|09:14:02.302] Starting Geth on Ethereum mainnet... INFO [08-27|09:14:02.302] Bumping ...
0
votes
1answer
224 views

Increase gas limit to allow larget contracts to be deployed

I'm working on a private blockchain and I found out that I cannot deploy a contract larger than 34Kb which is pretty limiting for me. For comparision, cryptokitties are 40-47Kb so I cannot even deploy ...
0
votes
3answers
108 views

Remove coinbase transactions in private net

I was willing to setup a private ethereum network with low difficulty. I can fix the difficulty of each block to 1 (or constant) to avoid problem of very high difficulty with increase in no of blocks. ...

1
2 3 4 5
20