Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: LightningFury on December 26, 2013, 10:36:23 PM



Title: how i find the magic_id of a altcoin
Post by: LightningFury on December 26, 2013, 10:36:23 PM
i need the magic of doge i think 0xc0c0c0c0 is wrong ::)


Title: Re: how i find the magic_id of a altcoin
Post by: The Goat Master on December 26, 2013, 10:39:12 PM
i need the magic of doge i think 0xc0c0c0c0 is wrong ::)

Do you mean the hex values in chainparams?


Title: Re: how i find the magic_id of a altcoin
Post by: LightningFury on December 26, 2013, 10:45:46 PM
Field Size    Description    Data type    Comments
4    magic    uint32_t    Magic value indicating message origin network, and used to seek to next message when stream state is unknown

Network    Magic value
main           0xD9B4BEF9 <- this from doge


Title: Re: how i find the magic_id of a altcoin
Post by: BoostNZ on December 26, 2013, 10:47:43 PM
Its  xc0\xc0\xc0\xc0


Title: Re: how i find the magic_id of a altcoin
Post by: LightningFury on December 26, 2013, 11:34:21 PM
oh then i need to debug again >:(