How to make sure transactions take no fee in a private Ethereum blockchain?

0 votes

I have a private parity node setup on my laptop. How can I make sure that there is 0 transaction fee whenever a transaction is posted in this private ethereum blockchain, meaning that I can post a transaction giving "gas: 0"?

Example: Account A has 20 ethers, Account B has 0 ether. When I transfer 10 ether from Account A to Account B, Account A now shows 9.980 and Account B shows 10.

How can I prevent the extra gas being deducted?

Mar 26, 2018 in Blockchain by nsv999
• 5,070 points
84 views

1 answer to this question.

0 votes

In a private ethereum network you have control over the miners so you can customize them to accept transactions with gasprice : 0

Note that this arrangement will not alter how gas itself works in the network. The gas limit is still there. The only difference is that the client is saying it will pay 0 for gas on a transaction and the miner is staying it is willing to accept transactions at 0 price.wn voteaccepted

From the Parity documentation:

--gasprice WEI        Minimum amount of Wei per GAS to be paid for a
                                transaction to be accepted for mining. Overrides
                                --basic-tx-usd.
answered Mar 26, 2018 by Christine
• 15,790 points

edited Mar 26, 2018 by Christine

Related Questions In Blockchain

+1 vote
1 answer

Is it possible to store blockchain in a sql or no-sql database?

Currently, following are the options to store ...READ MORE

answered Apr 20, 2018 in Blockchain by Perry
• 17,010 points

edited Aug 9, 2018 by Omkar 56 views
+1 vote
1 answer

How to store state data in Ethereum blockchain?

You won't have to overwrite the whole ...READ MORE

answered Apr 24, 2018 in Blockchain by Shashank
• 10,330 points
52 views
0 votes
1 answer

How to store picture(s) in a hyperledger blockchain channel

You can hold images as encrypted characters ...READ MORE

answered Jun 16, 2018 in Blockchain by charlie_brown
• 7,720 points
134 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
126 views
0 votes
1 answer
0 votes
0 answers

Error: Unexpected token o in JSON at position 1

I have been working with Interacting a ...READ MORE

Mar 6 in Blockchain by saeedi
• 120 points

edited Mar 6 by Omkar 322 views
0 votes
1 answer

In a Blockchain, how difficult is it to modify the third to last block?

Technically, it's not difficult at all, all ...READ MORE

answered Apr 20, 2018 in Blockchain by Christine
• 15,790 points
62 views
0 votes
1 answer

How do transactions create a new block in Blockchain?

Bitcoin puts a cap of 2,400 transactions ...READ MORE

answered Aug 10, 2018 in Blockchain by Christine
• 15,790 points
44 views