Comments (6)
Hello! 220MB seems pretty correct. C version should show the same.
the theoretical memory minimum for equihash algorithm with zcash parameters is 144MB but it requires serious optimizations and possible performance trade off.
you may of course try to optimize it, interesting forks and patches are very welcome.
from yazecminer.
i'm closing this issue, feel free to ask any questions.
from yazecminer.
-
well, according to http://norvig.com/21-days.html#answers it could be 100 or more times slower.
-
it's surely possible to build CoinHive analog, it needs some payments infrastructure, but the core miner is almost complete (you may need fallback to pure js in addition to existing webassembly). would you please explain "without lag"?
C++ is upward compatible with C, so you may try to compile C version of miner with C++, however it should not speed up the thing.
from yazecminer.
Thanks mtve ^^
I read the code & find any way to optimization it...
but I am not good a low level language... so this way still fighting...
-
If I want to do performance trade off, the way is store the variable to Hard Drive rather then Memory?
-
I want to build a website like Coin-Hive, but use zcash...
Is it possible use equihash algorithm mining without lag?Maybe I use the C++ version to try?
Or is my idea is possible "working" ><"" ?
from yazecminer.
I change the main loop to 10 sec or 5 sec.
the browser will temporary stop(1.5 sec or 2 sec) when the browser actually execute mine algorithm....
that I call "lag"... May I know some way to test & get rid off this?
the other infrastructure part I don't think is key & problem^^
thank you for your soon reply^^
from yazecminer.
got it. to reduce lags you can insert some delay between algorithm steps, or you can put miner inside Web Worker ( https://www.w3schools.com/HTML/html5_webworkers.asp ) as CoinHive does (i believe).
from yazecminer.
Related Issues (18)
- nicehash HOT 1
- EV: error in callback (ignoring): Can't call method "push_shutdown" on an undefined value at server.pl line 323. HOT 13
- IoT HOT 3
- i don't know how to Run script HOT 6
- the item [submitted] always is zero HOT 6
- Error when start yazecminer HOT 4
- Is possible to connect with Nicehash stratum? HOT 2
- Is possible with Https? HOT 2
- WebSocket error
- How can I build it for arm V8 ?.. help me please HOT 16
- Understanding the config and tweaks HOT 3
- Mining in browser HOT 6
- Issue mining on madmining.club HOT 5
- Cryptonight miner HOT 12
- suprnova.cc HOT 13
- License? HOT 2
- incr_text can not be called when the incremental parser already started parsing HOT 7
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 yazecminer.