How to make Geth transactions faster?

0 votes

I'm testing Ethereum smart contracts with web3j and Geth. The geth script is as follows:

PASSFILE=/var/folders/_l/kl9pdj2x50v7416j8htb6w740000gn/T/pwd6597172766860806720.tmp
DATADIR=/var/folders/_l/kl9pdj2x50v7416j8htb6w740000gn/T/geth808290308908087582
IPCPATH=/var/folders/_l/kl9pdj2x50v7416j8htb6w740000gn/T/geth808290308908087582/geth.ipc

geth --datadir $DATADIR account new --password $PASSFILE
geth --datadir $DATADIR \
    --ipcpath $IPCPATH \
    --dev \
    --rpc \
    --mine \
    --networkid 1999

I have generated the smart contract wrappers using web3j-maven-plugin

The problem is that the send() is taking more time(5-15 seconds). When i tried testing with TestRPC, it took less
than a second. How can a speed-up the Geth transactions?

Jul 17, 2018 in Blockchain by digger
• 26,550 points
32 views

1 answer to this question.

0 votes
You can change the speed by the changing the behaviour of this Geth feature/issue. Refer to the following link:
https://github.com/web3j/web3j/issues/231
answered Jul 17, 2018 by slayer
• 29,170 points

Related Questions In Blockchain

0 votes
1 answer

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

In a private ethereum network you have ...READ MORE

answered Mar 26, 2018 in Blockchain by Christine
• 15,790 points

edited Mar 26, 2018 by Christine 125 views
0 votes
1 answer

How to make transactions without creating assets in multichain?

To transfer your Mycoins, you can make ...READ MORE

answered Jul 3, 2018 in Blockchain by Omkar
• 67,660 points
73 views
+1 vote
1 answer

Do we need metamask extension to make transactions on ether?

Actually, we don't need Metamask. To make ...READ MORE

answered Apr 7, 2018 in Blockchain by Perry
• 17,020 points
91 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,550 points
82 views
+1 vote
1 answer
+1 vote
3 answers

How to connect peers to a private network using geth?

Follow the below steps to connect peers ...READ MORE

answered Jul 13, 2018 in Blockchain by slayer
• 29,170 points
1,219 views