TL/DR
virtual coin has a "hidden" premine of 387420489 coins at block 11
it is hidden by deliberate confusing weird arse use of code, lack of block explorer, silence from Dev, and deletion of posts.temporary blockexplorer with premine adress
http://84.200.210.130:3001/address/VVx2Y6TLchaRAHphTde5ysqv7Y8mLVnuav2014 thread with unanswered questions on pre-mine
https://bitcointalk.org/index.php?topic=516183.msg5714562#msg5714562=====
I initially looked at VC a few weeks ago and noticed that there was an inordinate amount of coins at the time vs what was obvious in the code.
seemingly their idea to hide the pre-mine was to make the code very confusing.
at the time, VC had re-released (v13.0.
, seemingly just starting again from scratch (using old gensis etc) with no mention of the previous coin supply.
just wipe the chain and start again from zero.
this thread was initially my curiousity at understanding the code, the text below and next few entries discuss that initial purpose.
now i'm thinking there is a dedicated effort to make VC an ongoing scam coin so i thought i may as well post in this thread about it.
not that i have any problem with pre-mines when handled correctly, but over 387 million coins, seems a tad excessive, especially coupled with no transparency and deleting of posts.current main official VC threadhttps://bitcointalk.org/index.php?topic=1756007.0and twitter sig campaign thread
https://bitcointalk.org/index.php?topic=1775186.0==== timeline as i've seen it.
. Virtual Coin 9.2.0 was released, a simple reboot of the coin, delete the chain and start from 0 again.
. i built a mac qt and received 500(?) for my efforts
. for some reason the dev sent me 100k and it made me wonder what was going on
i noticed there was something like 137 million coins in existence with zero mention of premine, and a confusing code source (see below for actual code)
. after i pointed all this out in thread, the coin was killed
. re-released again, code was changed making the source even more confusing, the premine was modified, but had problems with connection and killed again
. yet more new threads, re-release and dev deleted my post,
this time there is no source released yet, only a windows qt. assumed so no-one will look at the reward schedule.
below is my original post
=====
can anyone explain how these coins were generated by the source?
seems at least a few of the first hundred blocks were 1.77 million coins.
but i canna see how those coins were generated ?*?*?*?*
here's the src,
https://github.com/vcoin-z/virtualcoin/blob/9.2.0/src/main.cpp#L1324 has been updated a little since then
and here's a fork i made just in case
https://github.com/bumbacoin/virtualcoin/blob/9.2.0/src/main.cpp#L1324 int64 nSubsidy = 50;
if(nHeight >= 100 && nHeight < 3000) {
if((nHeight >= 101 && dDiff > 75) || nHeight >= 1000) {
// 222000/(((x+2600)/9)^2)
nSubsidy = (222000.0 / (pow((dDiff+2600.0)/9.0,2.0)));
if (nSubsidy > 25) nSubsidy = 5;
if (nSubsidy < 5) nSubsidy = 1;
} else {
nSubsidy = (1112.0 / (pow((dDiff+51.0)/6.0,2.0)));
if (nSubsidy > 500) nSubsidy = 5;
if (nSubsidy < 25) nSubsidy = 1;
}
} else {
nSubsidy = (1111.0 / (pow((dDiff+1.0),2.0)));
if (nSubsidy > 500) nSubsidy = 5;
if (nSubsidy < 1) nSubsidy = 1;
nSubsidy = pow (11.0, 6.0);
}
here's the blocks for 99 (reward 1771561.00000000) and 101 (reward 1.00000000).
# vc getblockhash 99
00000ddad8db4b6092456cc37cecae44ecb726172590022b592a680a473302c8
# vc getblock 00000ddad8db4b6092456cc37cecae44ecb726172590022b592a680a473302c8
{
"hash" : "00000ddad8db4b6092456cc37cecae44ecb726172590022b592a680a473302c8",
"confirmations" : 1990,
"size" : 187,
"height" : 99,
"version" : 2,
"merkleroot" : "340d2ced8790b696e53353732f23bd5f255b9802f2d4e276c56a4c08cea78757",
"tx" : [
"340d2ced8790b696e53353732f23bd5f255b9802f2d4e276c56a4c08cea78757"
],
"time" : 1483987796,
"nonce" : 40541,
"bits" : "1e0ffff0",
"difficulty" : 0.00024414,
"previousblockhash" : "00000d341a554a2730dcac08ba58b3794c10202aec1a58f88c5fc233574726e0",
"nextblockhash" : "00000035f3a8e1647c49937f6ad2d61bc0ffa95c894238d808023289d521a48d"
}
# vc getrawtransaction 340d2ced8790b696e53353732f23bd5f255b9802f2d4e276c56a4c08cea78757
01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0b01630102062f503253482fffffffff010009695e1fa10000232102738260e5f73e252efc54 af9688b56660e84834d3b1754d773d9d2196506117acac00000000
# vc decoderawtransaction 01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0b01630102062f503253482fffffffff010009695e1fa10000232102738260e5f73e252efc54 af9688b56660e84834d3b1754d773d9d2196506117acac00000000
{
"txid" : "340d2ced8790b696e53353732f23bd5f255b9802f2d4e276c56a4c08cea78757",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"coinbase" : "01630102062f503253482f",
"sequence" : 4294967295
}
],
"vout" : [
{
"value" : 1771561.00000000,
"n" : 0,
"scriptPubKey" : {
"asm" : "02738260e5f73e252efc54af9688b56660e84834d3b1754d773d9d2196506117ac OP_CHECKSIG",
"hex" : "2102738260e5f73e252efc54af9688b56660e84834d3b1754d773d9d2196506117acac",
"reqSigs" : 1,
"type" : "pubkey",
"addresses" : [
"VUGejSZayTRWLjnEVE5k7rsmtvYEZxq7fs"
]
}
}
]
}
similarly block 100 has a reward of 1771561.00000000 coins. but luckily, the madness stops there and block 101 goes to a 1 coin reward.
# vc getblockhash 101
0000066a8f4c086e7e7f9c50e971629ecdab93612ba2fb1a27dae419ebbd5a3b
# vc getblock 0000066a8f4c086e7e7f9c50e971629ecdab93612ba2fb1a27dae419ebbd5a3b
{
"hash" : "0000066a8f4c086e7e7f9c50e971629ecdab93612ba2fb1a27dae419ebbd5a3b",
"confirmations" : 1989,
"size" : 187,
"height" : 101,
"version" : 2,
"merkleroot" : "c72271ad042f7b89d69cbc44aba3a8bc1dcd9d2c8a410fb4d06a244f5eaa7124",
"tx" : [
"c72271ad042f7b89d69cbc44aba3a8bc1dcd9d2c8a410fb4d06a244f5eaa7124"
],
"time" : 1483987960,
"nonce" : 131745,
"bits" : "1e0685ec",
"difficulty" : 0.00059882,
"previousblockhash" : "00000035f3a8e1647c49937f6ad2d61bc0ffa95c894238d808023289d521a48d",
"nextblockhash" : "0000008d17d6a4d2f3305f435130d1c3b8e92273a7638d00ea93bd5c52c50e76"
}
# vc getrawtransaction c72271ad042f7b89d69cbc44aba3a8bc1dcd9d2c8a410fb4d06a244f5eaa7124
01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0b01650102062f503253482fffffffff0100e1f5050000000023210318a65ca888eacfa2ab76 fad7e0509ebac6adb085f2ecc2dfb41c31cd108e8607ac00000000
root@eight:~/.virtualcoin# vc decoderawtransaction 01000000010000000000000000000000000000000000000000000000000000000000000000fffff fff0b01650102062f503253482fffffffff0100e1f5050000000023210318a65ca888eacfa2ab76 fad7e0509ebac6adb085f2ecc2dfb41c31cd108e8607ac00000000
{
"txid" : "c72271ad042f7b89d69cbc44aba3a8bc1dcd9d2c8a410fb4d06a244f5eaa7124",
"version" : 1,
"locktime" : 0,
"vin" : [
{
"coinbase" : "01650102062f503253482f",
"sequence" : 4294967295
}
],
"vout" : [
{
"value" : 1.00000000,
"n" : 0,
"scriptPubKey" : {
"asm" : "0318a65ca888eacfa2ab76fad7e0509ebac6adb085f2ecc2dfb41c31cd108e8607 OP_CHECKSIG",
"hex" : "210318a65ca888eacfa2ab76fad7e0509ebac6adb085f2ecc2dfb41c31cd108e8607ac",
"reqSigs" : 1,
"type" : "pubkey",
"addresses" : [
"VHvuUh2kHmZyLqas1rpjchtXt6p2DcKqSP"
]
}
}
]
}
.
here's my post on the Virtual Coin thread.
https://bitcointalk.org/index.php?topic=557946.msg17500615#msg17500615