I used keypool=10000 in the conf file but bitcoin-cli -getinfo shows "keypoolsize":1000. Why?
keypoolsize only shows how many keys are currently in the keypool. It does not reflect the maximum size of the keypool. The
keypool=<n> option does not automatically fill the keypool to that size, you will need to refill it by using
keypoolrefill you still do not see a larger keypool, then that means your bitcoin.conf file is either named incorrectly, located in the wrong location, or formatted incorrectly.