My goal is to understand the bitcoin internals.
Here is what i have done:
I have downloaded, maked and installed bitcoin sourcecode from github.
I have launched the bitcoind daemon. Everything seems to work because i can generate addresses with bitcoin-cli.
My first question is: When and How my private/public key was generated ? I had nothing to do for that and i am wondering when this operation was done.
My second question is: I know this is not a good practice but if i only know my private/public key in clear format (not encrypted): Is there a way for me to "import" this public/private key into my bitcoin wallet. In other words, can i say if i know my public/private key, i know everything.
Thanks