Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
13 views

Access private blockchain from another PC/Laptop?

I have private block chain on my PC.The private blockchain is configured and deployed using geth. I want to connect to that blockchain from another node(my laptop) to access the smart contract ...
0
votes
0answers
15 views

how to setup hybrid PoW+PoS or PoA private network (geth)

I am aware about PoW and PoA setups of ethereum private networks but would like to know if anyone could help or point me the direction how to setup a hybrid PoW + PoS or PoA ethereum based blockchain. ...
1
vote
0answers
25 views

smart contract and permissioned blockchain

I have some IoT(Internet of things) nodes sharing the received data from sensors with each others. I partitioned them to 2 permissioned networks: Network 1 includes: X,Y,Z nodes trusting each other. ...
0
votes
1answer
12 views

Geth Contract Deployment Error : Contract transaction couldn't be found after 50 blocks

I have created a private blockchain and tried to deploy a simple contract on blockchain. But the deployment throws the following error - Error sending/minig the transaction: { "message": "...
1
vote
1answer
13 views

Ethereum Private network for Production use case

When I should consider to use Ethereum Private network for Production use case? Can I dictate network difficulty rules and apply permission on such network. Regards Dev
1
vote
0answers
27 views

Error in mist : exceed block gas limit

I am trying to deploy a smart contract in private network using mist, but when I deploy my contract and provide transaction fee as 0.04 ether it throws error as exceeding block gas limit. Here is the ...
0
votes
1answer
27 views

Quorum 7nodes example unable to attach to geth node 1,2,4,5,6,7 but node 3 is working

Quorum 7nodes example all of sudden gave fatal error unable to attach to remote geth. Problem: can't attach to geth node Every time I import metamask account to geth node (using personal.importRawKey(...
0
votes
0answers
22 views

external contract call not working on private chain

I want to call a contract from another contract on my private chain: contract InfoFeed { function info() public payable returns (uint ret) { return 42; } } contract Consumer { InfoFeed feed; ...
1
vote
2answers
19 views

Proper way to design a descentralized game

Let's say I'm designing a multiplayer game, where players can fight each other in different battles. As a result of each battle, players get a punctuation. Suppose I'm using a sidechain. Which should ...
1
vote
0answers
30 views

Ethereum geth node sync problem

I have to ethereum geth node runing as testnet syncmode=full on aws both running on same hardware and bandwidth why one is syncing very slow and other one is syncing fast? and if I will stop the ...
0
votes
0answers
12 views

Error in unlocking account

While following this udemy tutorial I've managed to set up two nodes using with Clique and using puppeth. But the problem arises when I am about to launch the first node. This is the command geth --...
0
votes
0answers
17 views

Why I can't custom url in Metamask

I used metamask with port 8540. I created private net as wiki.parity.io/Demo-PoA-tutorial. Therefore, I connected metamask with custom url is localhost:8540. Metamask did not activate. I can see my ...
1
vote
1answer
37 views

How to deploy contract in parity-ethereum use json-rpc

I'm using atomic swap to exchange money in 2 private blockchain. I used json-rpc to create 2 private chain and created HTLC (Hash time lock contract) to exchange. But I don't know how to deploy ...
0
votes
0answers
28 views

Deploy contract in parity Ethereum

I'm a beginner about parity ethereum. I'm using atomic swap to exchange money in 2 private blockchain. I used json-rpc to create 2 private chain and created HTLC (Hash time lock contract) to exchange. ...
1
vote
0answers
11 views

How to build an incentivization model for a behavioural change using smart contracts? [closed]

I have been researching various incentivization models and reading whitepapers regarding crypto-economics(e.g: steemit whitepaper) for a while but is it necessary to have a private blockchain for that ...
0
votes
1answer
35 views

Contract deployed in private blockchain not returning output

This is my smart contract: pragma solidity ^0.4.24; contract Greet { string message; constructor() public{ message="I'm ready!"; } function setgreetings(string _message)public { ...
0
votes
0answers
12 views

Generate & Export JSON from Puppeth in 1 command?

Currently, when using Puppeth, the process to create and export a new Genesis is as follows: 1) puppeth or puppeth --network = ANewUnusedName 2) If you haven't entered the network name already, ...
2
votes
1answer
76 views

2 miners on private network slow sync

I am running 2 miners and 1 non-mining node using docker. Just can't see the 2 miners work in tandem. Each can assemble its DAG. Only seems to work with a single miner. I am using Geth/peer1/v1.8.16-...
1
vote
2answers
35 views

Explanation of Geth's Command Line option: targetgaslimit?

I have been trying to figure out what the targetgaslimit parameter does exactly for Geth, in the context of Private Blockchains. I have seen the following explanation but it never helped me: "Target ...
0
votes
1answer
43 views

Smart contract's function work on testnet but don't work on private network

I have been created a smart contract (ERC20 implantation). The contract run great om testrpc, ropsten and rinkeby but i want to use it in a private network. When the contract deployed in the private ...
0
votes
2answers
23 views

Can we use Proof of Authority on private mainnet?

I am trying to figure out a way to use consensus algorithm on a private blockchain network, preferably ethereum. came across many suggestions. One of the suggestions which stuck was using PoA on ...
0
votes
1answer
40 views

admin.addPeer returns true while admin.peers is blank[]

I have initialized genesis file in my system, this is my genesis.json file- { "alloc": { "790a2dc4ea3aa44eb27cbb430cf4e1cff989706790": {"balance": "9999999999999999999999999999999999"} }, ...
1
vote
0answers
26 views

Why is my private ethereum network stuck at “Recalculated downloader QoS values” while trying to mine?

I'm using Mac OS High Sierra version 10.13.6 My customgenesis.json file is this. {"config": { "chainId": 15, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 },"nonce": "0x0000000000000042","...
1
vote
3answers
56 views

Remix is not connecting to my private network

I have initialized the genesis file then run that command in the console- geth --rpc --rpcaddr 0.0.0.0 --rpcport 8549 --rpccorsdomain "*" --rpcvhosts "*" --rpcapi "network,admin,personal" --...
0
votes
1answer
26 views

Production Fork of Ethereum

everyone! I have a project, where I surely need to implement transparency of all the actions doing in the network. Let's say I want to create public asset tracking. So everybody who posts an asset in ...
1
vote
0answers
34 views

miner.start(1) triggers but not starting the mining

I am creating my own private ethereum blockchain. sudo geth --rpcapi eth,web3,personal --rpc --networkid=15 Above command gives the below logs. INFO [09-18|10:16:42.151] Maximum peer count ...
0
votes
0answers
18 views

chaindata - sharing identifier data across owners

Suppose, we want to store the tuple (studentId, libraryId, bookId, timestamp, action) on a blockchain where, studentId identifies a student belonging to a library. libraryId identifies a library that ...
0
votes
1answer
14 views

VS2015 Solidity Extension: BlockchainUser Error

I'm using Visual Studio 2015 with Solidity extension to build a dApp. I have created a sample project using the Smart Contract Project template and I'm trying to deploy the smart contract to my ...
0
votes
1answer
18 views

Transaction successful but ether not transferred to destination account

I am following this article and everything works expected but ether is not getting transferred to the to account.Please find the logs below. eth.sendTransaction({from:eth.accounts[0], to:eth.accounts[...
1
vote
0answers
40 views

Private Net: Miners not mining pending transaction

I am running a private network. I send a lot of transactions to geth with miner on (with 10 threads). I could see my transactions getting mined properly for some time. And then I checked length of ...
0
votes
1answer
18 views

Remove coinbase transactions in private net

I was willing to setup a private ethereum network with low difficulty. I can fix the difficulty of each block to 1 (or constant) to avoid problem of very high difficulty with increase in no of blocks. ...
0
votes
0answers
25 views

Is it possible to create an account from a seed phrase on a Private Blockchain?

On a private Ethereum BC run through Geth, is there anyway that I can generate accounts based on strings? The behavior I am looking for is similar to how Ganache (TestRPC) & Truffle can generate ...
0
votes
0answers
36 views

Constant difficulty is private network (Upper cap on difficulty)

As the title goes. how we can fix difficulty of private ethereum network? I have gone through all the following links, some answers are outdated and some don't work. is-it-possible-to-change-the-...
2
votes
1answer
67 views

How to fix “Fatal: Error starting protocol stack: listen udp :30303: bind: address already in use”?

I am referring this tutorial and miner.start(1) works fine and mining is started as expected like below. INFO [09-05|15:41:26.486] Commit new mining work number=221 sealhash=1892af…...
0
votes
0answers
29 views

How to store data in Ethereum Blockchain from RabbitMQ?

I've been searching in the internet for days. But I don't find a solution. My job is to store data, I get about RabbitMQ in the Ethereum Blockchain. I have found some approaches but nothing helps me. ...
1
vote
1answer
89 views

Who has authority to add a new node in Quorum

According to this tutorial of Quorum a regulator is able to view the result of voting. 1) What else responsibilities does regulator have? 2) How is the regulator selected from the participants of ...
1
vote
1answer
33 views

Getting no space left on device while running geth --datadir ./datadir console

I am following this tutorial and while running below command. geth --datadir ./datadir console It ran for 15 hours and then returned below error. INFO [08-31|09:54:13.343] Imported new state ...
2
votes
1answer
85 views

Quorum privateFor not working with truffle-hd-wallet-provider

I'm trying to deploy a contract private to one node in the Quourm 7-nodes example. The migrate works as expected when deployed normally with truffle, but ignores the privateFor part and deploys a ...
1
vote
1answer
61 views

Blockchain storage in IoT applications

Studying about the Ethereum blockchain I realized that it is ideal for my project. I intend to develop a blockchain to exchange electric energy between consumers on a smart grid. The mining nodes of ...
2
votes
2answers
63 views

How do I update data for project using blockchain (Ethereum)?

I am very new to creating blockchain dapps, so some guidance would be appreciated. I am conceptualizing how to approach creating a private blockchain so that users can communicate about the status of ...
1
vote
1answer
40 views

Prevent other mining softwares to mine my public forked Ethereum chain

I forked an Ethereum chain and put it as public, but I only want my own software/client to be able to mine. Other miners using ethminer, geth, etc, cannot mine and profit from my chain (At least not ...
1
vote
1answer
49 views

How do ERC721 tokens get created on private blockchain?

I'm creating a prototype using solidity for asset tracking where I need to create a new token for new items that are being added to the tracking system. I have gone through all possible tutorial on ...
1
vote
0answers
211 views

Mining hangs on Generating DAG in progress

I am trying to initialize rpc using the below command and start miner using miner.start(1); geth --rpcapi eth,web3,personal --rpc --networkid=15 Mining starts successfully with below logs but it ...
0
votes
0answers
60 views

How to mine simultaneously on multiple nodes using geth?

I have two machines A and B, each of them has geth installed, and I want to run A and B on a private blockchain. First, I use admin.addPeer() on A to add B, then I use miner.start() to start mining ...
1
vote
1answer
29 views

Is blockchain always “public”?

Is the following definition of blockchain by its wikipwdia page correct? Where it is mentioned: A blockchain is a decentralized, distributed and public digital ledger ... Cannot we have a ...
2
votes
0answers
37 views

How would ethereum personal accounts helpful?

I have setup ethereum server node and created one test network. started mining, ether is generating in eth.accounts[0]. i have follwoing questions. How multi accounts(eth.accounts[0], eth.accounts[1],...
5
votes
0answers
65 views

Quorum: Extending list of participants that can access private transactions post transaction creation?

According to the Quorum roadmap (which is over a year old now) the team at JPM was planning to add a feature whereby additional parties could be given rights to view private transactions after those ...
1
vote
1answer
34 views

Private Blockchain mining contract

I am new in the blockchain world and I am trying to understand the following. any help will be highly appreciable. This is my understanding after several videos and courses. I have a private Azure ...
0
votes
1answer
45 views

Revert not throwing error when running truffle test

I have set up a local geth on ubuntu and I'm running my project on it. While writing test cases, I saw that the test cases which were working fine in testrpc environment started facing issues when ...
0
votes
1answer
95 views

Call function from contract using sendTransaction() - web3.py

I have contract Test.sol migrated to privatenet running on port '8545' which updates value of 'a'. Test.sol pragma solidity ^0.4.20; contract Test{ uint public a=2; function updateval(uint b) ...