I am having troubles to sendTransaction with geth running in light mode.


geth --testnet --syncmode "light" --rpc --rpcport 10001 --rpccorsdomain "*" --rpcaddr --datadir /opt/blockchain/ropsten-light/ --lightpeers 10 --lightkdf conso
le 2>/tmp/ropsten.log 


Welcome to the Geth JavaScript console!

instance: Geth/v1.8.7-stable-66432f38/linux-amd64/go1.10
 modules: admin:1.0 debug:1.0 eth:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

Unlock account:

> personal.unlockAccount(eth.accounts[0], "password", 600)

Send transaction:

eth.sendTransaction({from: eth.accounts[0], to: eth.accounts[1], value: web3.toWei(0.001, 'ether')})

After issuing sendTransaction console freeze. If I issue ctrl+c to get back to the command line console is terminated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.