custojam 4 months ago

How to get the trigger when someone sends me ether

Hi All, I am using geth light node right now and I am having difficulties in getting the trigger if someone from other node sends ether to my light node accounts. I don’t have issue if I sendTransaction within my light node I can get the transaction by listening using eth.getPendingTransactions, but if someone from other node it’s not appearing there. Thank you