Bitcoin Forum
July 02, 2024, 08:34:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
Author Topic: -- [ANN] New Coin Launch - SHIT coin - SHT --  (Read 129381 times)
artiface
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
October 13, 2013, 01:46:09 AM
 #341

This shit is a steaming pile. 

Client sync's fine but every block is rejected.
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 01:48:27 AM
 #342

This shit is a steaming pile. 

Client sync's fine but every block is rejected.

we have to get enough hash on the network to retake the chain. i'll chip in 3 gh/s solo. if everyone contributes even half a gh/s we should have it back in no  time.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
artiface
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
October 13, 2013, 02:09:48 AM
 #343

ok I put 4 gh/s on it
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 02:09:53 AM
 #344

There is an issue with txvalues:

Code:
shitcoinMiner:
new block found 
  hash: 0000004240f46abeba2ddb3b54863393c0b5f99c0aaa10ffdb218d81a788d422 
target: 000002615f000000000000000000000000000000000000000000000000000000
CBlock(hash=0000004240f46abeba2ddb3b54863393c0b5f99c0aaa10ffdb218d81a788d422, ver=4, hashPrevBlock=0000000026e1c432e047dc82550c41e8ac2495ad807dc7daf61cf3aca75dab0b, hashMerkleRoot=a0dc93b4496ee565dec665b68d476cf4ee0ae57a0b073485fe9e296236e82307, nTime=1381627304, nBits=1e02615f, nNonce=1941506304, vtx=1, vchBlockSig=)
  Coinbase(hash=a0dc93b449, nTime=1381627304, ver=1, vin.size=1, vout.size=1, nLockTime=0, strTxComment=)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02117d0110062f503253482f)
    CTxOut(nValue=7629.394531, scriptPubKey=0272b8c4d1f6e9eac57407a560294ec042902fa2eaf22b2381419fbe4a1ebdb979 OP_CHECKSIG)
  vMerkleTree: a0dc93b449
generated 7629.394531
ERROR: CTransaction::CheckTransaction() : txout.nValue below minimum
ERROR: CheckBlock() : CheckTransaction failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: shitcoinMiner : ProcessBlock, block not accepted
Running shitcoinMiner with 1 transactions in block (194 bytes)

Generated coins are below the min txout value of (10000 I believe I have to look again). Push pool does not work, Stratum pool does not work, built in client miner does not work.

All the hash rate in the world will not matter if every block generated is rejected due to below minimum.
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 02:12:31 AM
 #345

Main CPP

Code:
 // Check for negative or overflow output values
    int64 nValueOut = 0;
    for (unsigned int i = 0; i < vout.size(); i++)
    {
        const CTxOut& txout = vout[i];
        if (txout.IsEmpty() && !IsCoinBase() && !IsCoinStake())
            return DoS(100, error("CTransaction::CheckTransaction() : txout empty for user transaction"));

        // ppcoin: enforce minimum output amount
        if ((!txout.IsEmpty()) && txout.nValue < MIN_TXOUT_AMOUNT)
            return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue below minimum"));

        if (txout.nValue > MAX_MONEY)
            return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue too high"));
        nValueOut += txout.nValue;
        if (!MoneyRange(nValueOut))
            return DoS(100, error("CTransaction::CheckTransaction() : txout total out of range"));
    }

Main header:

Code:
static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100;
static const unsigned int MAX_INV_SZ = 50000;
static const int64 MIN_TX_FEE = 10000 * COIN;
static const int64 MIN_RELAY_TX_FEE = MIN_TX_FEE;
static const int64 MAX_MONEY = 100000000000000 * COIN;
static const int64 MAX_MINT_PROOF_OF_WORK = 500000000 * COIN; //5 Coin per block
static const int64 MAX_MINT_PROOF_OF_STAKE = 0.00001 * MAX_MINT_PROOF_OF_WORK; //5% annual interest
static const int64 MIN_TXOUT_AMOUNT = MIN_TX_FEE;
static const unsigned int MAX_TX_COMMENT_LEN = 268; // shitcoin: 256 bytes + 12 little extra

inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp.
static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov  5 00:53:20 1985 UTC



static const int64 MIN_TX_FEE = 10000 * COIN;
static const int64 MIN_TXOUT_AMOUNT = MIN_TX_FEE;
iGotSpots
Legendary
*
Offline Offline

Activity: 2548
Merit: 1054


CPU Web Mining 🕸️ on webmining.io


View Profile WWW
October 13, 2013, 02:16:23 AM
 #346

Broken again LOL

