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
0answers
17 views

Ethereum network event simulator

I would like to simulate and observe an emergent Ethereum network, so I could draw conclusions about the main net and simulate my own code at the infrastructure level. I am looking for the best tool ...
0
votes
0answers
13 views

Mining stops after some time in my Hyperledger-besu Private blockchain

I have been using Hyperledger-Besu's quickstart guide to build my private blockchain (with ibft2 as consensus algorithm) on an AWS instance, which basically just clones that repo https://github.com/...
0
votes
1answer
14 views

How to include constructor arguments in bytecode for smart contract deployment in genesis block?

Please excuse if the title is not perfectly accurate but I had a hard time fitting my problem into 1 question. If you have a better title please feel free to suggest it and i will edit it. I want to "...
0
votes
0answers
9 views

Will there be support for admin.removePeer()?

Newest geth version has an admin.removePeer('') function, which I use in my IoT application. How easy is it to fork off web3.py and create a w3.admin.removePeer function? Can someone point me in the ...
1
vote
1answer
24 views

What should be the limit for miner to mine a block

I am trying to run my smart contract in remix ide, below is my smart contract code: pragma solidity >=0.4.17 <0.7.0; pragma experimental ABIEncoderV2; contract Department{ struct Employee{ ...
0
votes
0answers
20 views

Pending transactions at the client machine, but minter is not minting a new block since there are no pending transactions

I am running Blockbench on Quorom Raft using smallbank workload: 4 minters and 4 clients. Following the logs, I found that sometimes 1 specific client (Client 4) has pending transactions but the ...
0
votes
0answers
13 views

Ethereum Peer Removal

Current Geth version supports a removePeer function, which is great. I am working on a IoT application proof of concept using a local ethereum network, and I need to dynamically add and remove peers ...
1
vote
1answer
28 views

How to create a token exchange for private blockchain?

I have requirement to create a exchange for my private blockchain tokens, where registered user can buy and sell tokens, and token price goes up and down on demand and supply. I have searched bit, ...
2
votes
0answers
24 views

Azure Blockchain Service node properties [closed]

What exactly are Access key 1, Access key 2, Member account, Web socket, DNS, creater account, etc. of a node in Azure Blockchain Service? I am getting confused as to what are these. Also what are the ...
1
vote
1answer
27 views

What is the block number of the first block mined in a private blockchain network deployed on say Quorum?

I am working on POCs on Azure Blockchain Service. While working on quickstarts, I observed that while deploying my 'Hello Blockchain!' smart contract, the block number of the block mined was 34136. ...
0
votes
0answers
26 views

Truffle test using multiple connections

I am running a test which involves sending transactions to a smart contract from multiple nodes. Right now, I have seperate truffle folders in each node, with a test file that sends the transactions ...
2
votes
1answer
15 views

Can I hardcode an enode hex-section in a local network?

I have multiple devices with unique IP's. Is there a way to attribute the same enode hex to all of them (while still having unique IP's contained in the enode).
0
votes
1answer
23 views

Smart contract transaction takes different amounts of gas on different platforms

I have an ERC-20 token contract on which I want to perform some testing on a local chain. I got my chain setup, contract deployment and testing scripts ready on my Windows machine. However, since I ...
2
votes
1answer
25 views

how to run a private blockchain network with geth on other machines, such as server and client?

i want to run private blockchain network , on the server I'm running: geth --networkid 4224 --mine --minerthreads 2 --datadir "D:\mydirectory\private-network" --nodiscover --rpc --rpcport "8545" --...
0
votes
0answers
25 views

Unable to get the Ethereum accounts (eth_accounts) using the JSON RPC

I launched an Ethereum installation with the Amazon Blockchain Templates using the simplest installation, the docker-local with a private network (not connected to the public Ethereum network). ...
3
votes
0answers
35 views

Blocks can't contain more than 81 transactions

I'm building a private blockchain with Parity clients. For performance testing, I'm submitting many identical transactions. One of the nodes has a GPU miner attached. There are 2 issues I cannot ...
0
votes
1answer
37 views

Deployed contract address is getting undefined after few days on private network

I have a private blockchain where I am able to deploy my smart contracts successfully and then I am getting the address of my smart contract which I am storing on my relational db. In geth console ...
0
votes
1answer
18 views

Geth Providing error on its directory path

I have initilize my node1 with my genesis file which worked fine command is 'geth --datadir node1/ init genesis.json'. But with same geth when I try to run this command geth --datadir node1/ --...
0
votes
2answers
39 views

Setting a value for ERC20 token on private blockchain?

Background: Currently we have an Dapp running on Ropsten. We've created an ERC20 token on Ropsten. Our employees are awarded these tokens over time. We want to use Dappos to allow our employees to ...
1
vote
1answer
16 views

What is the max number of Blocks which can be created in Quorum

I have nodes running from past few days, with almost 4100+ transactions successfully completed. When i try to interact with the contracts again to add/modify details it shows error Error when ...
0
votes
0answers
11 views

Geth automining does not fill blocks to maximum

I am running a throughput test on a private geth blockchain. The test sends 500 transactions rapidly and then waits for their confirmations in order to measure transactions per second. However, I've ...
0
votes
0answers
28 views

Calling provable_query via Ethereum-bridge work only the first time

I implemented a contract to call a api via provable and ethereum-bridge on a private ethereum. In the first time, when calling a api, it works fine. However, when tring to call api again, I got an ...
0
votes
2answers
66 views

Quorum private transactions not private

I am struggling to enforce privacy using Quorum's privateFor option. I have provisioned a consortium in Azure blockchian service with 3 nodes. I deploy a smart contract from node2 privateFor node1 ...
1
vote
0answers
22 views

How to connect 2 nodes without admin.addPeer()?

So, I started 2 nodes on my private net using geth, with custom genesis file, different port numbers, all how it was supposed to be. In one instance I added the admin.nodeInfo.enode of the other ...
0
votes
0answers
21 views

Add Two peer from two different machine into one machine

I have created three node on three different machines. I have used same genesis file for all three nodes. Here is my screenshots of nodes Node-1 Similarly, I have set up two more node on two ...
0
votes
2answers
46 views

Measuring deployment time of a group of transactions in a heavy load testing

I am currently trying to perform heavy load testing on a ERC20 token. My plan is to use truffle to test stuff like how long it would take for 500 transfer transactions to be deployed (on a private ...
1
vote
1answer
60 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
42 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
0answers
19 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
0answers
32 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 ...
3
votes
2answers
184 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....
1
vote
1answer
27 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
0answers
38 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
19 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 ...
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 ...
4
votes
1answer
98 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-...
0
votes
1answer
58 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?...
1
vote
1answer
44 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 ...
3
votes
1answer
68 views

How to deploy Ethereum Smart Contract through Brownie to the Private Network

I have a geth node that is connected to a private network on my computer that uses port: 8545. Hence, I have a smart contract that is tested using Brownie on the ganache-cli network. Brownie is a ...
0
votes
0answers
27 views

miner.start() returns null but no transactions take place

I have created a genesis block and initialized it in the private network. Account creation is also successful. As soon as I hit miner.start() [or miner.start(1)], the following appears: INFO [12-...
0
votes
1answer
24 views

How to open multiple terminals using docker?

Here I am trying to create private ethereum instance using dockerfile. I want to open two terminals and run command1 in terminal1 and execute command2 in terminal2 only when command1 returns true. ...
2
votes
1answer
37 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
31 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 ...
2
votes
1answer
22 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.
1
vote
1answer
31 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
58 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
94 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
50 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
25 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
50 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 ...

1
2 3 4 5
19