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
13 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
28 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
11 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
46 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
23 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
31 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
1
vote
1answer
51 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
38 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
19 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
24 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
92 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
39 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
15 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
87 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
61 views

Genesis.json in private (geth) network

My genesis.json { "config": { "chainId": 9731, "homesteadBlock": 0, "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0, "...
3
votes
0answers
341 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
20 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 ...
1
vote
0answers
76 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
42 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
47 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
24 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
27 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
60 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
30 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
21 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
63 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
161 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
30 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
22 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
50 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
17 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
25 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
23 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 ...
2
votes
1answer
54 views

How to modify the algorithm of transaction selection in Ethereum private net?

By default, miners select transactions with high fees from the mempool. So, transactions which are dependent and have a specific order can be selected randomly without respecting this order. Will I be ...
3
votes
1answer
141 views

Is it possible to hard fork a private network to Constantinople?

I have a Proof-of-Authority private Ethereum network that has Byzantium EVM version and created by clique engine. I have a single miner that has Geth version: v1.8.27. { "config": { "chainId": ...
0
votes
1answer
36 views
0
votes
0answers
40 views

Set Date and Time in a Private Network

I have created a private network using geth in ubuntu, but it takes date & time from the system on which it runs. So if the system date of the master node is changed, it affects syncing on the ...
0
votes
0answers
97 views

Truffle Contract deployment >> Error: Returned values aren't valid, did it run Out of Gas?

I have a rpc enabled running private ethereum blockchain node with mining enabled. I have connected to it using metamask and have performed some contract interactions (deployment, calling functions,...
2
votes
0answers
40 views

Not able to connect to private Ethereum Network with metamask

I am running a private Ethereum Network in a cloud VM. I started the node with these arguments: geth --datadir test --networkid 123 --rpc --rpccorsdomain "*" --rpcport 30308 --rpcaddr "0.0.0....
0
votes
0answers
22 views

Validator Contract deployment

Hello When I try to deploy below contract i get this error Open new block failed with error Error(Engine(FailedSystemCall("Engine error (Failed to make system call: Bad jump destination 0)")), ...
1
vote
1answer
42 views

How to connect frontend to a node

I created 2 nodes . I connect an accounts to metamask. I connect the smart contract with remix on the node. Now i am trying to connect frontend with the smart contract with web3. In the index.html i ...
1
vote
1answer
75 views

How to start a node on private ethereum chain using “geth --config config.toml”?

I set up a chique poa ethereum private chain. the node can start to work using the command below: geth --networkid 123456 --rpc --rpcport "8545" --rpcaddr 0.0.0.0 --rpccorsdomain "*" --datadir ./...
1
vote
0answers
28 views

The bootnode is not working properly

I am running a private ethereum network using geth. I started the bootnode first following the documentation and ran 5 different nodes on the same machine with same genesis file on same network with ...
3
votes
0answers
34 views

What is the scalability limit for POA Ethereum (number of nodes)?

Tried to find any benchmarks what is the maximum number of nodes for Ethereum PoA network. When does a network latency become crucial? Looking for any sources / empirical benchmarks.