0
1
i am trying to find out which c++ code in https://github.com/bitcoin/bitcoin
is responsible for generating bitcoin address and private key.
0
1
i am trying to find out which c++ code in https://github.com/bitcoin/bitcoin
is responsible for generating bitcoin address and private key.
2
See CWallet::GenerateNewKey in src/wallet.cpp. It calls either DeriveNewChildKey or MakeNewKey depending on whether HD wallets are in use.