Bitcoin Forum
December 13, 2025, 04:31:57 PM *
News: Latest Bitcoin Core release: 30.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13
1  Bitcoin / Development & Technical Discussion / Re: Python based Solo miner for CPU | Learn Basic Bitcoin Mining | Just for fun on: April 04, 2023, 11:57:37 PM
thanks, i also want to practice some code for cpu/gpu bitcoin mining, so i very gladly looked at your work.

a question regarding this line of code: hash = hashlib.sha256(hashlib.sha256(binascii.unhexlify(blockheader)).digest()).digest()
why are you calling sha256 twice? so you hash the hash of the header.
maybe it's a mistake?

Should be able to implement PyCuda into that code. I'd love to see that myself. 

Bitcoin double hashes. That's how it works. When you hash the block and think you're done, you're not. You have to hash it a second time to see if it has the requisite zeros.
2  Bitcoin / Development & Technical Discussion / Re: Python based Solo miner for CPU | Learn Basic Bitcoin Mining | Just for fun on: April 04, 2023, 11:56:04 PM
You say just for fun, I wonder where is the fun if we start mining with our CPU 24/7 and never mine anything, could you provide some probability estimations on a single block found/time?

Yeah, doesn't sound fun... for educational purposes only? I'd prefer to mine some shitcoin using my CPU or GPU but with some real results/mining involved. Solo mining even on an Antminer S19 Pro is a lottery now already - 0.000065% chance of catching the block every 10 minutes (around 30 years to solo mine a block), CPU mining is not even a lottery, you're just losing money on electricity and burning out your CPU.  Grin

If you're "burning out" your CPU, you need a better cooling solution Wink.
3  Bitcoin / Development & Technical Discussion / Re: Python based Solo miner for CPU | Learn Basic Bitcoin Mining | Just for fun on: April 04, 2023, 04:43:14 AM
This code is great! Its a good start to what I was looking for. Any intentions on updating it? I'm curious, why does it randomly go through nonces instead of just counting through them by counting up one by one?
4  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: November 24, 2022, 09:33:44 PM
Download cpuminer

Code:
minerd -a scrypt -o 127.0.0.1:port as set in conf file -u user as set in conf file -p password as set in conf file --coinbase-addr=an address from your wallet goes here -t number of CPU threads

If you have the following conf file

rpcuser=user
rpcpassword=password
rpcallowip=127.0.0.1
rpcallowip=192.168.1.1/24
rpcport=40022
daemon=1
server=1
gen=1

And an address in your wallet is : NUQAEFrWoUJvSCDKwAH2j4cA83AEiYYEh9
And wanted to use 1 of your CPU cores to mine then:

Code:
minerd -a scrypt -o 127.0.0.1:40022 -u user -p password --coinbase-addr=NUQAEFrWoUJvSCDKwAH2j4cA83AEiYYEh9 -t 1

Just verified it works, mined 2 blocks to the above address.

-Dave



Thank you for that. Good to know.
5  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: November 13, 2022, 11:11:48 PM
I don't remember if solo mining is really a thing anymore since the update.
6  Alternate cryptocurrencies / Altcoin Discussion / Re: Getting developers for old coins on: October 10, 2022, 09:25:23 PM
Looking for developer(s) to update an old coin, possibly to do smart contracts and other things. Where do I go about doing that, any ideas on cost, etc?
Look for developers in the Service section if you'll pay in bitcoin. Another good section to spot is also the Project Development in the forum. If you still can't see that then just go to freelancer websites and have those developers go into your thread with the same posting.
The cost of it varies on the experience of the developer. But, I am sure that this isn't going to be as cheap as some might be thinking since it's a task and skill that's in demand and needs technical knowledge.

Do you have links referencing what you're talking about, please?
7  Alternate cryptocurrencies / Altcoin Discussion / Re: Getting developers for old coins on: October 10, 2022, 07:57:05 PM
Looking for developer(s) to update an old coin, possibly to do smart contracts and other things. Where do I go about doing that, any ideas on cost, etc?

Why would you want to build back up an old coin.  Why not just start a new one you are probably better off.  Trying to revive an old coin from scratch is usually very hard to do.  Cost will vary but be careful to not get scammed by anyone in the process.

I understand your initial thoughts. Just something I kind of want to do. How would one avoid getting scammed? I've tried to look into doing it myself, but I haven't seen any guides to really switch from PoW to PoS or converting to a smart contract coin or anything.
8  Alternate cryptocurrencies / Altcoin Discussion / Getting developers for old coins on: October 10, 2022, 06:30:54 PM
Looking for developer(s) to update an old coin, possibly to do smart contracts and other things. Where do I go about doing that, any ideas on cost, etc?
9  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: October 07, 2022, 02:29:10 PM
Okay guys, so I've got a few ideas.

1. Tie ourselves into Chia coin somehow
2. Switch to proof of stake
3. Turn into a smart contracts coin
4. Tie ourselves in with smart contracts to other smart contract coins/setups

Or a combination thereof.

