We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Fatal: Failed to write genesis block: unsupported fork ordering: eip150Block not enabled, but eip155Block enabled at 0 genesis block

I am attempting to launch a private geth chain with the following command: geth --datadir=./test-private-blockchain/ init genesis.json I am receiving the following error: Fatal: Failed to write ...
0
votes
0answers
13 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 ...
1
vote
1answer
32 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
3answers
23 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
17 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
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 --...
0
votes
0answers
23 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": { ...
0
votes
0answers
65 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
43 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
3answers
129 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 ...
-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
19 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/...
0
votes
1answer
32 views

Why my smart contract's function always return 0?

I'm new on Ethereum. I'm trying to deploy my first smart contract in my private blockchain but my function always returns 0. I wrote the simple Smart Contract: pragma solidity^0.5.0; contract ...
0
votes
0answers
13 views

How to find out in blockchain ledger the current ownership of asset being transacted

I am new to blockchain and smart contract as well. In smart contract we can only save the current state of any transaction but if we need to know the previously expunged transactional data ie, the ...
0
votes
1answer
114 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 ...
1
vote
1answer
21 views

How to permission (disallow) smart contract deployment on private Ethereum network?

On a private Ethereum network, what is the best way to permission the deployment of who (and what) users can deploy? One obvious way would be increasing the gas cost of CREATE opcode. Yet, I do not ...
0
votes
2answers
25 views

Can you use a private Ethereum blockchain network to deploy an actual application for the public?

I am starting to do some research for my blockchain based project and I was wondering if it is possible that I can deploy my project on my very own private ethereum network for actual public use and ...
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
86 views

Bootnode connection error

i am trying to create private POA network in which i have 3 aws ec2 ubuntu servers. on 1st server bootnode and on 2nd server POA node1 is running and on 3rd server POA node 2 running. but i am not ...
0
votes
1answer
33 views

Transactions on my private ethereum blockchain don't work. The balances of the accounts stay the same

I have 2 accounts with initial balance, 100000 and 120000. I tried 2 transactions. The 1st was a 20000 ether transaction from the 2nd account to the 1st. And a 1000 ether transaction from the 2nd ...
0
votes
1answer
29 views

cannot be able to connect to private blockchain hosted at local VM

I want to use remix IDE and want to connect web3provider which needs to be connected to private blockchain running on VM locally. My system is running on Windows 10 and I am running the VM on my local ...
0
votes
1answer
44 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 ...
1
vote
1answer
23 views

How mining happen in private and permissioned blockchain?

In public blockchain a miner gets rewarded for mining a block. But in a private or permissioned blockchain, if there are no rewarding facilities available, how does the mining happen? Also, is it ...
0
votes
0answers
27 views

Making difficulty static - Geth

I made a setup for a private PoA network with geth. Everything works fine, regarding mining, making transactions, connecting through http and websockets. Now I need to optimize transaction time, I ...
1
vote
2answers
99 views

How to build the seamless bridge between two blockchain platform?

How to build the bridge between two different consensus blockchain platform? use case: 1.we need to ensure visibility of the transaction in both platforms to assure its integrity When a smart ...
0
votes
1answer
43 views

Smart contract copy

So I am in a permissioned blockchain setup, using Quorum as a client. I have deployed a private smart contract to members A and B, and now I have the need to redeploy it, giving access to member C. ...
0
votes
0answers
16 views

Migrate Database

I want to migrate my no-SQL dB on-chain. There are two options as far as I know: Store the objects in the form of string using a simple smart contract. Create a structure to implement the dB schema. ...
3
votes
1answer
91 views

MetaMask blocks Web3 requests

I just set up a Block Explorer to interact with my private blockchain. The private Blockchain runs in a VM. The host system connects to the Block explorer (also on VM). When I have meta mask ...
1
vote
2answers
112 views

Genesis.json in private (geth) network

