LogoLogo
LeaderboardToolsGithubCommunity
  • XenBlocks PoW
  • Usecases
    • X1 Fiat on-ramp
  • Mining
    • Mining XNM with XenBlocks
    • How to mine XenBlocks
    • XNM
    • Add network
      • Address migration
    • Mining statistics
  • TECHNICALS
    • Hashing
      • Merged mining
      • Self-custodial hashing
    • Fixed total hashrate
    • Argon2
      • Argon2 relating to memory and difficulty
      • Why not ASIC mining?
      • Argon2 and energy consumption
    • Difficulty
      • Difficulty adjustment mechanism
      • Difficulty consensus
      • XenBlocks/Bitcoin difficulty comparison
    • Mined hash X1 injection
    • Decentralised hash verification
Powered by GitBook
On this page
  1. TECHNICALS
  2. Hashing

Self-custodial hashing

Own your hash.

PreviousMerged miningNextFixed total hashrate

Last updated 8 months ago

In most Proof of Work (PoW) systems, there are primarily two critical elements: the key and the hash. A vulnerability in such systems is the potential for someone to intercept mined blocks before they are verified and accepted by the blockchain. This interception could allow an attacker to reroute blocks without the ability to change the owner's address, simplifying the process of executing attacks on the chain by reordering blocks and claiming ownership.

However, such a scenario is not feasible with XenBlocks. In XenBlocks, all mined blocks are cryptographically signed with the miner's Ethereum address, ensuring that block theft is impossible. The only way for someone to take ownership of a block is if the original owner divulges their private key, providing a significant layer of security against block interception and unauthorized ownership changes.

The Ethereum address is efficiently compacted into 27 bytes, which is quite minimal. Subsequently, the discovery of a hashed block is attributed to the address, signified by the Salt. Thus, when mining, your Ethereum address is utilized as the Salt. Unlike Bitcoin, which does not incorporate Salt in its SHA-256 algorithm, Argon2 does implement this feature, allowing for this added layer of association between mined blocks and the miner's address.

Miner ETH address is used as SALT input when mining