Post
Topic
Board Announcements (Altcoins)
Re: [ANN]LGD Legendary Coin - Cryptsy,Bittrex,NEW Merchants, Many Games, Scrypt!
by
legendarycoin
on 06/06/2015, 04:39:45 UTC
Can you explain where all the coins came from?

The genesis block.

Im having some troubles setting up abe for this coin.

Use an older abe

But using raw transactions I was able to trace down a few transactions such as this

Code:
legendarycoind getblock 00000f4cec95a0c855af867017436d6dfdc90c6b79b8d7768b1147fd1297d88c
{
    "hash" : "00000f4cec95a0c855af867017436d6dfdc90c6b79b8d7768b1147fd1297d88c",
    "confirmations" : 201247,
    "size" : 361,
    "height" : 0,
    "version" : 1,
    "merkleroot" : "ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8",
    "mint" : 0.00000000,
    "time" : 1396221774,
    "nonce" : 237454,
    "bits" : "1e0fffff",
    "difficulty" : 0.00024414,
    "blocktrust" : "1",
    "nextblockhash" : "000007dbdb817c4cc39cac47f53319b158893fdc7f07f36bc644569b9f2813c6",
    "flags" : "proof-of-work stake-modifier",
    "proofhash" : "00000f4cec95a0c855af867017436d6dfdc90c6b79b8d7768b1147fd1297d88c",
    "entropybit" : 0,
    "modifier" : "0000000000000000",
    "modifierchecksum" : "fd11f4e7",
    "tx" : [
        "[b]ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8[/b]"
    ],
    "signature" : ""
}

Code:
legendarycoind decoderawtransaction 020000004ea73853010000000000000000000000000000000000000000000000000000000000000000ffffffff7304ffff001d020f274c6953696c6b20526f616420636c6f73757265206661696c7320746f2064616d70656e20696c6c6567616c20647275672073616c6573206f6e6c696e652c2065787065727473207361792055706461746564203331204d6172636820323031342c20383a32342041455354ffffffff0100b864d945000000434104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1ac0000000020746578743a4c6567656e64617279436f696e2067656e6573697320626c6f636b
{
    "txid" : "[b]ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8[/b]",
    "version" : 2,
    "time" : 1396221774,
    "locktime" : 0,
    "vin" : [
        {
            "coinbase" : "04ffff001d020f274c6953696c6b20526f616420636c6f73757265206661696c7320746f2064616d70656e20696c6c6567616c20647275672073616c6573206f6e6c696e652c2065787065727473207361792055706461746564203331204d6172636820323031342c20383a32342041455354",
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            [b]"value" : 300000.00000000,[/b]
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "04e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1 OP_CHECKSIG",
                "hex" : "4104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1ac",
                "reqSigs" : 1,
                "type" : "pubkey",
                "addresses" : [
                    "LMTivrg3HcJ8sRUK1F3dC2drAoexcryuCm"
                ]
            }
        }
    ]
}

Yet this block breaks the block reward code specified here

https://github.com/legendarycoin/legendarycoin/blob/master/src/main.cpp#L944

Code:
int64 GetProofOfWorkReward(int nHeight, int64 nFees, uint256 prevHash)
{
int64 nSubsidy = 7 * COIN;

std::string cseed_str = prevHash.ToString().substr(7,7);
const char* cseed = cseed_str.c_str();
long seed = hex2long(cseed);
int rand = generateMTRandom(seed, 7200);

// printf(">>> nHeight = %d, Rand = %d\n", nHeight, rand);

if(rand > 5000 && rand < 5011)
{
nSubsidy = 56 * COIN;
}
else if(rand > 2000 && rand < 2241)
{
nSubsidy = 14 * COIN;
}

if(nHeight < 3600) // 1st 5 days double payout
{
nSubsidy *= 2;
}

// Subsidy is cut in half every 64,800 blocks, which will occur approximately every 3 months
nSubsidy >>= (nHeight / 64800);

    return nSubsidy + nFees;
}

Nowhere does this allow for a 300k coinbase output

