Bitcoin Forum
December 14, 2024, 07:40:31 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: manually submit the golden nonce via bitcoind  (Read 561 times)
citb0in (OP)
Hero Member
*****
Offline Offline

Activity: 854
Merit: 730


Bitcoin g33k


View Profile
September 29, 2022, 04:15:26 PM
Merited by vapourminer (1)
 #1

Hey everybody. Please excuse me if this is a silly question and bear with a newbie who is trying to learn the ropes step by step. But I have the following general question:

If I were running a full-node but not a miner, could I manually enter a hash value for my candidate block by hand so that it would be propagated with the hope that the block would be accepted? Of course, the hash value I enter would have to match. Let's say may full-node has a candidate block and I was able somehow else (by accident  Tongue) to find the golden nonce which leads to the block hash which would be lower than the actual target. Is that possible to submit this golden nonce into my node via bitcoin-cli or similar? Does this work at all or does it need a miner with mining software ?

  _      _   _       __  _          _  _   __
 |_) |  / \|/   (_  / \ | \  / |_ |_) (_ 
 |_) |_ \_/ \_ |\   __) \_/ |_ \/  |_ | \ __)
--> citb0in Solo-Mining Group <--- low stake of only 0.001 BTC. We regularly rent about 5 PH/s hash power and direct it to SoloCK pool. Wanna know more? Read through the link and JOIN NOW
Biffa
Legendary
*
Offline Offline

Activity: 3234
Merit: 1220



View Profile
September 29, 2022, 08:11:49 PM
Merited by citb0in (1)
 #2

Here you go: Bitcoin mining by pencil and paper

Mine @ pools that pay Tx fees & don't mine empty blocks :: kanopool :: ckpool ::
Should bitmain create LPM for all models?
:: Dalcore's Crypto Mining H/W Hosting Directory & Reputation ::
citb0in (OP)
Hero Member
*****
Offline Offline

Activity: 854
Merit: 730


Bitcoin g33k


View Profile
September 30, 2022, 06:15:22 AM
 #3

Thanks for that link. Unfortunately it doesn't answer my question.

  _      _   _       __  _          _  _   __
 |_) |  / \|/   (_  / \ | \  / |_ |_) (_ 
 |_) |_ \_/ \_ |\   __) \_/ |_ \/  |_ | \ __)
--> citb0in Solo-Mining Group <--- low stake of only 0.001 BTC. We regularly rent about 5 PH/s hash power and direct it to SoloCK pool. Wanna know more? Read through the link and JOIN NOW
mocacinno
Legendary
*
Offline Offline

Activity: 3612
Merit: 5279


https://merel.mobi => buy facemasks with BTC/LTC


View Profile WWW
September 30, 2022, 06:18:20 AM
Merited by vapourminer (1), citb0in (1)
 #4

Is this what you're looking for: https://developer.bitcoin.org/reference/rpc/submitblock.html

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
citb0in (OP)
Hero Member
*****
Offline Offline

Activity: 854
Merit: 730


Bitcoin g33k


View Profile
September 30, 2022, 07:06:30 AM
 #5

Yes!  Smiley that should it be. Thanks a bunch

  _      _   _       __  _          _  _   __
 |_) |  / \|/   (_  / \ | \  / |_ |_) (_ 
 |_) |_ \_/ \_ |\   __) \_/ |_ \/  |_ | \ __)
--> citb0in Solo-Mining Group <--- low stake of only 0.001 BTC. We regularly rent about 5 PH/s hash power and direct it to SoloCK pool. Wanna know more? Read through the link and JOIN NOW
Biffa
Legendary
*
Offline Offline

Activity: 3234
Merit: 1220



View Profile
October 04, 2022, 01:33:49 PM
 #6

Thanks for that link. Unfortunately it doesn't answer my question.

Ah, thought you'd need something to generate the "candidate block" by hand before you could submit it Smiley

Mine @ pools that pay Tx fees & don't mine empty blocks :: kanopool :: ckpool ::
Should bitmain create LPM for all models?
:: Dalcore's Crypto Mining H/W Hosting Directory & Reputation ::
daplotzy
Newbie
*
Offline Offline

Activity: 3
Merit: 5


View Profile
November 03, 2022, 11:50:49 PM
Merited by mikeywith (4), vapourminer (1)
 #7

I think you got your answer, but you can definitely do it via the bitcoin core Console window with a submitblock command and the hex string that contains the successful (below the target) hash.

I have done the mining hashing and hex string compilation through an excel spreadsheet.  Slow, but fun to see it in action.
citb0in (OP)
Hero Member
*****
Offline Offline

Activity: 854
Merit: 730


Bitcoin g33k


View Profile
November 04, 2022, 05:07:01 AM
 #8

Yes, submitblock works fine. Out of curiosity, I'd like to see step-by-step how you did it. Do you have an example you could share your experience with string compilation on a spreadsheet? Looking forward to your instruction. Thanks in advance

  _      _   _       __  _          _  _   __
 |_) |  / \|/   (_  / \ | \  / |_ |_) (_ 
 |_) |_ \_/ \_ |\   __) \_/ |_ \/  |_ | \ __)
--> citb0in Solo-Mining Group <--- low stake of only 0.001 BTC. We regularly rent about 5 PH/s hash power and direct it to SoloCK pool. Wanna know more? Read through the link and JOIN NOW
daplotzy
Newbie
*
Offline Offline

Activity: 3
Merit: 5


View Profile
November 09, 2022, 09:52:47 PM
 #9

Yes, submitblock works fine. Out of curiosity, I'd like to see step-by-step how you did it. Do you have an example you could share your experience with string compilation on a spreadsheet? Looking forward to your instruction. Thanks in advance

I give the spreadsheet away for free, here, calling it the "F9 Miner" because it does one hash with each time you press F9 (calculate) in Excel:

https://modulo.network

I built it as a learning experiment for myself, but think it is worth sharing.  There are no macros nor any array formulas, so you should not see any of that stuff if/when you download it.  The spreadsheet self-explanatory, but if you have any questions (or find any problems) let me know here!
Pages: [1]
  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!