Skip to content

Hashing Conventions

AtomMiner edited this page Aug 9, 2018 · 13 revisions

This page describes the various hashing conventions within MaxCoin. It is written for a technical audience and is designed to be of use for advanced users and developers.

Message Format

The checksum used within the message format uses the Keccak algorithm. More detail about the message format can be found on the [MaxCoin Protocol Differences](MaxCoin Protocol Differences) page.

MaxCoin Addresses

The address format within MaxCoin uses the Keccak algorithm in place of a double SHA-256 hash. More detail about MaxCoin addresses can be found on the [MaxCoin Addresses](MaxCoin Addresses) page.

Transactions

The transaction hash (txid) uses a single SHA-256 hash of the transaction payload.

Merkle Tree

It uses a single SHA-256 hash.

Diff multiplier

Difficulty multiplier is set to 128 for MaxCoin.

Peers Database

The checksums within the CAddrDB class, responsible for reading the peers database, peers.dat, use the Keccak algorithm.