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,740 points
1,692 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,370 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 1,567 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
• 69,220 points
682 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 8, 2018 in Blockchain by Perry
• 17,100 points
1,214 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,451 views
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,740 points
1,003 views
+1 vote
1 answer
+1 vote
4 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,370 points
14,213 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP