I don't understand the differents between listaddressgroupings
and getnewaddress
For example, I have a local blockchain ( regtest ) with 0 Block.
I create 101 block (generate 101
)
I can see with listaddressgroupings
this output
[
[
[
"mvAH7VsxifvQdEZ46Rdt2oN3nB5BzaPqS8",
50.00000000
]
]
]
What address is it?
If dump the priv key dumpprivkey mvAH7VsxifvQdEZ46Rdt2oN3nB5BzaPqS8
I have this result MVA_PRIVATEKEY
ok, If I search this privkey in dumpwallet test.txt
that key in associate to this address
MVA_PRIVATEKEY 2019-01-19T10:26:19Z change=1 # addr=2NAoHv7kDBhHND7YHcQKuDS8wCbEz87xLrv hdkeypath=m/0'/0'/0'
Why is not mvAH7VsxifvQdEZ46Rdt2oN3nB5BzaPqS8
?
Now I want create a new address getnewaddress =>
2NCGuG2v4RbaAKsZp1RQJ2ZpDM6WtW79Mu3
Why this address begin with 2 and not with m or n ? its pk is different from mvAH7VsxifvQdEZ46Rdt2oN3nB5BzaPqS8
If I create another 101 block, I have a new address in listaddressgroupings
anytime I create a new block, I have a new address in listaddressgroupings