added rpc listener for onblockconnected notification