Your right


Even if every block were 56 coins which it doesnt allow for. There would only be 11.7 million coins in existence. And thats if every block was proof of work and the reward never halved. POS rewards would only result in fractions of coins being created

With a relaitvely low max stake weight and a average POS reward there should be nowhere near the 533,065,060.51582003 coins there are now

Then you see something like this. And the one below. Which show the Genesis block transaction being spent twice.

Code:
legendarycoind decoderawtransaction 02000000d302575503a8448c892ed73c1076a403e203f48487afa61e42490b9842d0a6c7aad88e15ce0000000049483045022100fc3b5db8b522babaae3fb5e43e3b6b9811f8502a1007a9e0e4909fcaa5111ac60220150ed31574191361301567006a32158cafe1a8ce4a7a0d6e65bae028d1dd6b6c01fffffffffb2c2c0c67f1d891a6417eff956e2394057a9e41943e826893c1af499a4d3bb9010000008a47304402203037c5407b7792579e1e3b332a42d69cd6325974ce7bb57e046045a02e2142260220091cb94c51a5d811be036217f1121040a780eb22c60c2e39bd0a42805e06cab8014104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1ffffffff3c05ec100990981f55110105a37f85e1723c980eadcce9ef1ad03e7fb8b757c1000000006c4930460221009f0e32e6aed06502f002e0fb2db05f5333c2bd4fd3531a77f32d9a439d07a759022100fce8af376e6e4a1defda7d749222eb1aedbe6dedb5506a7298e76559f496ba9d012102ea5422d311626bae76443dfc710398afe6c783fde61726f141e95cd61fef3ef6ffffffff010070c9b28b0000001976a91475c74fd53cc86483437a2fd80e91fcd1527e4b2888ac0000000000
{
    "txid" : "a7d453554931a9de8750d30dcc741c02f2c184496bf619f67f998d504f6413e2",
    "version" : 2,
    "time" : 1431765715,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "[b]ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8[/b]",
            [b]"vout" : 0,[/b]
            "scriptSig" : {
                "asm" : "3045022100fc3b5db8b522babaae3fb5e43e3b6b9811f8502a1007a9e0e4909fcaa5111ac60220150ed31574191361301567006a32158cafe1a8ce4a7a0d6e65bae028d1dd6b6c01",
                "hex" : "483045022100fc3b5db8b522babaae3fb5e43e3b6b9811f8502a1007a9e0e4909fcaa5111ac60220150ed31574191361301567006a32158cafe1a8ce4a7a0d6e65bae028d1dd6b6c01"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "[b]b93b4d9a49afc19368823e94419e7a0594236e95ff7e41a691d8f1670c2c2cfb[/b]",
            "vout" : 1,
            "scriptSig" : {
                "asm" : "304402203037c5407b7792579e1e3b332a42d69cd6325974ce7bb57e046045a02e2142260220091cb94c51a5d811be036217f1121040a780eb22c60c2e39bd0a42805e06cab801 04e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1",
                "hex" : "47304402203037c5407b7792579e1e3b332a42d69cd6325974ce7bb57e046045a02e2142260220091cb94c51a5d811be036217f1121040a780eb22c60c2e39bd0a42805e06cab8014104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "[b]c157b7b87f3ed01aefe9ccad0e983c72e1857fa3050111551f98900910ec053c[/b]",
            "vout" : 0,
            "scriptSig" : {
                "asm" : "30460221009f0e32e6aed06502f002e0fb2db05f5333c2bd4fd3531a77f32d9a439d07a759022100fce8af376e6e4a1defda7d749222eb1aedbe6dedb5506a7298e76559f496ba9d01 02ea5422d311626bae76443dfc710398afe6c783fde61726f141e95cd61fef3ef6",
                "hex" : "4930460221009f0e32e6aed06502f002e0fb2db05f5333c2bd4fd3531a77f32d9a439d07a759022100fce8af376e6e4a1defda7d749222eb1aedbe6dedb5506a7298e76559f496ba9d012102ea5422d311626bae76443dfc710398afe6c783fde61726f141e95cd61fef3ef6"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "[b]value" : 600000.00000000,[/b]
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 75c74fd53cc86483437a2fd80e91fcd1527e4b28 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91475c74fd53cc86483437a2fd80e91fcd1527e4b2888ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "LVxi661JwFEzBsHvRYMGNpw7eH8rj2EBc9"
                ]
            }
        }
    ]
}

