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
1
vote
1answer
16 views

how to build Dapp for Android using react-native

I have a ethereum Dapp for web application and have metamask extension installed in my chrome browser to make transactions. Now i want the same application to be developed in android using react-...
2
votes
0answers
26 views

How to reduce block time for existing ethreum blockchain network?

I had deployed my private blockchain network back in 2018-08-12 16:12:48 +0600 (1 year, 167 days ago). Since then it is working. At that time the block time was 20-30 seconds which was acceptable for ...
0
votes
3answers
78 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. ...
5
votes
2answers
434 views

Geth: bootnode tool and --nodiscover

In Geth, if I use the --nodiscover option, my node won't be discovered by default from other nodes. Conversely, with bootnode tool implemented in geth, first I have to generate a key, then I have to ...
5
votes
4answers
804 views

How to deploy smart contract in predefined contract address in private ethereum network?

Is there any method to deploy our smart contract in a particular address (ie. predefined contract address) in private ethereum network? Yes, I have built my own private blockchain based on Ethereum ...
0
votes
0answers
13 views

Private Blockchain Chain Spec Sanity Check Please

A private blockchain running for two years runs find on Parity 2.3.9. When upgrading a node to 2.4, sync stops. Peers are still strong (25) but block import repeats at Block X where Block X is the ...
0
votes
2answers
31 views

Distribute coins across a private network

I've set up a private network and generated around 100 addresses. Exactly 80 of those addresses have a balance of 10 or more ETH, while the rest of the addresses have balances of 0. I've also ...
0
votes
0answers
26 views

Unable to change/read local variable in a smart contract on a local private geth blockchain

I trying to create and test an ERC-20 Token on a local geth blockchain. I tried compiling and testing my contract on Remix's Javascript VM environment and it works fine. Then, I wanted to try ...
1
vote
1answer
154 views

Raise more ether in Parity POA chains

From the wiki of private chains in parity Parity also includes Proof of Authority Chains which do not require mining. Is it possible to raise more ether in an existing POA chain? Use case Lets ...
0
votes
2answers
170 views

How can I insert values from web browser Firefox or chrome like html and js to ethereum blockchain?

How to save values from an HTML form into block chain through a browser, I have gone through different tutorials, but it is confusing, how this go-ethereum blockchain and smart contract can access ...
1
vote
2answers
140 views

How is authorization handled in smart contracts

I have deployed a Quorum network on Azure Block chain service to be used by specific invited members of a consortium. I have not yet explored the privacy features provided by Quorum on top of Ethereum....
0
votes
1answer
21 views

Fire transaction from contract

I have a contract holding a mapping like this: mapping (address => User) users. How can I get the contract to automatically fire a transaction/event when a certain condition is met? For example, ...
0
votes
1answer
448 views

Problem while setting private ethereum network on AWS using bootnode

I'm trying to set up a private ethereum network using bootnode. I created two instances on EC2 (t2.medium) having the same security group.Firstly i created boot key by using bootnode -genkey boot....
0
votes
0answers
33 views

Error: gas required exceeds allowance (8000000) or always failing transaction [duplicate]

I deployed a test ERC20 to a private ethereum blockchain. It deployed fine because I can get the transaction receipt, see the logs and everything looks ok as far as I can tell. However, when I try to ...
0
votes
1answer
340 views

How to connect not local node to private Blockchain?

Is there any way to connect NOT LOCAL node to running private Blockchain? So, there are 3 virtual machines in one local network. They are syncronized private blockchain. They have static-nodes.json ...
1
vote
2answers
585 views

How to connect peers which are on different computers in geth on private network?

I am trying to setup a private network and trying to connect peers. Currently I'm trying it on my laptop and virtual machine(VM) runing on the same laptop (both of them are connected to internet). I ...
0
votes
1answer
12 views

Integrity of old blocks in the blockchain

I am learning Ethereum using Geth, and I am testing PoA-Clique networks. Now I have a conceptual doubt about old blocks integrity. Suppose I have a private blockchain network of only one miner node ...
2
votes
1answer
289 views

Pending transactions Geth private Blockchain

I have an ethereum consortium blockchain based on Azure (Geth 1.7.3). I've been experimenting with an application which has a very simple smart contract. The contracts itself, stores data that comes ...
2
votes
2answers
319 views

Difference between eth.newAccount and personel.newAccount

Can anyone explain the difference between `eth.accounts.create()` and `eth.personal.newAccount()` and which one we should use and why? As I am new to ethereum so its very confusing for me. Thanks
0
votes
1answer
43 views

Automatically Run Contract

I have a private ethereum network made up of multiple nodes and I would like one of them to interact with the a deployed smart contract without my input. Is it possible for create a script that will ...
0
votes
1answer
29 views

Architectural blockchain adoption possibilities

I am working on a new shipments management project which will need the blockchain technology to certify the app-generated documents. I have no prior experience in blockchain and after a deep browsing ...
15
votes
8answers
8k views

Block explorer running on private network

