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.

311 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
2answers
17 views

What causes .deployed() to return same contract instances in each test

It took me awhile to diagnose the problem. At first I just noticed that the states of my contracts were being affected by previous tests when running truffle test I then looked in the terminal tab in ...
0
votes
0answers
17 views

How do I unlock the Parity Ethereum Ethash prefunded account?

So i have my ethash node running with the following chainspec.json { "name": "Morden", "engine": { "Ethash": { "params": { "...
0
votes
0answers
27 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
1answer
23 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
14 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 ...
0
votes
0answers
36 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
17 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 ...
0
votes
0answers
32 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 ...
0
votes
1answer
33 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 ...
0
votes
0answers
33 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). ...
0
votes
1answer
34 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
0answers
13 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
59 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
0answers
25 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
0answers
23 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
37 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 ...
0
votes
1answer
103 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
0answers
30 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
93 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. ...
0
votes
1answer
493 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
67 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 ...
0
votes
0answers
430 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
194 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 ...
0
votes
1answer
54 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
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
1answer
49 views

Pending transactions not mined in private network

I have created a node with the following genesis block: { "config":{ "chainId":9119, ...
0
votes
0answers
46 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 ...
0
votes
0answers
21 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. ...
0
votes
0answers
30 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
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 ...
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
1answer
66 views
0
votes
0answers
51 views

Set Date and Time in a Private Network

I have created a private network using geth in ubuntu, but it takes date & time from the system on which it runs. So if the system date of the master node is changed, it affects syncing on the ...
0
votes
0answers
190 views

Truffle Contract deployment >> Error: Returned values aren't valid, did it run Out of Gas?

I have a rpc enabled running private ethereum blockchain node with mining enabled. I have connected to it using metamask and have performed some contract interactions (deployment, calling functions,...
0
votes
0answers
18 views

Add Peer to AWS

I have created my private network over AWS and created two node and add them as peer which is working fine and node are connected. Now i want to setup third node on my local machine which is not AWS ...
0
votes
0answers
28 views

POA ethereum Add Authority Account Contract

Can someone point me right tutorial to understand the following 1) Genesis configuration for POA with pre-fund account 2) How to add Authority account at run time means once the blockchain is up ...
0
votes
0answers
22 views

Parity Ethereum - Public network

Want to create my own public network with pre-funded account, can any one point out the optimise, secure configuration for spanning node for Test and Main net ? To be more specific for Test Net I ...
0
votes
1answer
72 views

connecting geth to web3.go 1.0 via websockets or HTTP

Is there anyThing similar to web3.js written in go that allows me to communicate with the geth client ?
0
votes
1answer
47 views

Same genesis for private network?

I have initialized one private node using geth and Genesis file, and now I want to span another node, in genesis file, I have mentioned on the account which will be pre-funded now I want Ans of below ...
0
votes
1answer
28 views

Easier Installation of privatenode for non-technical users

I have seen documentation of creating privatenet using geth. But it holds few commands which will not be a better option for users/clients who doesn't have technical knowledge to use the application ...
0
votes
0answers
24 views

Why would a node stop updating chain?

I am running a private network and one node seems to have stopped updating its chain. It is stuck at block 264 while the others are hundreds past it. It is still connected to the network, but it has ...
0
votes
0answers
58 views

Unable to interact with Smart Contract using Ethereum node Javascript console

I deployed a smart contract and to interact with that I've written Javascript. When I use loadScript('requestor.js') in my geth console I'm getting the following error Line 236 in my code is ...
0
votes
1answer
86 views

Is it possible to modify privateFor addreses in a private Smart Contract (Quorum)?

I know how a private smart contract works providing a list of accepted addreses to privateFor property, but what if I want to disable (or enable) any address visibility? Should I deploy a new Smart ...
0
votes
2answers
49 views

connect users to the sidechain SKALE

SKALE is Ethereum Dapps to run high speed, Low cost smart contract layer. I wish to connect users to the sidechain SKALE,from their browser. automatically without the manual change as necessary for ...
0
votes
1answer
47 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 ...
0
votes
1answer
30 views

Custom miner checks in a private chain?

I have used the ideas from the link [1]How to make miner to mine only when there are Pending Transactions? in my private chain. I have a couple of questions, - How can I add custom code on the miners ...
0
votes
0answers
109 views

Unable to Synchronize raspberry pi node my private network

I have created a private network with 3 nodes - two nodes in computer and one in raspberry pi I connected computer and raspberry pi to same network through LAN computer ip: 192.168.122.1 pi ip ...
0
votes
2answers
335 views

What's problem about “gas required exceeds allowance or always failing transaction”

I translate smart contract into Java with solc and web3j, but I meet the probelm "gas required exceeds allowance or always failing transaction". This is my smart contract. It is work when I use ...
0
votes
0answers
40 views

Can read from smart contract but can't write

I have a app.js script that I am trying to use to interact with a smart contract. I can read from the contract however, I cannot write to it. The called method countMessages() returns the correct ...
0
votes
1answer
50 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 ...

1
3 4
5
6 7