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
2
votes
1answer
13 views

Blockchain overhead - general question

I was reviewing the blockchain technology the other day, Maybe this is not the right place or maybe I should rephrase my question but.. Blockchain is peer to peer, every peer stores the data Data is ...
0
votes
1answer
18 views

How to store data on ethereum blockchain WITHOUT IPFS

Hi guys ^^ i want to store PDF file on ethereum blockchain without use of IPFS. I want to do it because i have my own private network where this data will be only stored. That's why i want to store it ...
0
votes
1answer
9 views

what kind of Hardware required for run geth private chain for ethereum on windows?

i need to help to find out what were the minimum hardware requirements needed for deploy the private chain on ethereum.
0
votes
1answer
20 views

How to pass bool from one function to another? [closed]

I want two functions to be checked true or false in one contract, that is, I get true in the calculations and want something. The code below shows my idea, but it does not work, I do not know why. ...
1
vote
1answer
45 views

How get private key in private network?

I launched a private RPC Blockchain network and connected through another computer to this network. The connection is successful. How can I get a private key(through Python) if the file is on another ...
0
votes
1answer
48 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. ...
1
vote
1answer
21 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
21 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
28 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
33 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
25 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 ...
1
vote
1answer
646 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
19 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
40 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
34 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
31 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
27 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
25 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
83 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
61 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
151 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
18 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
27 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
33 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
14 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
178 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
22 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
120 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
45 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
26 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
33 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
106 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
17 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
96 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
147 views

Genesis.json in private (geth) network

My genesis.json { "config": { "chainId": 9731, "homesteadBlock": 0, "eip150Block": 0, "eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000", "eip155Block": 0, "...
3
votes
0answers
808 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
23 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
128 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
89 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
18 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
32 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
68 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?...