My genesis.json { "config": { "chainId": 9731, "homesteadBlock": 0, "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0, "...
3
votes
0answers
598 views

account unlock with HTTP access is forbidden [duplicate]

I am using in the geth console and there is a similar error. Do I add "--allow-insecure-unlock" when I "init a node"? personal.unlockAccount(eth.accounts1) Any suggestion would be helpful. Thank ...
0
votes
0answers
22 views

Does the use of Non-interactive zero-knowledge proof (zk-snark) will eliminate the use of (consensus algorithm e.g. work proof)?

The privacy of the blockchain transaction is a high-demand topic these days due to some application use case requiring strict privacy protection. Some of the techniques applied to blockchain ...
0
votes
1answer
11 views

Which Protocol is suitable if I want a validated person to authenticate the block?

I want to create a system in which Every user will have some specific authorities. Like Examination will validate the block containnig Student Marks. Finance should have authority to add block ...
2
votes
0answers
104 views

Contract not deploying on private network

I have a smart contract a little bit like this: pragma solidity ^0.5.10; contract sc { struct element { uint96 firstKey; uint96 secondKey; bytes32 firstData; ...
0
votes
2answers
48 views

Private Ethereum Platform development with Authentication System

I have to develop a system for Univeristy which provides digital certificates. I know some approaches but stuck about which approach I should choose. The system will have (suppose 5 nodes + 1 super ...
0
votes
0answers
61 views

Geth stuck at “Regenerated local transaction journal transactions=0 accounts=0”,PLEASE HELP

I run a private chain with mulitpe Clique POA nodes for several days. Today I found the block can not update normally. The Geth version(executale version) info: [root@localhost ~]# geth version WARN ...
0
votes
0answers
16 views

How to obtain data from a private PoA Ethereum Network?

I want to fetch data from a private PoA ethereum network running on a local computer. The data will be used for anomaly detection. I need contract interaction data (function calls etc.), to observe ...
0
votes
0answers
25 views

How to copy the data from a running private network to another

I have two seperately running private ethereum networks,i want to copy the data from the first private network to the second one without stopping.I have tried multiple ways but was not successful.I ...
0
votes
0answers
31 views

Problem when unlocking account in private ethereum blockchain [duplicate]

I tried this statement personal.unlockAccount(web3.eth.coinbase, "password") But I am getting this error . Error: account unlock with HTTP access is forbidden Any suggestion would be helpful. ...
0
votes
1answer
64 views

How to run 2 nodes simultaneously?

I created a Node 0 and exited before creating Node 1. Then I created Node 1. And using Admin API, I connected Node 1 to Node 0. Node 1 is up and running. How do I start Node 0 and sync it with Node 1?...
0
votes
0answers
35 views

How do I perform a fully anonymous transaction using Stealth addresses in Aztec protocol?

I want to know how to make use of Aztec's stealth address protocol.
2
votes
0answers
25 views

miner.stop() returns null does not stop mining on private chain

I am using Version: 1.9.0-unstable of geth, and I noticed miner.stop() does not work anymore. I am sure it always worked. > eth.blockNumber 901069 > miner.stop() null > eth.blockNumber ...
1
vote
0answers
85 views

Non-stop “Served eth_signTransaction” warnings after upgrading geth to 1.9.x for private network?

I just upgraded the geth nodes of my private PoW network from 1.8.27 to 1.9.1, and right after starting up the nodes, it spills out tons of warnings non-stop like WARN [07-30|18:33:52.134] Served ...
1
vote
1answer
177 views

Solidity and Web3js codes are not working inside the private Ethereum(geth) network but same codes are working in public ethereum

geth version : 1.9.0-stable-52f24617, node version : v10.16.3, npm version : 6.9.0, web3 version : -- web3@1.0.0-beta.36. genesis.json: { "config": { "chainId": 9663080, "homesteadBlock": 0, "...
0
votes
0answers
37 views

Parity doesn't send a notification to ethminer

I can't get the ethminer to work with my private network. I start the parity in stratum mode, passing my own config file as a parameter, and then launch the ethminer. He successfully logs in and ...
0
votes
1answer
19 views

Set up hardforks parameters in parity JSON chain spec file for private network

I want to set up a private network for tests using parity, which will function in the same way as the current mainnet, but with very low block mining complexity. Is Is it true that for this I need to ...
1
vote
1answer
24 views

Implications of IP change on boot node?

I have a private blockchain using Parity. One of the bootnodes may have to change the IP. What is the correct way to do this and what are the implications of this? This question implies questions ...
2
votes
1answer
52 views

node cannot be made up in private blockchain by using command line

I have created the genesis.json The genesis json content is { "config": { "chainId": 46860, "homesteadBlock": 1, "eip150Block": 2, "eip150Hash": "...
0
votes
1answer
18 views

Should I convert Centeralised web app to Multichain because it is free to use and more secure compare to webapp?

I am Web app developer and exploring the blockchain technology from few months. I want to convert the live centralized WebApp to Decentralized Blockchain application. I know there is a high cost ...
0
votes
1answer
28 views

what will happen to transactions on smaller length chain when peered with longer length chain in private ethereum

what will happen to transactions on smaller length chain when peered with longer length chain in private ethereum? Below is the scenario Step 1: I have started Ethreum private chain in 2 different ...
1
vote
1answer
27 views

How to add a custom JSON-RPC endpoint to geth?

I'm building an Ethereum private network and I want to make a custom JSON-RPC endpoint. I've been customizing and adding some things in the go-ethereum source code but I don't know yet where to look ...