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

Sending money through a smart contract

I'm trying to create a smart contract that would send funds from one wallet to another by taking values ​​from an array that I fill. But it does not send values ​​unless I specify them in msg.value. ...
2
votes
1answer
68 views

In a clique consensus private network, what happens when a sealer (signer) stops mining

I create a private network with two sealers running on two separate nodes. I found that if one node stops signing by miner.stop(), the other one start to wait for it and stoped signing blocks too. The ...
1
vote
1answer
41 views

My private ethereum block gas limit decrease when mining

I set 'genesis.json' like this. ... "gasLimit":"0x30479e80", ... It's 810,000,000 at decimal. But when I run the blockchain and start mining, the block gas limit decrease. I'm using Geth/v1.9.7-...
3
votes
1answer
92 views

Difference between Puppeth and Ganache

I am trying to set up a local blockchain and started to read about Puppeth to manage the blockchain and also read about Ganache (this one I already tested a bunch of stuff), but never heard about a ...
0
votes
1answer
582 views

Truffle Migrate for metacoin truffle box example failing

truffle migrate Compiling your contracts... =========================== > Compiling .\contracts\ConvertLib.sol > Artifacts written to C:\blockchain_projects\truffle_projects\metacoin\build\...
0
votes
1answer
50 views

Ethereum Petabyte Storage Problem

As the need of blockchain systems grows so will be the storage issues and the cost of handling such large amounts of data. Is ethereum capable of handling petabyte storage or is it upto an ...
6
votes
2answers
4k 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
1answer
69 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 ...
2
votes
2answers
386 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
176 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
54 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
47 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
27 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
455 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
206 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 ...
2
votes
3answers
294 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
41 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
56 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
43 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
24 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
2answers
735 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
63 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
44 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
49 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
1
vote
1answer
480 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
38 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
39 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 ...
1
vote
1answer
67 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
177 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
50 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
149 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
57 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. ...
3
votes
1answer
184 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
512 views

Genesis.json in private (geth) network

My genesis.json { "config": { "chainId": 9731, "homesteadBlock": 0, "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0, "...
3
votes
0answers
2k 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
1answer
14 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
200 views

Contract not deploying on private network [duplicate]

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
58 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
32 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
49 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
111 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?...
2
votes
0answers
72 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 ...
2
votes
0answers
212 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
247 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
1answer
44 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 ...
2
votes
1answer
35 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
68 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
27 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
53 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
49 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 ...

1 2
3
4 5
20