WeChall->Challenges->Challenge: Britcoin

Britcoin Fixes  Go to the Britcoin challenge

Germanygizmore
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 16h
The User is Offline
Britcoin Fixes
Google/translate1Thank You!0Good Post!1Bad 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
Global Rank: 13111
Totalscore: 301
Posts: 2
Thanks: 1
UpVotes: 1
Registered: 8y 153d
DrakeLuce`s Avatar
Last Seen: 7y 121d
The User is Offline
RE: Britcoin Fixes
Google/translate0Thank You!0Good Post!0Bad 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
Global Rank: 198
Totalscore: 110647
Posts: 1795
Thanks: 1390
UpVotes: 961
Registered: 18y 258d




Last Seen: 64d 16h
The User is Offline
RE: Britcoin Fixes
Google/translate1Thank You!1Good Post!0Bad 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
Global Rank: 135
Totalscore: 143258
Posts: 128
Thanks: 109
UpVotes: 127
Registered: 12y 47d
occasus`s Avatar



Last Seen: 113d 20h
The User is Offline
RE: Britcoin Fixes
Google/translate1Thank You!1Good Post!0Bad 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.