BTW @just2laff, rhinomonkey, pokeytex and sugarfly
Please tell me your favorite altcoins (next to SPR and BTC ofcourse) that you want to see listed in the spreadwallet rightaway.
Dissecting an altcoin (it's specifics, network messages, behaviour etc) as part of "altcoin taxonomy" takes up some time, and is an ongoing process, and I don't want to waste it on altcoins that none of my patrons find useful right now!
Currently I am hard-coding "altcoin-genetics" like this:
QMap COIN::initMap(){
QMap map;
map.insert("SPR", {"Spreadcoin",1,"SpreadX11",41678,"4F3C5CBB",70019,3,
"010000000000000000000000000000000000000000000000000000000000000000000000534CBD8798052A39AD944834D3EBE62EDCADDB7E30F76DFC0EC50E77490C9D126051D75300000000FFFF0F1E0000000000000000",
{{0,"VERSION-PREVIOUS-MERKLE-TIME64-TARGET-HEIGHT-NONCE"},
{43001,"VERSION-PREVIOUS-MERKLE-TIME64-TARGET-HEIGHT-NONCE-HASHWHOLE-MINERSIG"}},
"00000000000000000000000000000000"});
map.insert("BTC", {"Bitcoin",10,"SHA-256",8333,"F9BEB4D9",70012,1,
"0100000000000000000000000000000000000000000000000000000000000000000000003BA3EDFD7A7B12B27AC72C3E67768F617FC81BC3888A51323A9FB8AA4B1E5E4A29AB5F49FFFF001D1DAC2B7C",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE"}},
"00000000000000000000000000000000"});
map.insert("LTC", {"Litecoin",2.5,"Scrypt",9333,"FBC0B6DB",70003,1,
"010000000000000000000000000000000000000000000000000000000000000000000000D9CED4ED1130F7B7FAAD9BE25323FFAFA33232A17C3EDF6CFD97BEE6BAFBDD97B9AA8E4EF0FF0F1ECD513F7C",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE"}},
"00000000000000000000000000000000"});
map.insert("NMC", {"Namecoin",10,"SHA-256",8334,"F9BEB4FE",70012,1,
"0100000000000000000000000000000000000000000000000000000000000000000000000DCBD3E6F061215BF3B3383C8CE2EC201BC65ACDE32595449AC86890BD2DC641C133AA4DFF7F001C92A11EA2",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE"},
{19200,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE-AUXPOW"}},
"00000000000000000000000000000000"});
map.insert("DOGE", {"Dogecoin",1,"Scrypt",22556,"C0C0C0C0",70004,1,
"010000000000000000000000000000000000000000000000000000000000000000000000696AD20E2DD4365C7459B4A4A5AF743D5E92C6DA3229E6532CD605F6533F2A5B24A6A152F0FF0F1E67860100",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE"},
{371337,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE-AUXPOW"}},
"00000000000000000000000000000000"});
map.insert("PPC", {"Peercoin",10,"SHA-256",9901,"E6E8E9E5",60006,1,
"010000000000000000000000000000000000000000000000000000000000000000000000C293592C05905698290C89EB6DDEF0CF8AA5A148C68C55AC7AD1B4FA858F2D3C7F5B2C50FFFF001DAB82E581",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE-UNKNOWN1"}},
"10000000000000000000000000000000"});
map.insert("XPM", {"Primecoin",1,"PrimeNumbers",9911,"E4E7E5E7",70001,1, "020000000000000000000000000000000000000000000000000000000000000000000000FFC9050E834E51D2EB40ECDA5308714F55743D3C74AED01294BBFF1DB60EA3ACED4CD751000000067F01000006EE7F64B30D6C",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE-UNKNOWN1"}},
"00000000000000000000000000000000"});
map.insert("EMC", {"Emercoin",10,"SHA-256",6661,"E6E8E9E5",60005,1,
"010000000000000000000000000000000000000000000000000000000000000000000000E02E2649E8889A4C34759E347E82BF6BB938A2C71D2314CFD01657F932E0EED8C143A652FFFF001D326A5708",
{{0,"VERSION-PREVIOUS-MERKLE-TIME32-TARGET-NONCE-UNKNOWN1"}},
"10000000000000000000000000000000"});
return map;
}
This data structure will get way more detailled and extensive in the future. Many parameters are still missing.
At some point this data will be placed outside the program as a configuration file (XML).
People will then have the possibility to add their own coins if they have specific ("complete") knowledge about its "internals".
But right now I need to give any altcoin the proper screening/dissection to be able to make it run within the spreadwallet.
It's literally like biological taxonomy.
Some coins are so related with each other that they only differ in one byte.
Others deviate quite a bit from each other...