r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 02:16:43 AM
 #347

Main CPP

Code:
 // Check for negative or overflow output values
    int64 nValueOut = 0;
    for (unsigned int i = 0; i < vout.size(); i++)
    {
        const CTxOut& txout = vout[i];
        if (txout.IsEmpty() && !IsCoinBase() && !IsCoinStake())
            return DoS(100, error("CTransaction::CheckTransaction() : txout empty for user transaction"));

        // ppcoin: enforce minimum output amount
        if ((!txout.IsEmpty()) && txout.nValue < MIN_TXOUT_AMOUNT)
            return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue below minimum"));

        if (txout.nValue > MAX_MONEY)
            return DoS(100, error("CTransaction::CheckTransaction() : txout.nValue too high"));
        nValueOut += txout.nValue;
        if (!MoneyRange(nValueOut))
            return DoS(100, error("CTransaction::CheckTransaction() : txout total out of range"));
    }

Main header:

Code:
static const unsigned int MAX_BLOCK_SIZE = 1000000;
static const unsigned int MAX_BLOCK_SIZE_GEN = MAX_BLOCK_SIZE/2;
static const unsigned int MAX_BLOCK_SIGOPS = MAX_BLOCK_SIZE/50;
static const unsigned int MAX_ORPHAN_TRANSACTIONS = MAX_BLOCK_SIZE/100;
static const unsigned int MAX_INV_SZ = 50000;
static const int64 MIN_TX_FEE = 10000 * COIN;
static const int64 MIN_RELAY_TX_FEE = MIN_TX_FEE;
static const int64 MAX_MONEY = 100000000000000 * COIN;
static const int64 MAX_MINT_PROOF_OF_WORK = 500000000 * COIN; //5 Coin per block
static const int64 MAX_MINT_PROOF_OF_STAKE = 0.00001 * MAX_MINT_PROOF_OF_WORK; //5% annual interest
static const int64 MIN_TXOUT_AMOUNT = MIN_TX_FEE;
static const unsigned int MAX_TX_COMMENT_LEN = 268; // shitcoin: 256 bytes + 12 little extra

inline bool MoneyRange(int64 nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); }
// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp.
static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov  5 00:53:20 1985 UTC



static const int64 MIN_TX_FEE = 10000 * COIN;
static const int64 MIN_TXOUT_AMOUNT = MIN_TX_FEE;

odd, it should be catching the minimum subsidy and changing it to the minimum. i'll have another look

My negative trust rating is reflective of a personal vendetta by someone on default trust.
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 02:26:30 AM
 #348

source is updated @ github

https://github.com/shitcoin/shitcoin.git

client update for windows is here

https://docs.google.com/file/d/0B5V5vln-sS3EU2F3bWxQcndCS28/edit?usp=sharing


My negative trust rating is reflective of a personal vendetta by someone on default trust.
Apheration
Member
**
Offline Offline

Activity: 88
Merit: 10


View Profile
October 13, 2013, 03:42:07 AM
 #349

not working. still rejecting

I second that
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 04:15:49 AM
 #350

Yeah, Swing and a miss.  Cheesy

I am looking through the code now to see if I can fix it.

It is a nice break from looking at the CCE3 project code.   Smiley
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 04:16:27 AM
 #351

not working. still rejecting

I second that

i think we all will need to delete our blockchains and start over again. it should have stopped syncing at 18000 and forked us over to a new chain but it didn't for some strange reason. i'll have another look when i 'm finished upgrading my server.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 04:22:41 AM
 #352

not working. still rejecting

I second that

i think we all will need to delete our blockchains and start over again. it should have stopped syncing at 18000 and forked us over to a new chain but it didn't for some strange reason. i'll have another look when i 'm finished upgrading my server.

Already tried all that. New block chain on Linux, new blockchain on windows. Compiled from git, precompiled from your link.

THe basic fact is it is still assigning the ~7000 SHIT for the coin base.


The block template shows the bad coin base also:

{
"version" : 4,
"previousblockhash" : "0000000026e1c432e047dc82550c41e8ac2495ad807dc7daf61cf3aca75dab0b",
"transactions" : [
],
"coinbaseaux" : {
"flags" : "062f503253482f"
},
"coinbasevalue" : 7629394531,
"target" : "000002615f000000000000000000000000000000000000000000000000000000",
"mintime" : 1381615120,
"mutable" : [
"time",
"transactions",
"prevblock"
],
"noncerange" : "00000000ffffffff",
"sigoplimit" : 20000,
"sizelimit" : 1000000,
"curtime" : 1381637131,
"bits" : "1e02615f",
"height" : 32017
}


