WeChall->Challenges->Challenge: Britcoin

Britcoin Fixes  Vai alla sfida "Britcoin"

Germanygizmore
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 16ore
L'utente è Offline
Britcoin Fixes
Google/traduci1Grazie!0Bel post!1Brutto post! Link
Yesterday I have fixed some issues in the britcoin challenge.

Your initial nonce-zero was computed with wrapping html tags.
If you used the payload in your scripts, and generated noncezero yourself, your computations would not be accepted.
If you took the noncezero from the challenge you were fine.

Also i fixed some minor issues, like wording and the test vectors in the grfc.
Here the example did not use the uppercase hash.

Sorry for the inconvinience!
gizmore
The geeks shall inherit the properties and methods of object earth.
CanadaDrakeLuce
Posizione globale: 13111
Punteggio totale: 301
Posts : 2
Grazie: 1
Voti+: 1
Registrato: 8a 154gg
Avatar di DrakeLuce
Ultima visita: 7a 122gg
L'utente è Offline
RE: Britcoin Fixes
Google/traduci0Grazie!0Bel post!0Brutto post! Link
Can you clarify how the nonce is added to the hash to perform POW? Is it concatenated to the end of the NonceZero?

This is not clear for me:

The prove of work is a hash of this NounceZero with a 32 hex uppercase chars long nounce which results in a hash value below the difficulty.


What does "with a" mean?
Germanygizmore
Posizione globale: 198
Punteggio totale: 110647
Posts : 1795
Grazie: 1390
Voti+: 961
Registrato: 18a 259gg




Ultima visita: 65gg 16ore
L'utente è Offline
RE: Britcoin Fixes
Google/traduci1Grazie!1Bel post!0Brutto post! Link
NonceZero is the hash of the initial block/data, AAAA

Your "Nonce" is a padding to that initial NonceZero hash. AAAABBBB

BBBB would be your nonce and the solution if it fulfils the requirements.

Hope this clarifies.
The geeks shall inherit the properties and methods of object earth.
Italyoccasus
Posizione globale: 135
Punteggio totale: 143258
Posts : 128
Grazie: 109
Voti+: 127
Registrato: 12a 48gg
Avatar di occasus



Ultima visita: 114gg 20ore
L'utente è Offline
RE: Britcoin Fixes
Google/traduci1Grazie!1Bel post!0Brutto post! Link

PHP Warning(2): require_once(/home/gizmore/www/geshi/src/geshi.php): Failed to open stream: No such file or directory in core/inc/util/GWF_BBCodeItem.php line 219


Backtrace starts in www/index.php line 6. GWF3->__construct()............... gwf3.class.php line 107. GWF3->init()...................... gwf3.class.php line 173. GWF3->onLoadModule().............. gwf3.class.php line 435. Module_Forum->execute()........... core/module/Forum/Module_Forum.php line 223. GWF_Module->execute()............. core/inc/util/GWF_Module.php line 344. Forum_ShowThread->execute()....... core/module/Forum/method/ShowThread.php line 66. Forum_ShowThread->templateThread() core/module/Forum/method/ShowThread.php line 131. GWF_Module->templatePHP()......... core/inc/util/GWF_Module.php line 153. GWF_Module->coreTemplatePHP()..... core/inc/util/GWF_Module.php line 159. GWF_Template::templatePHPRaw().... core/inc/util/GWF_Template.php line 25. GWF_Template::templatePHP()....... core/inc/util/GWF_Template.php line 113. include()......................... www/tpl/wc4/module/Forum/show_thread.php line 71. include()......................... www/tpl/wc4/module/Forum/show_post.php line 137. GWF_ForumPost->displayMessage()... core/module/Forum/GWF_ForumPost.php line 165. GWF_Message::display()............ core/inc/util/GWF_Message.php line 229. GWF_BBCode::decode().............. core/inc/util/GWF_BBCode.php line 127. GWF_BBCodeItem->render().......... core/inc/util/GWF_BBCodeItem.php line 78. GWF_BBCodeItem->renderChilds().... core/inc/util/GWF_BBCodeItem.php line 117. GWF_BBCodeItem->render().......... core/inc/util/GWF_BBCodeItem.php line 74. GWF_BBCodeItem->renderTag()....... core/inc/util/GWF_BBCodeItem.php line 101. GWF_BBCodeItem->render_code()..... core/inc/util/GWF_BBCodeItem.php line 410. GWF_BBCodeItem->renderCode()...... core/inc/util/GWF_BBCodeItem.php line 219. require_once().................... core/inc/util/GWF_BBCodeItem.php line 219. GWF_Debug::error_handler()........ core/inc/util/GWF_Debug.php line 180.

PHP Fatal Error(1): Constant E_STRICT is deprecated since 8.4, the error level was removed in www/protected/config.php line 6


Backtrace starts in [unknown file] line ?. GWF_Debug::shutdown_function() core/inc/util/GWF_Debug.php line 109. GWF_Debug::error_handler().... core/inc/util/GWF_Debug.php line 180.