Is there any application out there that allows me to explore the Ethereum blockchain in a private network? (something similar to what blockchain.info does to bitcoin or etherchain does to ethereum ...
0
votes
1answer
319 views

How increase mining speed in AWS instance?

I have setup a private blockchain in AWS micro instance using go-ethereum. In that when I start the mining process it was taking nearly 2-3 hours to mine a new block.Whereas on my local machine it was ...
0
votes
1answer
24 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
1answer
32 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
468 views

Failed to connect to localhost/0:0:0:0:0:0:0:1:8545

When I am doing one transaction with the help of Java web3j library, it's not connecting to localhost(my private network). And giving this error. package com.kaushik.blockchain; import java.math....
0
votes
1answer
2k views

Unable to attach to remote geth: Invalid pipe address '/.rinkeby/geth.ipc'

I'm on Windows and trying to connect to Ethereum Testnet via rinkeby. I downloaded geth 1.8.2 and Ethereum Wallet 0.9.3 I gave 1st command as: geth --rinkeby --fast --cache=1024 NOTE: after ...
1
vote
1answer
251 views

How to connect IPC and RPC to transact fake ethers?

I have setup 2 nodes, 1 on testRPC and the other on geth(using cmd and mist). How to sync both the nodes so that I can write a crowdfunding smartcontract for the accounts in both the private nodes to ...
0
votes
1answer
36 views

What are the pointers for moving Ethereum into production for a private blockchain?

I am moving an Ethereum blockchain into production and I know many cloud services exist, including BaaS from Microsoft, AWS, Digital Ocean, and Google cloud services. Is there any criteria from ...
0
votes
1answer
49 views

Unable to mine smart contract using Oraclize - Invalid JSON RPC response,error code : -32603

I am trying to use Oraclize to make a REST call. Please find below my contract code - pragma solidity ^0.4.16; import "./usingOraclize.sol"; //Importing Oraclize(verion 0.4) contract ...
0
votes
2answers
58 views

Blockchain usage in smart home

I am currently gathering information for my thesis about smart home implementaton with a use of blockchain. The blockchain usage is a requirement from my thesis supervisor and I have huge problem with ...
1
vote
1answer
611 views

Mist Connection Error at Private Geth Node

I've created my private network run my Geth Node as: geth --datadir /mychaindata --rpc --rpccorsdomain "*" --nodiscover I can successfully attach it and create account when I run: geth attach ipc:/...
0
votes
2answers
48 views

Integrate more then one user with one ethereum account

I have many users inside the organization and I want to use same ethereum account for all the users , but with different usernames, so it there anyway to do that ?
0
votes
1answer
35 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": "...
0
votes
1answer
36 views

Can Hyperledger Fabric Blockchain Supports Partial Transaction Encryption?

My use case is that we need to protect only sensitive data in the transaction in blockchain. But we want to open other data in the same transaction to the public, Can Hyperledger Fabric supports the ...
4
votes
1answer
82 views

It possible to hard fork a private network without resyncing chain from scratch?

I am able to hard fork my private chain into first Constantinople and than to Istanbul, please see the answer for it. My approach is: I have updated geth to its highest version I have kept the go-...
1
vote
3answers
495 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 ...
1
vote
1answer
1k 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
568 views

pending transaction blocked on a local private node

Geth v1.6.1-stable on linux i have initialized my data localy with : geth --datadir "data" init "genesis.json" then i run geth to launch local node with very low gasPrice geth --datadir "data" --...
1
vote
1answer
451 views

Storing structured data in private blockchain

The task. Develop distributed registry on blockchain network that can store public data of the certain objects. For example: { "id": 123456789012345, "title": "Big black box (not more than 100 ...
0
votes
1answer
38 views

How to determine the best sealing time for private Clique

I have several transactions to be stored in my permissioned blockchain with PoA Clique. With the transactions information in mind, how do we determine the best sealing time for private Clique' blocks?...
0
votes
1answer
1k views

How to use events to retrieve data from a transaction? PRIVATE CHAIN

i am using GETH for the architecture and deployment of my contract on a private chain and it works pretty fine, but unfortunately i want to return data from a transaction function and this makes me ...
1
vote
1answer
51 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
2answers
626 views

How to use a private network in geth?

I am following this answer: How do I set up a private ethereum network? but my result of miner.start() will return null Is it because my geth version is 1.6.6-stable? Also welcome any beginner's ...
2
votes
1answer
60 views

How do I generate a TrustedCheckpoint(CHT) on my private chain?

I saw this link, but still don't know how to get CHTRoot and BloomRoot, only know that SectionHead is block[(SectionIndex+1)*32768-1].headhash https://github.com/ethereum/devp2p/blob/master/caps/les....
1
vote
1answer
35 views

Private Clique network, where can I get block sealer and block reward?

Private blockchain PoA validation algorithm Using geth attach MY-GETH-CLIENT, I want to check the sealer of a block as well as its reward. Using eth.getBlock(BLOCK-NUMBER), the miner field is ...
1
vote
2answers
682 views

Private ethereum network on AWS

I am having trouble creating a private ethereum network on AWS. I have enabled TCP/UDP for the desired ports in the firewall in AWS. On one node A(aws instance) I start the geth console by making use ...
0
votes
1answer
832 views

Ethereum Pending Transaction

I am trying to send 2 transactions. eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(5, "ether")}) eth.sendTransaction({from: eth.accounts[0], to: eth....
0
votes
3answers
618 views

Create a DApp using Geth

I need to create a sample DApp from scratch within a private blockchain using Geth. Can anyone post links of sample apps which have been made in such a way for reference.
2
votes
1answer
66 views

Generating genesis.conf for Clique PoA private network via command line

I'm trying to generate a Clique POA genesis file that specifies the original sealers using automation. However, puppeth only supports user input at the moment. There's no support for command line ...