So this transaction has an output of 600k coins. And one comes from the genesis txid. So we know it gets 300k from ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8 as that transaction can only be sent once. Having only one output. Vout : 0

So lets make sure the second or 3rd vin contains the other 300k coins

Code:
legendarycoind decoderawtransaction 020000002e5e5e530140a073c4364f6bea5a63add019a2cba66a437a920b3dfb1fce98727d7ea63485010000006b48304502206c575a15849e3ea7d7b87ab5be4726d2abf16b2d473a9c5d6a835df5b9981319022100c11fbb23165ee11151e4245caa6e544e6128197a4936cfa4138a855e2b07602a01210303ca835e747c81248ac22b3768d91ed0e3e122ed746035ea465cf2c733acc560ffffffff02a49ffa02000000001976a914d656b121e8e5b27974dcafd33a5e34bbf5615ac888accc290000000000001976a914188af1d18af00327289fcab0857024e84120cc5488ac0000000000
{
    "txid" : "[b]b93b4d9a49afc19368823e94419e7a0594236e95ff7e41a691d8f1670c2c2cfb[/b]",
    "version" : 2,
    "time" : 1398693422,
    "locktime" : 0,
    "vin" : [
        {
            "txid" : "8534a67e7d7298ce1ffb3d0b927a436aa6cba219d0ad635aea6b4f36c473a040",
            "vout" : 1,
            "scriptSig" : {
                "asm" : "304502206c575a15849e3ea7d7b87ab5be4726d2abf16b2d473a9c5d6a835df5b9981319022100c11fbb23165ee11151e4245caa6e544e6128197a4936cfa4138a855e2b07602a01 0303ca835e747c81248ac22b3768d91ed0e3e122ed746035ea465cf2c733acc560",
                "hex" : "48304502206c575a15849e3ea7d7b87ab5be4726d2abf16b2d473a9c5d6a835df5b9981319022100c11fbb23165ee11151e4245caa6e544e6128197a4936cfa4138a855e2b07602a01210303ca835e747c81248ac22b3768d91ed0e3e122ed746035ea465cf2c733acc560"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            "value" : 49.97930000,
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 d656b121e8e5b27974dcafd33a5e34bbf5615ac8 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a914d656b121e8e5b27974dcafd33a5e34bbf5615ac888ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "LemGij1kbQTDjm9TeCJP3EqGqdMdqGz22U"
                ]
            }
        },
        {
            [b]"value" : 0.01070000,
            "n" : 1,[/b]
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 188af1d18af00327289fcab0857024e84120cc54 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a914188af1d18af00327289fcab0857024e84120cc5488ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "LMTivrg3HcJ8sRUK1F3dC2drAoexcryuCm"
                ]
            }
        }
    ]
}

Hmmm only 0.01070000 Lets try the 3rd vin

