The reason I ask is that I have a bunch of addresses showing under "names". Most of the addresses also appear in the key dump file with their "sec" and "secret" keys listed however there is a couple of addresses that only appear in "names" section - Can I get the private keys for these using the mkey encrypted key and if so, how would I do this?
Those that don't appear in "
addr" sections should be addresses in your "
Sending Address" list.
So, those are most likely just addresses that you previously sent to or manually added in "
Window->Sending addresses".
Here, I used pywallet to dump this RegTest wallet, the 3 addresses in my sending address list appeared under "
names" but not in the "
addr" section:
"mkey": {
"encrypted_key": "b5d8b2348872062c96f88634b6a3641dbc3d2c315666c9d1a07297d9717f49b035e0871e517ff54b4582ef162194e29c",
"nDerivationIterations": 240740,
"nDerivationMethod": 0,
"nID": 1,
"otherParams": "",
"salt": "7692fd3f26672df1"
},
"names": {
"bcrt1qlrx2glvdn7l5r8sy7ekatf2l5tn7ah4qx56ur8": "in_sending_list_1",
"bcrt1qm9pmytszpcyqyp90l6qsan0af4jsja9dyrngst": "in_sending_list_2",
"bcrt1qpcysuwl88dlwlk8vhmnr73wpdpndj5yjupmck4": "",
"bcrt1qu9740z5xmjt39ejwu9f68vajf00h29h3mwpwum": "in_sending_list_3"