Author

Topic: Default address? (Read 109 times)

legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
April 19, 2021, 05:00:39 AM
#5
By default, do you mean address shown to user to receive Bitcoin? If that's what you mean, Bitcoin Core doesn't have such feature, you either need to generate new address or see history of "Requested payment history".
legendary
Activity: 3472
Merit: 4801
April 18, 2021, 07:57:51 PM
#4
This is in a older non HD wallet, don't know if that makes a difference?

Prior to HD, Bitcoin Core did not have any concept of a "default" address.  Instead, it generated a set of brand new private keys completely at random whenever it needed more addresses.  It would store those keys and addresses in the wallet.dat file.
full member
Activity: 217
Merit: 109
April 18, 2021, 02:00:45 PM
#3
I'm not sure what you mean by "default address," are you reffering to the receiving address?  From what I've noticed Core issues receiving addresses in the order they're listed in the keystore.  The hdkeypath indicates their position, and Core will display the keys in that order.  For example:

First address to display: hdkeypath=m/0'/0'/0'
Second address to display: hdkeypath=m/0'/0'/1'
So on and so forth.

Each bitcoin core HD wallet has one private key (and an associated address) that's used as the HD seed, but if I'm not mistaken core avoids the use of this address as a receiving address.
This is in a older non HD wallet, don't know if that makes a difference?
copper member
Activity: 2338
Merit: 4543
Join the world-leading crypto sportsbook NOW!
April 18, 2021, 01:30:38 PM
#2
I'm not sure what you mean by "default address," are you reffering to the receiving address?  From what I've noticed Core issues receiving addresses in the order they're listed in the keystore.  The hdkeypath indicates their position, and Core will display the keys in that order.  For example:

First address to display: hdkeypath=m/0'/0'/0'
Second address to display: hdkeypath=m/0'/0'/1'
So on and so forth.

Each bitcoin core HD wallet has one private key (and an associated address) that's used as the HD seed, but if I'm not mistaken core avoids the use of this address as a receiving address.
full member
Activity: 217
Merit: 109
April 18, 2021, 12:40:18 PM
#1
What is the default address in a bitcoin core wallet and what determines it being the default? Cheers.
Jump to: