Skip to content

MaxCoin Protocol Differences

Luke edited this page Dec 20, 2017 · 8 revisions

This page intends to highlight the main differences between the MaxCoin protocol and those of other cryptocurrencies.

Message Format

Messages in the MaxCoin protocol begin with the bytes {0xf9, 0xbe, 0xbb, 0xd2}. Messages also use the Keccak hashing function for computation of the checksum (see [here](Hashing Conventions)).

The complete message format can be seen below:

 4 byte message start (0xf9, 0xbe, 0xbb, 0xd2)
 12 byte command (ASCII string determining contents)
 4 byte size (number of bytes in payload)
 4 byte checksum (Keccak hash of the message payload)
 ? message payload

Proof of Work

The target blockrate for MaxCoin is 30s. The difficulty retargeting timespan is 3 minutes. The maximum difficulty target is 0x1e00ffff (~uint256(0) >> 24).

MaxCoin Addresses

MaxCoin addresses always begin with an m character (byte 110). The script addresses always begin with an n character (byte 112). Testnet addresses always begin with t (byte 127) and u (byte 130) respectively.

The addresses are also computed differently to Bitcoin et al in that they use the Keccak algorithm internally. More detail can be found in the MaxCoin Addresses Wiki article.

An example MaxCoin address is mQ1MSBXTRvV4ArwDksPiUBLWCmt7t9AkDi.

Ports

The network ports used by MaxCoin are as follows:

  • 8668 for P2P
  • 8669 for RPC
  • 18668 for Testnet P2P
  • 18669 for Testnet RPC

Clone this wiki locally