Thursday, December 26, 2024

bitcoin core – Why are there a number of fee addresses related to a personal key?

Regarding the output of dumpwallet, that is the perfect reply:

dumpwallet output documentation & clarification?

About your questions:

Why does a personal key handle correspond to 2 fee addresses?

Addresses are directions out of your pockets to the paying pockets.

These directions are divided in 2 elements: a prefix and a few string.

If the prefix is:

  • “1” this implies your pockets desires the receiving cash to be locked in a P2PKH script (Pay To Public Key Hash), and the hash of your public key is the string a part of the handle;
  • “3” this implies your pockets desires the receiving cash to be locked in a P2SH script (Pay To Script Hash), and the hash of the script is the string a part of the handle;
  • “bc1q” this implies your pockets desires the receiving cash to be locked in a Segwit script, and the hash of the script is the string a part of the handle;
  • “bc1p” this implies your pockets desires the receiving cash to be locked in a Taproot script, and the hash of the script is the string a part of the handle.

So, the identical precise non-public key can originate 4 totally different addresses.

Within the 1.txt file, the receiving handle starting with 3 is adopted by 00…… This code shouldn’t be a personal key. What’s it?

It is the P2SH handle for that non-public key.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles