Bitcoin Forum
May 12, 2024, 11:23:50 PM *
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 52 53 54 55 56 57 58 59 ... 295 »
  Print  
Author Topic: [ANN][GRS] Groestlcoin | 1st to activate Segwit & Taproot  (Read 557984 times)
azhago
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 23, 2014, 02:34:30 PM
 #161

oui, un peu moins de 20K. Je mine depuis le lancement (trouvé 4 blocs en cpu, mais avec du matos quand meme..) et gpu des la dispo du mineur (me suis couché tres tard...)
C'est tres aleatoire le minage solo. Avec une diff a 10, j'ai rien trouvé pendant 1heure et demi, et la avec une diff >30, je viens d'enchainer 5 blocs en une heure et demi.
Si tu y es pas deja, tu peux venir sur HFR (http://forum.hardware.fr/forum2.php?config=hfr.inc&cat=13&subcat=423&post=107766&page=414&p=1&sondage=0&owntopic=3&trash=&trash_post=&print=0&numreponse=0&quote_only=0&new=0&nojs=0#t37561207)

1715556230
Hero Member
*
Offline Offline

Posts: 1715556230

View Profile Personal Message (Offline)

Ignore
1715556230
Reply with quote  #2

1715556230
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715556230
Hero Member
*
Offline Offline

Posts: 1715556230

View Profile Personal Message (Offline)

Ignore
1715556230
Reply with quote  #2

1715556230
Report to moderator
westaf
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
March 23, 2014, 02:47:02 PM
 #162

oui, un peu moins de 20K. Je mine depuis le lancement (trouvé 4 blocs en cpu, mais avec du matos quand meme..) et gpu des la dispo du mineur (me suis couché tres tard...)
C'est tres aleatoire le minage solo. Avec une diff a 10, j'ai rien trouvé pendant 1heure et demi, et la avec une diff >30, je viens d'enchainer 5 blocs en une heure et demi.
Si tu y es pas deja, tu peux venir sur HFR (http://forum.hardware.fr/forum2.php?config=hfr.inc&cat=13&subcat=423&post=107766&page=414&p=1&sondage=0&owntopic=3&trash=&trash_post=&print=0&numreponse=0&quote_only=0&new=0&nojs=0#t37561207)

Moi je mine en CPU, et rien!!!!!
Je me suis peut être trompé dans le réglage du mineur.
Peux-tu me communiquer les réglages qu'il faut STP???
azhago
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 23, 2014, 02:59:07 PM
 #163

oui, un peu moins de 20K. Je mine depuis le lancement (trouvé 4 blocs en cpu, mais avec du matos quand meme..) et gpu des la dispo du mineur (me suis couché tres tard...)
C'est tres aleatoire le minage solo. Avec une diff a 10, j'ai rien trouvé pendant 1heure et demi, et la avec une diff >30, je viens d'enchainer 5 blocs en une heure et demi.
Si tu y es pas deja, tu peux venir sur HFR (http://forum.hardware.fr/forum2.php?config=hfr.inc&cat=13&subcat=423&post=107766&page=414&p=1&sondage=0&owntopic=3&trash=&trash_post=&print=0&numreponse=0&quote_only=0&new=0&nojs=0#t37561207)
Moi je mine en CPU, et rien!!!!!
Je me suis peut être trompé dans le réglage du mineur.
Peux-tu me communiquer les réglages qu'il faut STP???
En cpu, avec la diff actuelle, c'est quasi impossible de trouver un bloc.. Il faut miner en gpu maintenant pour en avoir, ou en acheter tans que c'est pas sur un exchange

surfer43
Sr. Member
****
Offline Offline

Activity: 560
Merit: 250


"Trading Platform of The Future!"


View Profile
March 23, 2014, 03:01:37 PM
Last edit: March 23, 2014, 03:43:32 PM by surfer43
 #164

Can anyone see what the issue is? When the pool tries to submit a block, this happens:

Quote
2014-03-23 10:56:13,518 DEBUG mining # badman74.1 (528, 31, False, False, 1395586095) 5.87% work_id(1b17) job_id(a52) diff(1.000000)
2014-03-23 10:56:13,519 DEBUG interfaces # d9282a8334a2285b58ebd76a72d2c738fec2bf70e3fe6ec6afbc89a65f6b15d7 (2) valid badman74.1
2014-03-23 10:56:13,539 DEBUG DBInterface # run_import_thread current size: 1
2014-03-23 10:56:13,545 DEBUG DBInterface # run_import_thread current size: 1
2014-03-23 10:56:13,625 DEBUG mining # badman74.1 (529, 31, False, False, 1395586095) 5.86% work_id(1b17) job_id(a52) diff(1.000000)
2014-03-23 10:56:13,626 INFO template_registry # Yay, share with diff above 100000
2014-03-23 10:56:13,626 INFO template_registry # We found a block candidate! 000000000000002000000000000000200000000002de4ba000007fa6806477c8
2014-03-23 10:56:13,626 ERROR template_registry # FINAL JOB VALIDATION FAILED!(Try enabling/disabling tx messages)
None
2014-03-23 10:56:13,627 DEBUG bitcoin_rpc # Submitting Block with submitblock: attempt #1
2014-03-23 10:56:13,627 DEBUG bitcoin_rpc # ['700000003807193b8b4a75824a9b87c9b5d956091dbe9ff461f6d58f2ed13702000000001c88c56 21bd9608fdb9bb9b27bc20aff7a1e043e9d5b932b280125f6137a71c10bf62e531ea9071cc53726 000101000000010000000000000000000000000000000000000000000000000000000000000000f fffffff2602db04062f503253482f040cf62e5308f800000ae30000000d2f7374726174756d506f 6f6c2f00000000010000c2eb0b0000001976a91421df89453a23acd63c166d78252f41389a45a1c 388ac00000000']
2014-03-23 10:56:13,628 DEBUG interfaces # 6a05c80637648a7ebc42a623b13ad4f5fa5ccf9abf1c5b98caf050f6b2b9dc61 (8795958804479) valid badman74.1
2014-03-23 10:56:13,633 DEBUG bitcoin_rpc # SUBMITBLOCK RESULT: {"result":"rejected","error":null,"id":"1"}

2014-03-23 10:56:13,633 INFO interfaces # Block 6a05c80637648a7ebc42a623b13ad4f5fa5ccf9abf1c5b98caf050f6b2b9dc61 REJECTED

Dev: can you look at the code my pool uses for submitting blocks and see what is wrong with it?

Preparing the share:
Code:
    def submit_share(self, job_id, worker_name, session, extranonce1_bin, extranonce2, ntime, nonce,
                     difficulty, ip=False):
        '''Check parameters and finalize block template. If it leads
           to valid block candidate, asynchronously submits the block
           back to the bitcoin network.
        
            - extranonce1_bin is binary. No checks performed, it should be from session data
            - job_id, extranonce2, ntime, nonce - in hex form sent by the client
            - difficulty - decimal number from session
            - submitblock_callback - reference to method which receive result of submitblock()
            - difficulty is checked to see if its lower than the vardiff minimum target or pool target
              from conf/config.py and if it is the share is rejected due to it not meeting the requirements for a share
              
        '''
            # Share Diff Should never be 0
        if difficulty < settings.POOL_TARGET:
                log.exception("Worker %s @ IP: %s seems to be submitting Fake Shares"%(worker_name,ip))
                raise SubmitException("Diff is %s Share Rejected Reporting to Admin"%(difficulty))

        # Check if extranonce2 looks correctly. extranonce2 is in hex form...
        if len(extranonce2) != self.extranonce2_size * 2:
            raise SubmitException("Incorrect size of extranonce2. Expected %d chars" % (self.extranonce2_size*2))

        # Check for job
        job = self.get_job(job_id, worker_name, ip)
        if job == None:
            raise SubmitException("Job '%s' not found" % job_id)

        # Check if ntime looks correct
        if len(ntime) != 8:
            raise SubmitException("Incorrect size of ntime. Expected 8 chars")

        if not job.check_ntime(int(ntime, 16)):
            raise SubmitException("Ntime out of range")

        # Check nonce        
        if len(nonce) != 8:
            raise SubmitException("Incorrect size of nonce. Expected 8 chars")

        # Check for duplicated submit
        if not job.register_submit(extranonce1_bin, extranonce2, ntime, nonce):
            log.info("Duplicate from %s, (%s %s %s %s)" % \
                    (worker_name, binascii.hexlify(extranonce1_bin), extranonce2, ntime, nonce))
            raise SubmitException("Duplicate share")


        # Now let's do the hard work!
        # ---------------------------

        # 0. Some sugar
        extranonce2_bin = binascii.unhexlify(extranonce2)
        ntime_bin = binascii.unhexlify(ntime)
        nonce_bin = binascii.unhexlify(nonce)

        # 1. Build coinbase
        coinbase_bin = job.serialize_coinbase(extranonce1_bin, extranonce2_bin)
        coinbase_hash = util.doublesha(coinbase_bin)

        # 2. Calculate merkle root
        merkle_root_bin = job.merkletree.withFirst(coinbase_hash)
        merkle_root_int = util.uint256_from_str(merkle_root_bin)

        # 3. Serialize header with given merkle, ntime and nonce
        header_bin = job.serialize_header(merkle_root_int, ntime_bin, nonce_bin)

        # 4. Reverse header and compare it with target of the user

        if settings.COINDAEMON_ALGO == 'scrypt':
            hash_bin = ltc_scrypt.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
        elif settings.COINDAEMON_ALGO  == 'scrypt-jane':
                if settings.SCRYPTJANE_NAME == 'vtc_scrypt':
                     hash_bin = scryptjane.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
                else:
                     hash_bin = scryptjane.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]), int(ntime, 16))
        elif settings.COINDAEMON_ALGO == 'quark':
            hash_bin = quark_hash.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
        elif settings.COINDAEMON_ALGO == 'skein_hash':
            hash_bin = skein_hash.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
        elif settings.COINDAEMON_ALGO == 'groestl':
            hash_bin = groestl_hash.getPoWHash(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
        else:
            hash_bin = util.doublesha(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))

        hash_int = util.uint256_from_str(hash_bin)
        scrypt_hash_hex = "%064x" % hash_int
        header_hex = binascii.hexlify(header_bin)
        if settings.COINDAEMON_ALGO == 'scrypt' or settings.COINDAEMON_ALGO == 'scrypt-jane':
            header_hex = header_hex+"000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"
        else: pass

        target_user = self.diff_to_target(difficulty)
        if hash_int > target_user:
            raise SubmitException("Share is above target")

        # Mostly for debugging purposes
        target_info = self.diff_to_target(100000)
        if hash_int <= target_info:
            log.info("Yay, share with diff above 100000")

        # Algebra tells us the diff_to_target is the same as hash_to_diff
        share_diff = int(self.diff_to_target(hash_int))

        # 5. Compare hash with target of the network
        if hash_int <= job.target:
            # Yay! It is block candidate!
            log.info("We found a block candidate! %s" % scrypt_hash_hex)

            # Reverse the header and get the potential block hash (for scrypt only)
            #if settings.COINDAEMON_ALGO == 'scrypt' or settings.COINDAEMON_ALGO == 'sha256d':
            #   if settings.COINDAEMON_Reward == 'POW':
            block_hash_bin = util.doublesha(''.join([ header_bin[i*4:i*4+4][::-1] for i in range(0, 20) ]))
            block_hash_hex = block_hash_bin[::-1].encode('hex_codec')
            #else:   block_hash_hex = hash_bin[::-1].encode('hex_codec')
            #else:  block_hash_hex = hash_bin[::-1].encode('hex_codec')
            # 6. Finalize and serialize block object
            job.finalize(merkle_root_int, extranonce1_bin, extranonce2_bin, int(ntime, 16), int(nonce, 16))

            if not job.is_valid():
                # Should not happen
                log.exception("FINAL JOB VALIDATION FAILED!(Try enabling/disabling tx messages)")

            # 7. Submit block to the network
            serialized = binascii.hexlify(job.serialize())
            on_submit = self.bitcoin_rpc.submitblock(serialized, block_hash_hex, scrypt_hash_hex)
            if on_submit:
                self.update_block()

            if settings.SOLUTION_BLOCK_HASH:
                return (header_hex, block_hash_hex, share_diff, on_submit)
            else:
                return (header_hex, scrypt_hash_hex, share_diff, on_submit)
Submiting the block:

Code:
    def submitblock(self, block_hex, hash_hex, scrypt_hex):
  #try 5 times? 500 Internal Server Error could mean random error or that TX messages setting is wrong
        attempts = 0
        while True:
            attempts += 1
            if self.has_submitblock == True:
                try:
                    log.debug("Submitting Block with submitblock: attempt #"+str(attempts))
                    log.debug([block_hex,])
                    resp = (yield self._call('submitblock', [block_hex,]))
                    log.debug("SUBMITBLOCK RESULT: %s", resp)
                    break
                except Exception as e:
                    if attempts > 4:
                        log.exception("submitblock failed. Problem Submitting block %s" % str(e))
                        log.exception("Try Enabling TX Messages in config.py!")
                        raise
                    else:
                        continue
            elif self.has_submitblock == False:
                try:
                    log.debug("Submitting Block with getblocktemplate submit: attempt #"+str(attempts))
                    log.debug([block_hex,])
                    resp = (yield self._call('getblocktemplate', [{'mode': 'submit', 'data': block_hex}]))
                    break
                except Exception as e:
                    if attempts > 4:
                        log.exception("getblocktemplate submit failed. Problem Submitting block %s" % str(e))
                        log.exception("Try Enabling TX Messages in config.py!")
                        raise
                    else:
                        continue
            else:  # self.has_submitblock = None; unable to detect submitblock, try both
                try:
                    log.debug("Submitting Block with submitblock")
                    log.debug([block_hex,])
                    resp = (yield self._call('submitblock', [block_hex,]))
                    break
                except Exception as e:
                    try:
                        log.exception("submitblock Failed, does the coind have submitblock?")
                        log.exception("Trying GetBlockTemplate")
                        resp = (yield self._call('getblocktemplate', [{'mode': 'submit', 'data': block_hex}]))
                        break
                    except Exception as e:
                        if attempts > 4:
                            log.exception("submitblock failed. Problem Submitting block %s" % str(e))
                            log.exception("Try Enabling TX Messages in config.py!")
                            raise
                        else:
                            continue

        if json.loads(resp)['result'] == None:
            # make sure the block was created.
            log.info("CHECKING FOR BLOCK AFTER SUBMITBLOCK")
            defer.returnValue((yield self.blockexists(hash_hex, scrypt_hex)))
        else:
            defer.returnValue(False)

Every time a share is submitted, stratum-mining says the share difficulty is above 100,000. Huh
agran
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000


View Profile
March 23, 2014, 03:31:36 PM
 #165

A Block Crawler is now online!

http://www.coincrawler.de/grs

Small donations are welcome  Wink

GRS - FiuaZQnzWW8GymgLvijtsogvSdfeFJZK1H

It is bad Block Crawler. It is impossible to see the information at the address of the wallet.

QORA | 2ND GEN | NEW SOURCE CODE | QTz6fSV2VNc2wjwwsw57kwQzgQhmGw5idQ
Siggi84
Full Member
***
Offline Offline

Activity: 131
Merit: 100


View Profile
March 23, 2014, 03:40:31 PM
 #166

A Block Crawler is now online!

http://www.coincrawler.de/grs

Small donations are welcome  Wink

GRS - FiuaZQnzWW8GymgLvijtsogvSdfeFJZK1H

It is bad Block Crawler. It is impossible to see the information at the address of the wallet.


That's funny, upset about a service.  Huh
sin242
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
March 23, 2014, 04:01:07 PM
 #167

Still no sync on the wallet.  Went through all the usual.  Have the nodes in.  Still nada

Dark:  Xk9BoVerBd41JCjWQEhnxoowP7YNUK439z
BTC:  1JzPN2h8WGSi7kQeY5wuP4PjVD2hxkHJQM
agran
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000


View Profile
March 23, 2014, 04:03:01 PM
 #168

Specifications:
  - specifications algo: http://www.groestl.info/Groestl.pdf
  -  Algorithm: Groestl
  -  Total coins:  105 000 000 GRS
  -  Coins per block: 512 GRS
  -  Minimum block reward: 5 GRS
  -  Block target: 60  seconds
  -  Difficulty adjustment: DGW (Dark Gravity Wave)
  -  Block reward reduced by 6% every 10080 blocks, which will occur approximately every 1 week.
  -  Mined coins mature in 140 blocks

reward and amount of coins graph http://agran.net/groestlcoin_reward.html

I understood everything correctly and display?

QORA | 2ND GEN | NEW SOURCE CODE | QTz6fSV2VNc2wjwwsw57kwQzgQhmGw5idQ
ocminer
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
March 23, 2014, 04:16:23 PM
 #169

Hey folks,

I'm currently writing or rather "building together" a python-hash module for this coin.

Everything is looking good, but whats the diff1 for this coin ?


On a "normal" coin like DarkCoin or a X11 clone you can look in the source here:

https://github.com/HiroSatou/Hirocoin/blob/ac68e1a4b5770f33121443344e4530fb152ff486/src/main.cpp#L2873

With Groestl (and Fugue) it looks like this:

https://github.com/GroestlCoin/GroestlCoin/blob/master/src/main.cpp#L2839


This way I cannot determine the correct diff1 setting for this coin.

A Python-Guru here with an idea ? Smiley


suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
surfer43
Sr. Member
****
Offline Offline

Activity: 560
Merit: 250


"Trading Platform of The Future!"


View Profile
March 23, 2014, 04:27:15 PM
 #170

^ cool maybe my pool can't submit blocks because the python module is ****** up.  Smiley

All I did was clone quarkcoin-hash-python and replace the hash function..

EDIT: found this in the source code

Code:
        // Genesis block
        const char* pszTimestamp = "Pressure must be put on Vladimir Putin over Crimea";

 Grin
virtualdn
Legendary
*
Offline Offline

Activity: 1372
Merit: 1093


View Profile
March 23, 2014, 04:31:52 PM
 #171

you got listed on http://coinok.pw/vote  -  good luck!

1 BTC = 1 BTC
ocminer
Legendary
*
Offline Offline

Activity: 2660
Merit: 1240



View Profile WWW
March 23, 2014, 04:44:45 PM
 #172

^ cool maybe my pool can't submit blocks because the python module is ****** up.  Smiley

All I did was clone quarkcoin-hash-python and replace the hash function..

EDIT: found this in the source code

Code:
        // Genesis block
        const char* pszTimestamp = "Pressure must be put on Vladimir Putin over Crimea";

 Grin

That was obviously not enough *lol* .. It's not that easy, but you're (we're) probably almost there, diff1 is very important though.

You'll find these timestamps in every source, theyre from major newspapers to confirm time the source was built/written.

suprnova pools - reliable mining pools - #suprnova on freenet
https://www.suprnova.cc - FOLLOW us @ Twitter ! twitter.com/SuprnovaPools
cryptonent
Newbie
*
Offline Offline

Activity: 62
Merit: 0


View Profile
March 23, 2014, 04:54:32 PM
 #173

Putin is Tzar!
busminer
Hero Member
*****
Offline Offline

Activity: 1764
Merit: 570


Twitter\X @AlexKosa1


View Profile WWW
March 23, 2014, 04:59:21 PM
 #174

Fuck Putler !

azhago
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
March 23, 2014, 05:36:41 PM
 #175

WTS 10K GRS
Pm me with offer

Ancikv
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
March 23, 2014, 06:28:12 PM
 #176

Wallet with addnode (full list) not sync
. no pool. Sad Ж.
listen=1
server=1
rpcuser=u
rpcpassword=p
rpcport=1441
addnode=92.234.241.91
addnode=217.44.27.235
addnode=193.242.149.63
addnode=209.126.71.54
addnode=79.117.53.154
addnode=92.39.203.216
addnode=61.55.141.196
addnode=151.41.36.112
addnode=5.9.157.13
addnode=74.91.18.210
addnode=222.65.39.59
addnode=83.242.125.165
addnode=66.232.41.176
addnode=71.96.61.207
addnode=31.220.48.98
addnode=92.234.241.91
addnode=193.242.149.63
addnode=79.117.53.154
addnode=92.115.69.196
addnode=90.155.222.162
sync wait 10-15 minute.
ahmed_bodi
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500

Bitrated user: ahmedbodi.


View Profile
March 23, 2014, 06:48:19 PM
 #177

ill have 3 x p2pool nodes up soon

Bitrated user: ahmedbodi.
zuludrag
Sr. Member
****
Offline Offline

Activity: 396
Merit: 250

I speak: LT, RU, EN


View Profile WWW
March 23, 2014, 06:48:57 PM
 #178

ill have 3 x p2pool nodes up soon

Great! You are the best again! Smiley

agran
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000


View Profile
March 23, 2014, 07:24:06 PM
 #179

WTS 5120 GRS

QORA | 2ND GEN | NEW SOURCE CODE | QTz6fSV2VNc2wjwwsw57kwQzgQhmGw5idQ
TUGenius
Member
**
Offline Offline

Activity: 119
Merit: 100



View Profile
March 23, 2014, 07:25:00 PM
 #180

WTS 200,000 GroestlCoin. The genesis block was 240600. Anybody want to make an offer?

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 52 53 54 55 56 57 58 59 ... 295 »
  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!