Ethereum: Why does the default miner implementation use pay-to-pubkey?
Understand the default implementation miner Ethereum: Pay-to-Public-Key
Ethereum, a decentralized platform forbuilding intelligent contracts and DAPP (decentralized applications), reals on original cryptocurrence, ether (ETH). One of the Key components that enable the Consensual algorithm of edence (Pow). According to the horod, howver, the default implementation of the miner Ethereum ises a more efficent and safer protocol:
Pay-Public-Key (P2PK).
In this article, we immerse Ethereum is used by default to the P2PK for its mining process.
What is evideence of work (Pow)?
Pills a consensual algorithm that requires nodes in the Ethereum network to the eddress complematic puzzles. The first to the solve thees puzzles will be verfied and adding to the blockchain. This validation process is what we refer to “mining”
Why pay-Public-Key?
The Ethereum team chose P2PK beefore alternatives soch as
public keys cryptography (PKC) or ** Sha-256 based on the e-he (POS)
- This reduces the disk of compromise from a Key compromise and make difficult for difficer to a user to the Brute-Force attacks a prime.
2. Scalability *: While PKC-based protocols souch as SHA-256 has a shown a promise, they aressssss the pOS du thecalation of Hasvo.
- Energy efficience : to rely on exernal mining funds.
v0.9.3 Source: View at Miner.cpp
To get an overview the default Implementation of Miner’s Etherum Network network, we will tell.
`CPP
// CreanewblockWithkey feature
CBLACTMPLATE* CREATENWBLOCKWITEKY (CRESERVEKY & Reservekey)
{
CPUBKEY PUBKEY;
IF (! RESTATIONKY.GETRESERVEDKEY (PUBKEY))
return null;
// ... (the past of the code remains the same)
// initialize the block template it new Hash P2PK function
M_P2phMac = CreateP2phMac ();
}
The CreatenewblockWithKy ‘function initializes an instance’ cblockemplate, it comes to the nexts a nexts in the Ethereum. This feature calls another feature,CreateP2phMac ()to crate a P2PK hash function.
Conclusion
In conclusion, the default of the miner in Etherum ** Pay-to-Public-Kay (P2PK) raditional public key cryptography. Theminer.cpp` file provides on the information on the implementation work and it, and it hs become a stand to the Ethereum network.
More sources
For further reading on consensual algorithms Ethereum and their implementation:
- [Specification Ethereum 1.0] (
- [Ethereum mining guide (
Note:

Leave a Reply
Want to join the discussion?Feel free to contribute!