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?