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
107 views

Failed to read genesis file: open genesis.json: permission denied

First of all I have to say that all this things will work on my windows machine. Today I started to do the same things on a ubuntu machine (with ssh and private key authentication). I've created a ...
8
votes
2answers
2k views

How to preallocate multiple accounts with ether for geth --dev chain?

I'm trying to set up a private chain with geth using --dev that has several accounts with lots of ether. It seems unclear if this is possible anymore according to this. Here's what I tried on geth 1....
5
votes
1answer
1k views

Difference between Ethereumj and Web3j and how to connect private Ethereum network

I want to develop a Spring MVC web application that use a private Ethereum network and I feel confused witch API to use Ethereumj or Web3j. I'd like to know the difference between them and how to ...
0
votes
2answers
99 views

How to backup POA based ethereum private blockchain and restore it in a fresh new environment

Is there a way to backup the POA based ethereum private block-chain [created from microsoft azure POA template] and also restore it in a all new environment with out loosing any transactions & ...
1
vote
1answer
30 views

error in remix IDE

I am facing this type of Error in 'remix IDE' while connecting it to 'web3.js@0.20.2' Error: Failed to decode output: Error: insufficient data for uint256 type (arg="", coderType="uint256", value="...
0
votes
0answers
10 views

Data storage and replication in a private blockchain

What type of data is Ethereum storing (file? data row in DB)? Where does it put it (theoreticaly it is stored in peers, does this mean every node must have a local db)? How the peers of the p2p ...
0
votes
3answers
20 views

web3.eth.contract not working

I have web3@0.20.2 installed using npm . when I call web3.eth.contract() it says that it is not a function and when I use new web3.eth.contract it says it is neither a constructor. This is my code &...
0
votes
1answer
18 views

When is chain data (length) compared between nodes? Is there any way to control this?

I am trying to use an ethereum blockchain in a multiagent network. I would like to control when information is exchanged between nodes to keep the network synchronous, so I am trying to figure out how ...
0
votes
1answer
16 views

PoW in Public blockchain Vs. PoW in Private blockchain

I am reading about consensus mechanisms in blockchain and it is stated that PoW (Proof of Work) requires longer confirmation time compared with voting-based mechanisms. But some things are not clear ...
0
votes
1answer
147 views

Private Ethereum Smart Contract API call to notify (without needing the external api response to update the state) without using Oraclize

In a Private Ethereum Smart Contract, can we do an external API call just to notify (without needing the external api response to update the state) without using Oraclize? Understand Oraclize is ...
0
votes
1answer
120 views

I have question about private block chain gas structure

I have a basic question about gas price charged for transaction. Say I have a private ethereum block chain with ten nodes and I don't want to charge any fee for the transaction taking place in this ...
0
votes
1answer
25 views

Does Geth provide a private or public network?

I'm new to the Blockchain world, lacking experience and I'm looking for some assistance. I'm just syncing with ethereum network by using Geth and rinkeby network. by using this command: geth --...
2
votes
1answer
62 views

Understanding what happens between transaction creation and block creation in Proof of Authority

I am currently writing my thesis where I'm investigating the potential of blockchain technology to become the underlying technology in a system that is create and record qualifications. I'm at the ...
0
votes
0answers
22 views

Geth Private Network on restart of geth server account balance and all previous transactions are cleared [duplicate]

I first run the geth init command with the following genesis content: { "config": { "chainID": 937, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, "alloc": { "acc1": { ...
1
vote
3answers
125 views

gasLimit 5000 on private Ethereum geth node

Problem: I've upgraded my geth node to the latest version (1.9.0-unstable). The block gasLimit of the node is fixed at 5000: eth.getBlock("latest").gasLimit 5000 When I try to send a transaction, I ...
0
votes
2answers
284 views

Modify number of confirmations

By default there are 24 confirmations but I am running a testnet with just 3 miners and I would like to change this number bucause it makes not sense to have 24. I have been checking ...
0
votes
1answer
135 views

Minimum requirements for private chain miner

We are currently building a model with raspberry pi 3 to demonstrate a usecase in our university. When we try to run a miner on the raspberry pi 3 it crashes when creating a new block. We want to ...
2
votes
2answers
180 views

Mining, Ethers and Private Blockchain DAPPs

I am building a private Blockchain cluster DAPP envisaged to have 5 to 10 parties owning their own nodes (or node clusters). At this moment, there is no specific mandate to incentivize miners, though ...
0
votes
0answers
63 views

Returned error: gas required exceeds allowance (91135865401031) or always failing transaction

I am trying to deploy smart contract on private network and do transactions via nodejs script. This is my genesis block: { "config": { "chainId": 16, "homesteadBlock": 0, "...
0
votes
1answer
41 views

Getting “gas required exceeds allowance (93846700840810) or always failing transaction” on private network. How to access geth client via nodejs?

I have recently started using Ethereum. I am trying to test my contract using multiple machines. Only solution I found was to setup a private network using Geth and add peers. Following is the genesis ...
1
vote
1answer
94 views

Deploying custom code to private network results in “instrinsic gas too low” or “check your gas” errors

TL:DR My first contract fails to deploy reporting variously: Error: intrinsic gas too low undefined Error: The contract code couldn't be stored, please check your gas amount. undefined Having just ...
0
votes
1answer
33 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
1
vote
1answer
176 views

Ethereum private chain not able to addPeer

I created a private chain with my friend with exactly the same genesis block and we wanted to connect through the admin.addPeer method. The problem is that for some reason they are able to connect to ...
0
votes
1answer
228 views

Private Ethereum Chain and Web3 js API

I've developed my own private chain for testnet using geth and CLique and i have some issues with web3.js environment. I starts my nodes using the console parameter in order to get to the Web3 console ...
2
votes
1answer
793 views

Remix error “gas required exceeds allowance or always failing transaction” on private blockchain

I'm trying to test contract interaction using Remix with two basic contract: contract Callee contract Caller Callee function/variable: uint[] public values; function storeValue(uint value) { ...
0
votes
1answer
118 views

Sending Ether from private Geth node to Mist Account

I have Sended Ether from my private geth node to an another account created by metamask. I have choosed custum RPC to metamsk, with the valide IP and Port, Also i have activated rpc in my geth node. ...
1
vote
1answer
76 views

Private network with limit supply

I'm just wondering if is possible to create a private network (Not development) with this characteristics: Max supply One account has all the supply already Nodes/peers can't mine Gas cost is always ...
-1
votes
1answer
17 views

How can we use private chain token in public chain?

I'm software engineer in japan. now, I'm trying to create a dapp by using private chain like kaleid, then will create token in private chain. In the future, I'd like our token to be listed to ...
0
votes
1answer
109 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 ...
0
votes
1answer
93 views

local private chain account, switch to test net, start to lose ether?

I built a local private chain, and created an account via geth. Then I switched to test net from metamask. After that, the account started to lose ether. People sent the ether in that account to ...
0
votes
1answer
130 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
126 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 ...
0
votes
1answer
107 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
160 views

Not able to add ether in my private network's account

1. I have created a small ethereum private network. I opened launched the private network from terminal 1, launched the geth console from terminal 2, and opened mist browser in terminal 3. Once mist ...
0
votes
1answer
117 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 ...
1
vote
1answer
52 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
84 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
43 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 ...
4
votes
1answer
590 views

Extremely slow geth mining and synchronization for private blockchain

I am constructing a very simple 2 nodes private Ethereum network to study the mining behaviour. The consensus algorithm is ethash. In order for the 2 nodes to discover each other, I also setup a ...
0
votes
1answer
129 views

Mist : Getting error Couldn't connect to node? See the logs for more:

First I started the private network and connected with 2 node . After I opened another terminal and used the command to open the mist: open -a /Applications/Mist.app --args --rpc /usr/local/Cellar/...
1
vote
2answers
689 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
299 views

Private Ethereum blockchain does not sync last 65 block

I've successfully create a private Ethereum network, I've two machines on the same local network, the first one is where I've created the chain, the second should be a new peer that should sync with ...
1
vote
1answer
174 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
1answer
351 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?
3
votes
1answer
178 views

Why use a private block chain over a shared database?

Isn't a shared database able to provide all the guarantees that a private block chain could provide. Since you can track transactions,have transaction restriction and have authenticated access to ...
1
vote
2answers
468 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 ...
0
votes
1answer
15 views

Why do I always get “Returned values are not valid, did it run Out of Gas”?

I'm new on Ethereum blockchain and I'm working on deploy and using smart contract using truffle on my private blockchain. I have followed exactly this guide https://www.trufflesuite.com/docs/...
1
vote
1answer
162 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 ...
1
vote
1answer
218 views

Puppeth running on Mac with localhost always return err=“docker configured incorrectly: bash: docker: command not found\n”

Anybody tried running puppeth on Mac (Sierra or higher) with localhost as the servers with any success? Please share it here, because I always get err="docker configured incorrectly: bash: docker: ...
0
votes
1answer
64 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 ...