smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:12:59 PM |
|
// Update nTime if ((pindexPrev->nHeight+2) % 16 == 0) pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime() + 1800); else if ((pindexPrev->nHeight+1) % 16 == 0) pblock->nTime = pindexPrev->GetMedianTimePast()+1; else pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime());
*walks away whistling* LOL did you drop your 50GH on this?
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
server
Legendary
Offline
Activity: 892
Merit: 1002
1 BTC =1 BTC
|
|
September 09, 2011, 03:13:15 PM |
|
// Update nTime if ((pindexPrev->nHeight+2) % 16 == 0) pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime() + 1800); else if ((pindexPrev->nHeight+1) % 16 == 0) pblock->nTime = pindexPrev->GetMedianTimePast()+1; else pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime());
*walks away whistling* You again...
|
|
|
|
ArtForz
|
|
September 09, 2011, 03:14:02 PM |
|
3Gh, and I'm not orphaning other miners blocks on purpose.
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
CosicMiner
|
|
September 09, 2011, 03:14:54 PM |
|
// Update nTime if ((pindexPrev->nHeight+2) % 16 == 0) pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime() + 1800); else if ((pindexPrev->nHeight+1) % 16 == 0) pblock->nTime = pindexPrev->GetMedianTimePast()+1; else pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime());
*walks away whistling* What does this mean?
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:15:09 PM |
|
3Gh, and I'm not orphaning other miners blocks on purpose.
Did you alter the code or something?
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
ArtForz
|
|
September 09, 2011, 03:16:11 PM |
|
Yes, my miners are producing blocks with "creatively adjusted" timestamps. Using the rules I posted.
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
Lolcust (OP)
Member
Offline
Activity: 112
Merit: 11
Hillariously voracious
|
|
September 09, 2011, 03:17:35 PM |
|
Um... I'll see what I can do....
|
Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Feed the Lolcust! NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67 BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
|
|
|
ArtForz
|
|
September 09, 2011, 03:19:00 PM |
|
Yes, it's supposed to. But by adjusting the timstamp of the first and last block in each diff period you can make it retarget /4 *every single time*
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:21:22 PM |
|
Yes, it's supposed to. But by adjusting the timstamp of the first and last block in each diff period you can make it retarget /4 *every single time* lol
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
CosicMiner
|
|
September 09, 2011, 03:30:15 PM |
|
ddoscoin
|
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:30:39 PM |
|
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
ArtForz
|
|
September 09, 2011, 03:37:00 PM |
|
Wow, I stop it for a bit and diff shoots back up to > 120 like instantly...
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:49:23 PM |
|
Wow, I stop it for a bit and diff shoots back up to > 120 like instantly...
Probably the stupidest diff alg ever. The longer you don't generate a block the harder it gets?lol EDIT: No offense to the OP.
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
Lolcust (OP)
Member
Offline
Activity: 112
Merit: 11
Hillariously voracious
|
|
September 09, 2011, 03:49:46 PM |
|
Yes, it's supposed to. But by adjusting the timstamp of the first and last block in each diff period you can make it retarget /4 *every single time* Ah, now I understand, thank you. Verily illustrative and creative, as usual. ArtForz, first and foremost, I would like to officially invite you to offer your guidance and advice - I am merely a curious n00b, sacarlson is pretty busy, and this experiment could use input from someone like you (other input than cleverly crafted blocks, that is ) Now, as for this particular case, would you kindly answer the following questions: 1) Does this method affect only forks with time-based diff ? 2) Could you please suggest any fixes other than abandoning time-based diff retarget? 3) Would abandoning time-based retarget "fix" it ? Wow, I stop it for a bit and diff shoots back up to > 120 like instantly...
Probably the stupidest diff alg ever. The longer you don't generate a block the harder it gets?lol EDIT: No offense to the OP. Actually, the opposite should be true, LOL
|
Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Feed the Lolcust! NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67 BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:50:30 PM |
|
Yes, it's supposed to. But by adjusting the timstamp of the first and last block in each diff period you can make it retarget /4 *every single time* Ah, now I understand, thank you. Verily illustrative and creative, as usual. ArtForz, first and foremost, I would like to officially invite you to offer your guidance and advice - I am merely a curious n00b, sacarlson is pretty busy, and this experiment could use input from someone like you (other input than cleverly crafted blocks, that is ) Now, as for this particular case, would you kindly answer the following questions: 1) Does this method affect only forks with time-based diff ? 2) Could you please suggest any fixes other than abandoning time-based diff retarget? 3) Would abandoning time-based retarget "fix" it ? +1000 Good attitude!
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
smoothie
Legendary
Offline
Activity: 2492
Merit: 1491
LEALANA Bitcoin Grim Reaper
|
|
September 09, 2011, 03:52:56 PM |
|
Yes, it's supposed to. But by adjusting the timstamp of the first and last block in each diff period you can make it retarget /4 *every single time* Ah, now I understand, thank you. Verily illustrative and creative, as usual. ArtForz, first and foremost, I would like to officially invite you to offer your guidance and advice - I am merely a curious n00b, sacarlson is pretty busy, and this experiment could use input from someone like you (other input than cleverly crafted blocks, that is ) Now, as for this particular case, would you kindly answer the following questions: 1) Does this method affect only forks with time-based diff ? 2) Could you please suggest any fixes other than abandoning time-based diff retarget? 3) Would abandoning time-based retarget "fix" it ? Wow, I stop it for a bit and diff shoots back up to > 120 like instantly...
Probably the stupidest diff alg ever. The longer you don't generate a block the harder it gets?lol EDIT: No offense to the OP. Actually, the opposite should be true, LOL LOL sure seems that way though. I commend you on your good attitude despite the oversight and artforz exploiting it. Good learning experience I'd say for all.
|
███████████████████████████████████████
,╓p@@███████@╗╖, ,p████████████████████N, d█████████████████████████b d██████████████████████████████æ ,████²█████████████████████████████, ,█████ ╙████████████████████╨ █████y ██████ `████████████████` ██████ ║██████ Ñ███████████` ███████ ███████ ╩██████Ñ ███████ ███████ ▐▄ ²██╩ a▌ ███████ ╢██████ ▐▓█▄ ▄█▓▌ ███████ ██████ ▐▓▓▓▓▌, ▄█▓▓▓▌ ██████─ ▐▓▓▓▓▓▓█,,▄▓▓▓▓▓▓▌ ▐▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓─ ²▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╩ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀ ²▀▀▓▓▓▓▓▓▓▓▓▓▓▓▀▀` ²²² ███████████████████████████████████████
| . ★☆ WWW.LEALANA.COM My PGP fingerprint is A764D833. History of Monero development Visualization ★☆ . LEALANA BITCOIN GRIM REAPER SILVER COINS. |
|
|
|
Lolcust (OP)
Member
Offline
Activity: 112
Merit: 11
Hillariously voracious
|
|
September 09, 2011, 04:02:15 PM |
|
Well, I am currently discussing best way to go about it with sacarlson, and hope ArtForz will suggest something as well.
|
Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Feed the Lolcust! NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67 BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
|
|
|
ArtForz
|
|
September 09, 2011, 04:04:20 PM |
|
should be possible to make bitcoins algo work for such short intervals. Main thing, don't accept blocks that far into the future, current clients are accepting blocks up to 2h in the future. *bad* idea if your retarget interval is 4 minutes.
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
Lolcust (OP)
Member
Offline
Activity: 112
Merit: 11
Hillariously voracious
|
|
September 09, 2011, 04:11:01 PM |
|
should be possible to make bitcoins algo work for such short intervals. Main thing, don't accept blocks that far into the future, current clients are accepting blocks up to 2h in the future. *bad* idea if your retarget interval is 4 minutes.
Indeed. Thanks for input. P.S.: Sweet mighty Cthulhu, I need to get a programmer to look after GeistGeld... Any takers ? Pretty please
|
Geist Geld, the experimental cryptocurrency, is ready for yet another SolidCoin collapse Feed the Lolcust! NMC: N6YQFkH9Gn9CTm4mpGwuLB5zLzqWTWFw67 BTC: 15F8xbgRBA1XZ4hmtdFDUasroa2A5rYg8M GEG: gK5Lx6ypWgr69Gw9yGzE6dsA7kcuCRZRK
|
|
|
JohnDoe
|
|
September 09, 2011, 04:17:00 PM |
|
Could you explain to us non-programmers what this is supposed to be doing? int64 nSubsidy = (GetArgIntxx(50,"-Subsidy") * COIN); nSubsidy = nSubsidy + (GetArgIntxx(0,"-Subsidy_small")); if (mapArgs.count("-custom_inflation")) { printf("custom_inflation is set \n"); if (nHeight > GetArgIntxx(INT_MAX,"-inflation_triger")) { printf("nHeight > inflation_triger detected \n"); nSubsidy = GetArgIntxx(0,"-post_Subsidy") * COIN; nSubsidy = nSubsidy + (GetArgIntxx(0,"-post_Subsidy_small")); if (nHeight > GetArgIntxx(INT_MAX,"-inflation_trigerB")) { printf("nHeight > inflation_trigerB detected \n"); nSubsidy = GetArgIntxx(0,"-post_SubsidyB") * COIN; nSubsidy = nSubsidy + (GetArgIntxx(0,"-post_SubsidyB_small")); if (nHeight > GetArgIntxx(INT_MAX,"-inflation_trigerC")) { nSubsidy = (GetArgIntxx(0,"-post_SubsidyC") * COIN) + GetArgIntxx(0,"-post_SubsidyC_small"); } } } printf("nSubsidy after custom = %lu \n",nSubsidy); }
|
|
|
|
|