Post
Topic
Board Bitcoin Technical Support
Merits 2 from 1 user
Topic OP
Why 2 address types in Testnet Bitcoin QT console and "Receive Tab"?
by
FractalEncrypt
on 10/02/2020, 23:28:08 UTC
⭐ Merited by LoyceV (2)
I have a question about generating new addresses in Bitcoin QT on testnet.

Questions:
1. Can I generate 10 addresses at a time, if so, what's the command?

2. Why can I only create Testnet P2SH addresses in the console?
(when I click the "Create New Receiving Address" button in the receive tab of QT, I get a bech32 address, like this; tb1q5h7tk85rjwwap4jsxlje8kl9mfr20c7qghx6qa)



In the console, when I run getnewaddress, I only get P2SH addresses, am I doing something wrong here?
Here are a few commands and the resulting addresses

  • getnewaddress "p2sh-segwit"
    2NGQJDo2aAPE8CHGxEc48BJ4S9GzqQujhVF

    getnewaddress "legacy"
    2NAoHS6cfN4oVj9tJrmTgbNEjtHpjyW26RZ

    getnewaddress "bech32"
    2N3ppZqJdDKQfQKyFxmbLhoiVSzjk6KfybU

    getnewaddress ("bech32")
    2N3e1F587BJBPatxThFBt4oyiU3gPr1zos4

    getnewaddress '("bech32")'
    2N2VbaEmjmB2rJ49mgZEYRCunAxG727Xj5a




Bitcoin Client Software and Version Number: Testnet Bitcoin Core 0.19.1
Operating System: Windows 10 64-bit
System Hardware Specs: AMD threadripper 2950x 16-core with 32gb memory
Description of Problem: Unable to create bech32 addresses in testnet QT console
Any Related Addresses: None
Any Related Transaction IDs: None
Screenshot of the problem: NA
Log Files from the Bitcoin Client: NA