Any ideas, thoughts, etc before I try to take steps in that direction? Anyone know anyone who can help us with those goals? We need to grow this coin and that's really the only way; adapt and grow in its exposure and its versatility.
10  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: March 22, 2022, 09:23:32 PM
Correct me if I'm wrong, but the securities are the ones that have IPOs and sell the coins when they launch, right?
11  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: March 21, 2022, 11:03:16 PM
So, is this coin a security or just a cryptocurrency like Bitcoin? I'm thinking the latter.
12  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: December 03, 2021, 05:02:14 AM
Well that sucks honglu69, sorry to see the exchange go.

Now we also have to find another exchange to host us. Or maybe the reality is that coins like this that currently trade so low are not sustainable able to be on a standard exchange.
13  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: October 30, 2021, 12:04:25 PM
I've noticed www.noodlyappendagecoin.com doesn't specify any pools, just says "coming soon".

Also, I wonder if the church of the flying spaghetti monster would be willing to advertise or otherwise endorse us. Cryptocurrencies (even joke coins like Dogecoin are doing so well) I can't imagine they wouldn't want to take part in some way.
14  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: May 11, 2021, 09:08:04 PM
Just copy the Dogecoin website and change everything to Noodlyappendagecoin and related images.  It worked for them, why can't it work for us?

But, I do have some web people that might be able to do something. Once again, if they like me, every have that mythical free time.

Also, I was moving some DNS things around and might have caused a drop in resolution for a while.
Nobody posted about it / contacted me. But if you could not get to the sites, yeah I know and it's fixed.

-Dave

How much NDL do they want for that "myth" to come true?

It's not a question of money. They are salaried, it's just that if I pull them off of real work to do this my head winds up on a pike as warning to others.
If they choose to do me a favor and shift stuff around on their own, their heads wind up on the pike.

But, if there is a lull in "real" work, we can all play around with what we want. But, for a while now, real free time is not abundant.
Yeah, if they do it I'm going to throw them some money, but they can't just go and do it.

-Dave


Intriguing and understood.
15  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: May 11, 2021, 08:23:17 PM
Just copy the Dogecoin website and change everything to Noodlyappendagecoin and related images.  It worked for them, why can't it work for us?

But, I do have some web people that might be able to do something. Once again, if they like me, every have that mythical free time.

Also, I was moving some DNS things around and might have caused a drop in resolution for a while.
Nobody posted about it / contacted me. But if you could not get to the sites, yeah I know and it's fixed.

-Dave

How much NDL do they want for that "myth" to come true?
16  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: May 09, 2021, 09:41:46 PM
Still looking for someone to re-do the site into something that looks like it was made this decade.
Also, would be nice to have a few more "permanent" nodes that can be added into the coins DNS seeds for people to sync.

Still chugging along, might have more time to do things this summer but can't be sure.

-Dave

Just copy the Dogecoin website and change everything to Noodlyappendagecoin and related images.  It worked for them, why can't it work for us?
17  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: May 05, 2021, 02:51:27 PM
Peers that I am seeing at the moment:

23.233.55.92:40021
144.202.22.19:40021
183.159.68.150:56873

There are others out there.
Also, yes the .com address is now under my control it should be pointing to the main site.

Anyone want to redo the site into something better more modern?
Probably does not matter that much but it can't hurt if someone has the time to do it.

-Dave


Bravo!  I was just looking at shorelinecrypto and it looks like, at highest buy price, NDL market cap is about $35k and the lowest sell price puts it around $330k market cap.  Not too shabby.  Though I wonder if "now is our time" to really get this coin to take off.
18  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: October 29, 2020, 03:38:31 AM
I don't recall all the specifics, only that it was "different" for the new version.  It has been a while since I did it, so I don't recall exactly.  The wallet I have open shows no issue though, no "99.9999" percent or anything. Full 100%
19  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: October 28, 2020, 07:51:36 PM
As I recall, you have to have at least one connection to solo mine.

Edit: Also, as I recall, with the version 15.2 (versus the older version), the Bitcoin/Litecoin developers disabled the solo mining (compared to the way it was in the older version of the NDL wallet).  It has been a while for me thinking of such things.
20  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NDL - The coin for Pastafarians - Flying Spaghetti Monster Cryptocurrency! on: January 06, 2020, 05:38:49 PM
Somebody slammed the difficulty again a few hours ago. This is just getting stupid.
Since it's the pool I setup for just myself and a few other people to mine at occasionally that is causing this I am going to make some changes next week that will hopefully take care of it. Nobody has admitted to it so....

-Dave

Why is that stupid? Difficulty gotta rise. I skipped through the code but found no alarming spots nor suspicious lines I would feel the necessity to report. Madness is the only reason why people mine it. Only an outcast with sixty kids living below the waterline in a petroleum tank could be the archytype of a person paying attention to anything this insignificant.

The problem is that when people mine really hard really fast briefly and then leave it, the difficult is raised significantly to account for that miner.  Once that miner leaves and the difficulty has been adjusted to account for their presence, it can take days to get the blockchain moving again at a steady pace because the remaining hashing power isn't enough to hash enough blocks over a short period of time to alter the difficulty to reflect the lack of the really powerful miner.
Pages: [1] 2 3 4 5 6 7 8 9 10 11 12 13
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!