user133541: The address generated by getnewaddress RPC is associated to a wallet that the user possesses or is it a random address not necessarily belonging to user ?

user13866: It returns an address you can use, not merely some useless random number.
It generates a new pair of public and private keys, stores those keys in your wallet and generates the address from the public key.

133541: <p>The address generated by <code>getnewaddress</code> RPC is associated to a wallet that the user possesses or is it a random address not necessarily belonging to user ?</p>
 13866: <p>It returns an address you can use, not merely some useless random number.</p>
<p>It generates a new pair of public and private keys, stores those keys in your wallet and generates the address from the public key.</p>
