Comments (4)
This isn't a true Bitcoin miner, but more of a proof of concept on how mining works. It only mines a single simulated block
from cool_python_apps.
Yeah! as zevaryx mentioned above, this code only has demo purposes to get the idea and concept of mining.
from cool_python_apps.
And where can I find a TRUE script to mine bitcoins to my wallet, I changed the code, and now is in a loop so is just mining and mining and all of that. so where can I find one that sends the bitcoins to my wallet?
from cool_python_apps.
For various reasons, that would be a terrible idea.
tl;dr is that you can't directly mine BTC with standard computers anymore, ignoring that this code is just a proof of concept.
Full reasons:
- Bitcoin mining is astronomically difficult to compute with normal computers, even with GPU acceleration. You typically mine it with something called an ASIC miner, but not with a normal PC
- Most mining programs are written in much lower languages than Python, like C/C++, and have very well-optimized algorithms that they use, typically taking advantage of SSE and AVX instructions on CPUs, and OpenCL or CUDA processing on GPUs. This type of optimization is not possible with Python (at least, not without writing a good portion of the code in C and importing it)
- This code doesn't actually mine anything, but merely simulates what mining would be like. Mining requires accessing the blockchain, synchronizing, validation, and mining. This code does none of that, merely simulating something similar to mining.
from cool_python_apps.
Related Issues (6)
- Explanation HOT 1
- #help π₯Ίππ HOT 1
- hi sir! what is that? HOT 2
- Explanation Please
- keeps getting 429 error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cool_python_apps.