Edit:
And the error is as before in the debug log:

shitcoinMiner:
new block found 
  hash: 000000006c2afc068adb4f5eb3b9943991ad9d3d2eff838851c9c86984ea2e72 
target: 000002615f000000000000000000000000000000000000000000000000000000
CBlock(hash=000000006c2afc068adb4f5eb3b9943991ad9d3d2eff838851c9c86984ea2e72, ver=4, hashPrevBlock=0000000026e1c432e047dc82550c41e8ac2495ad807dc7daf61cf3aca75dab0b, hashMerkleRoot=9c2c984c6d001d39bc156bb073d85b7bd19328decd6a2f3ec0da0910fda74ae8, nTime=1381638454, nBits=1e02615f, nNonce=1058918408, vtx=1, vchBlockSig=3046022100f54f85b7627416638c05b2394bc8e097082f2fec20a34d1160696100f7a3e7810221008283faef73b38c672b1da2e1145b758d24f9ccda1ed3209702e93032684a5c65)
  Coinbase(hash=9c2c984c6d, nTime=1381636733, ver=1, vin.size=1, vout.size=1, nLockTime=0, strTxComment=)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 02117d023f01062f503253482f)
    CTxOut(nValue=7629.394531, scriptPubKey=02f69e5520504436e5b33efd96685e117dd3764ded5be36567036cab2da521f6bd OP_CHECKSIG)
  vMerkleTree: 9c2c984c6d
generated 7629.394531
ERROR: CTransaction::CheckTransaction() : txout.nValue below minimum
ERROR: CheckBlock() : CheckTransaction failed
ERROR: ProcessBlock() : CheckBlock FAILED
ERROR: shitcoinMiner : ProcessBlock, block not accepted
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 04:34:12 AM
 #353

honestly, i don't know how its doing that unless, and its probably true that 1^6 is larger than an int64? i'm still a novice in c and still don't quite understand when to use what if that makes sense.

My negative trust rating is reflective of a personal vendetta by someone on default trust.
kelsey
Legendary
*
Offline Offline

Activity: 1876
Merit: 1000


View Profile
October 13, 2013, 05:18:23 AM
 #354

well my shit don't sync  Shocked
dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 05:24:49 AM
 #355

It looks like you may have to use 128 bit integers or find a way to truncate the excess zeros in the integers you are using.

Two way I can think of off the top of my head: GNU MP library

http://gmplib.org/

or a custom module like:

http://mrob.com/pub/math/int128.c.txt

I will look more into it myself,  but this is not my stinky diaper, but I will help if I can..   Cheesy
r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 05:58:01 AM
 #356

It looks like you may have to use 128 bit integers or find a way to truncate the excess zeros in the integers you are using.

Two way I can think of off the top of my head: GNU MP library

http://gmplib.org/

or a custom module like:

http://mrob.com/pub/math/int128.c.txt

I will look more into it myself,  but this is not my stinky diaper, but I will help if I can..   Cheesy

thanks man, i appreciate this "shit"

My negative trust rating is reflective of a personal vendetta by someone on default trust.
Scrappy Do
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500



View Profile
October 13, 2013, 06:18:34 AM
 #357

This shit is hilarious! Point me to a pool please! I need the best shit out there, because I am a rockstar.


r3wt
Hero Member
*****
Offline Offline

Activity: 686
Merit: 504


always the student, never the master.


View Profile
October 13, 2013, 06:25:49 AM
 #358

how u gonna post a manziel pic?

My negative trust rating is reflective of a personal vendetta by someone on default trust.
artiface
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
October 13, 2013, 04:17:06 PM
 #359

A 64 bit integer can definitely handle the entire 100 trillion money supply. 

2^64 = 18,446,744,073,709,551,616

dreamwatcher
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile WWW
October 13, 2013, 04:37:48 PM
 #360

A 64 bit integer can definitely handle the entire 100 trillion money supply.  

2^64 = 18,446,744,073,709,551,616



The actual integer that represents the coin value is much larger. As with all the coins there is no floating point math, instead the  internal integer represents the number of smallest units the total makes.

The integer above would actually be more like : 18,446,744,073,709,551,616,000,000


Edit:
For example :

static const int64 MIN_TX_FEE = 10000 * COIN;
static const int64 MIN_TXOUT_AMOUNT = MIN_TX_FEE;

So the actual value of 100 trillion coins would be 100 trillion * COIN (The smallest coin value as an integer. If the coin can go 4 decimal places the value would be 1000)
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!