0
When a user creates an account on Bitcoin Core, he is assigned private keys. And he needs to use these private keys in order to send transactions onto the network.
Does Bitcoin Core store these private keys in the application or in the public ledger? Are these private keys store on a private server by Bitcoin Core developers?
When you sign a transaction with your private key, how does Bitcoin Core know that this private key is related to your public address?
You did answer fairly generically. As I know you shouldn't share your keys with anyone. I'm just trying to understand how the technology works. How does Bitcoin Core know that your private key is valid if it is not stored anywhere? I'd like to know more about ECDSA logic if that is in relation to my question. Do you have other links on what that is? Or a way to explain in rather basic terms as well as the actual mathematical algorithm? – Michael d – 2018-02-22T09:09:15.200
The private keys are stored in the file "wallet.dat", which is located in your home directory. The bitcoin core wallet itself creates the private keys, and from this private key a public key is derived (which is also stored in the wallet) via ECDSA logic. I provided a link to Andreas' book, which explains in detail the ECDSA logic (chapter 4), and in chapter 5 the way how wallets handle the keys. – pebwindkraft – 2018-02-22T10:45:31.330