Code:
legendarycoind decoderawtransaction 0200000026f6565502a8448c892ed73c1076a403e203f48487afa61e42490b9842d0a6c7aad88e15ce00000000494830450221008818e444c0cdc2fce8a63b9e10f473dfba625172aff367a498105b2b85b7693d0220656ac9769852dd1da4ab5b1ceea804aaade4248079351755263c3a05027f714f01fffffffffb2c2c0c67f1d891a6417eff956e2394057a9e41943e826893c1af499a4d3bb9010000008b4830450221009f1a23bfab5c516bda1aa1947b564d1cc84ae06083be2ae3f416e67bee613dd60220327fd6cb22702435c5d56dc1078c67fca3e5d583bfaaa624b0acd40f466a2379014104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1ffffffff0100b864d9450000001976a91453264c3a889eb10208601d4ef23dc16d5f8429e788ac0000000000
{
    "txid" : "[b]c157b7b87f3ed01aefe9ccad0e983c72e1857fa3050111551f98900910ec053c[/b]",
    "version" : 2,
    "time" : 1431762470,
    "locktime" : 0,
    "vin" : [
        {
            [b]"txid" : "ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8[/b]",
            [b]"vout" : 0,[/b]
            "scriptSig" : {
                "asm" : "30450221008818e444c0cdc2fce8a63b9e10f473dfba625172aff367a498105b2b85b7693d0220656ac9769852dd1da4ab5b1ceea804aaade4248079351755263c3a05027f714f01",
                "hex" : "4830450221008818e444c0cdc2fce8a63b9e10f473dfba625172aff367a498105b2b85b7693d0220656ac9769852dd1da4ab5b1ceea804aaade4248079351755263c3a05027f714f01"
            },
            "sequence" : 4294967295
        },
        {
            "txid" : "b93b4d9a49afc19368823e94419e7a0594236e95ff7e41a691d8f1670c2c2cfb",
            "vout" : 1,
            "scriptSig" : {
                "asm" : "30450221009f1a23bfab5c516bda1aa1947b564d1cc84ae06083be2ae3f416e67bee613dd60220327fd6cb22702435c5d56dc1078c67fca3e5d583bfaaa624b0acd40f466a237901 04e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1",
                "hex" : "4830450221009f1a23bfab5c516bda1aa1947b564d1cc84ae06083be2ae3f416e67bee613dd60220327fd6cb22702435c5d56dc1078c67fca3e5d583bfaaa624b0acd40f466a2379014104e63785e00477069341c06ba40d2fc30ed286c4f82f3a1d3a2d54046b166ad8bf01b5fdba1e81b89ac8cf7e65a2782428f5a91ce5bd75dd4bef895f8dea14ccc1"
            },
            "sequence" : 4294967295
        }
    ],
    "vout" : [
        {
            [b]"value" : 300000.00000000,[/b]
            "n" : 0,
            "scriptPubKey" : {
                "asm" : "OP_DUP OP_HASH160 53264c3a889eb10208601d4ef23dc16d5f8429e7 OP_EQUALVERIFY OP_CHECKSIG",
                "hex" : "76a91453264c3a889eb10208601d4ef23dc16d5f8429e788ac",
                "reqSigs" : 1,
                "type" : "pubkeyhash",
                "addresses" : [
                    "LSocE7N3JDKRQJd97tbKVoVNNxKV4BNrmM"
                ]
            }
        }
    ]
}

So it seems the genblock was spent once. Then combined with itself again to create a 600k output  Huh

TL;DR

Transaction c157b7b87f3ed01aefe9ccad0e983c72e1857fa3050111551f98900910ec053c Spent

ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8 Vout : 0

But yet

Transaction a7d453554931a9de8750d30dcc741c02f2c184496bf619f67f998d504f6413e2 also spent

ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8 Vout : 0

ce158ed8aac7a6d042980b49421ea6af8784f403e203a476103cd72e898c44a8 Vout : 0 is the premine output of 300,000 coins which was 3% of the 10,000,000 coin total supply

That is until the developers changed the total max coins a few days ago to - 750000000 Max Coins  Roll Eyes

The change to total max coins was to reflect the changes and transactions made on the chain.
In the case of the premine, the original developers did fudge that up and we were unable to even access the pre-mine Tongue this was in full public posts at the time and the code was fixed to enable the release of the pre-mine.
At that time the 300k was split 100k for rewards and bounties and 100k each to the lead members. (of which we both have access to this account.) We didnt recieve the keys to the block and now after requesting them from the other devs we can do some more tests.

ps. surely you have access to deposits going into cryptsy and you can find much better blocks than the 600k ones considering the volume i doubt that ppl were sending in 300k at a time.

I find it laughable that its taken someone who knows crypto coins this long to draw the conclusions you have here and this is the actions you are taking.