Bitcoin Forum
May 10, 2024, 01:32:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Default address?  (Read 91 times)
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 18, 2021, 05:40:18 PM
 #1

What is the default address in a bitcoin core wallet and what determines it being the default? Cheers.
1715304754
Hero Member
*
Offline Offline

Posts: 1715304754

View Profile Personal Message (Offline)

Ignore
1715304754
Reply with quote  #2

1715304754
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715304754
Hero Member
*
Offline Offline

Posts: 1715304754

View Profile Personal Message (Offline)

Ignore
1715304754
Reply with quote  #2

1715304754
Report to moderator
1715304754
Hero Member
*
Offline Offline

Posts: 1715304754

View Profile Personal Message (Offline)

Ignore
1715304754
Reply with quote  #2

1715304754
Report to moderator
1715304754
Hero Member
*
Offline Offline

Posts: 1715304754

View Profile Personal Message (Offline)

Ignore
1715304754
Reply with quote  #2

1715304754
Report to moderator
DireWolfM14
Copper Member
Legendary
*
Offline Offline

Activity: 2184
Merit: 4238


Join the world-leading crypto sportsbook NOW!


View Profile WWW
April 18, 2021, 06: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.

  ▄▄███████▄███████▄▄▄
 █████████████
▀▀▀▀▀▀████▄▄
███████████████
       ▀▀███▄
███████████████
          ▀███
 █████████████
             ███
███████████▀▀               ███
███                         ███
███                         ███
 ███                       ███
  ███▄                   ▄███
   ▀███▄▄             ▄▄███▀
     ▀▀████▄▄▄▄▄▄▄▄▄████▀▀
         ▀▀▀███████▀▀▀
░░░████▄▄▄▄
░▄▄░
▄▄███████▄▀█████▄▄
██▄████▌▐█▌█████▄██
████▀▄▄▄▌███░▄▄▄▀████
██████▄▄▄█▄▄▄██████
█░███████░▐█▌░███████░█
▀▀██▀░██░▐█▌░██░▀██▀▀
▄▄▄░█▀░█░██░▐█▌░██░█░▀█░▄▄▄
██▀░░░░▀██░▐█▌░██▀░░░░▀██
▀██
█████▄███▀▀██▀▀███▄███████▀
▀███████████████████████▀
▀▀▀▀███████████▀▀▀▀
▄▄██████▄▄
▀█▀
█  █▀█▀
  ▄█  ██  █▄  ▄
█ ▄█ █▀█▄▄█▀█ █▄ █
▀▄█ █ ███▄▄▄▄███ █ █▄▀
▀▀ █    ▄▄▄▄    █ ▀▀
   ██████   █
█     ▀▀     █
▀▄▀▄▀▄▀▄▀▄▀▄
▄ ██████▀▀██████ ▄
▄████████ ██ ████████▄
▀▀███████▄▄███████▀▀
▀▀▀████████▀▀▀
█████████████LEADING CRYPTO SPORTSBOOK & CASINO█████████████
MULTI
CURRENCY
1500+
CASINO GAMES
CRYPTO EXCLUSIVE
CLUBHOUSE
FAST & SECURE
PAYMENTS
.
..PLAY NOW!..
morbius55 (OP)
Full Member
***
Offline Offline

Activity: 217
Merit: 109


View Profile
April 18, 2021, 07: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?
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
April 19, 2021, 12:57:51 AM
 #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.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!