if u send coins in a transaction the change will be placed in a new address if u didnt specify ur address as change address
(option in gui for one session or option in diamond.conf for be used permanent)
How i do this in the conf file?
changeaddress=youraddressforchange
changeaddress= Here need to enter an address which I have in my wallet? (I have one address in my wallet)
and then when I withdrawal coins my wallet will not create a lot of addresses, right?
it will not affect staking?
yes but if u write this directly in the console like i did (i have the wallet 24 hours open so i dont need the conf file only for one line) u have to write "setchangeaddress youraddressforchange". The "changeaddress=youraddressforchange" is for the conf file
edit: u can see how many address u have in ur wallet in the blockexplorer