Bitcoin Forum
March 19, 2024, 06:07:07 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 6 »  All
  Print  
Author Topic: [LTC] Online Litecoin Miner  (Read 52231 times)
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
November 27, 2011, 04:23:22 PM
 #41

I would like to know what everybody thinks about embeddable miners, such as the one by BitcoinPlus (http://www.bitcoinplus.com/miner/embeddable).

First off, I want to make it clear that if Litecoin is successful somebody will eventually come up with a (potentially evil) embedded miner, no matter what. (Especially since I am going to release the source code of the Java miner very soon - stay tuned. Smiley)

As terrytibbs pointed out, for some sites such miners may represent a nice alternative to ads. On the other hand, they might be even more annoying to some visitors.
Personally I think they can be fine as long as the visitor is informed of what's going on (that would also bring some publicity to Litecoin), and can choose to opt-out at any moment. The problem is, of course, that this cannot be enforced by the pool to which the miner submits its work.

On the technical side, I think it would be wise for such miners to leave single-core systems alone, and only start n-1 threads for an n-core system.

I still haven't decided if I will release an embeddable miner, I would like to hear other people's opinions first.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710828427
Hero Member
*
Offline Offline

Posts: 1710828427

View Profile Personal Message (Offline)

Ignore
1710828427
Reply with quote  #2

1710828427
Report to moderator
CAMOPEJB
Full Member
***
Offline Offline

Activity: 132
Merit: 100



View Profile
November 27, 2011, 07:04:14 PM
 #42

I think its a great idea  Wink
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560
Merit: 501



View Profile
November 27, 2011, 07:11:21 PM
 #43

I still haven't decided if I will release an embeddable miner, I would like to hear other people's opinions first.
Do it. It's going to happen anyways.

I want to expand the donation feature of the liteco.in forums to allow donating spare CPU cycles to that address (optional, of course), right now it's just a giant address - http://donate.liteco.in/1. This would allow that.
michaelmclees
Hero Member
*****
Offline Offline

Activity: 633
Merit: 500


View Profile
November 27, 2011, 07:59:19 PM
 #44

I vote for release.  It functions as security and advertising for Litecoin.
jago25_98
Hero Member
*****
Offline Offline

Activity: 900
Merit: 1000


Crypto Geek


View Profile WWW
November 28, 2011, 12:14:49 PM
 #45

Works great on win7 and 64bit. Can't get the applet to run without freezing on linux 32bit, Firefox or Chromium with Icetea6 java

Code:
java command is:
user         4274 99.5  9.7 801864 200528 ?       Sl   09:06   5:36 /usr/lib/jvm/java-6-openjdk/jre/bin/java -Xbootclasspath/a:/usr/share/icedtea-web/netx.jar:/usr/share/icedtea-web/plugin.jar -classpath /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar sun.applet.PluginMain /tmp/icedteaplugin-user/4230-icedteanp-plugin-to-appletviewer /tmp/icedteaplugin-j/4230-icedteanp-appletviewer-to-plugin
Code:
j@laptop:~$ java -version
java version "1.6.0_23"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b23~pre10-0ubuntu5)
OpenJDK Server VM (build 20.0-b11, mixed mode)
j@laptop:~$

Will now try different java jre.

Bitcoiner since the early days. Crypto YouTube Channel: Trading Nomads | Analyst | News Reporter | Bitcoin Hodler | Support Freedom of Speech!
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


Posts: 69


View Profile WWW
November 28, 2011, 01:15:42 PM
 #46

Again I ask - why these projects?
The only real application for them is to steal CPU cycles from people browsing your web sites.

Just like the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR.    I guess it is possible to see it that way if you shut your eyes halfway so everything looks blurry.   

BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


Posts: 69


View Profile WWW
November 28, 2011, 01:17:59 PM
 #47

I would like to know what everybody thinks about embeddable miners, such as the one by BitcoinPlus (http://www.bitcoinplus.com/miner/embeddable).

Please do it.  I guarantee more Litecoin users because of this.   Many elements of BitcoinPlus were done right too, such as the page that explains why is my computer making noise when it's on this site and etc. 

btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 101

Bitcoin!


View Profile WWW
November 28, 2011, 02:13:52 PM
 #48

On the technical side, I think it would be wise for such miners to leave single-core systems alone, and only start n-1 threads for an n-core system.
On a side note, it would also be nice to be able to throttle back the miner so it doesn't use 100% of the cpu(s) it's running on.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
November 28, 2011, 09:15:38 PM
 #49

On a side note, it would also be nice to be able to throttle back the miner so it doesn't use 100% of the cpu(s) it's running on.

Nice idea, I will definitely look into that.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
kano
Legendary
*
Offline Offline

Activity: 4438
Merit: 1794


Linux since 1997 RedHat 4


View Profile
November 29, 2011, 12:56:30 AM
 #50

Again I ask - why these projects?
The only real application for them is to steal CPU cycles from people browsing your web sites.

Just like the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR.    I guess it is possible to see it that way if you shut your eyes halfway so everything looks blurry.  
Never said that - so clearly "the only real application for Bitcoin is to ensure illegal goods are able to be traded freely on TOR" is your opinion.

Well it doesn't really matter coz I am certain that these mining programs will be added to web sites that will use your CPU without permission.
Then, of course, the browsers will add things to stop them and that will be the end of it.

(Edit: and the bitcoinplus site doesn't bother to point out that it costs WAY more in electricity to use than you will gain - in fact it doesn't point out anything at all about the costs and return ... I wonder why? Simple coz those numbers are so bad.)

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
BitcoinPorn
Hero Member
*****
Offline Offline

Activity: 630
Merit: 500


Posts: 69


View Profile WWW
November 29, 2011, 01:54:06 AM
 #51

(Edit: and the bitcoinplus site doesn't bother to point out that it costs WAY more in electricity to use than you will gain - in fact it doesn't point out anything at all about the costs and return ... I wonder why? Simple coz those numbers are so bad.)

Actually, in the case of that site, it was profitable when it started, even on a personal level I believe.  But it was more for people who owned sites, which at this point I don't think it is good for at all, I imagine only some form of browser "bot net" type situation would only make that valuable.  The owner abandoned the site for the most part, updates on it stopped long ago.

Anyways, of course I don't think that about Bitcoin as far as trading and TOR.  I know it is one application of it, just as the people who would abuse an online miner are only a subset of the people who want this on web sites. 

I think of the online miner as an ad replacement.  Web sites of full content, being able to have costs paid by the users electricity, who would rather pay with just a little electricity than the eyesores that are ads. 

kjlimo
Legendary
*
Offline Offline

Activity: 2086
Merit: 1031


View Profile WWW
November 29, 2011, 04:25:00 AM
 #52

What about this on an Android phone?  I just bought one, heh.

Is Java available on Android OS?  Do I need to/can I install that first?

Then would this be possible to run on a cell phone?  I'm pretty sure mine is single core though.  Is there a way to lower the "priority" for a process like I can when I "task manager" the process to a lower priority?

Coinbase for selling BTCs
Fold for spending BTCs
PM me with any questions on these sites/apps!  http://www.montybitcoin.com


or Vircurex for trading alt cryptocurrencies like DOGEs
CoinNinja for exploring the blockchain.
kjlimo
Legendary
*
Offline Offline

Activity: 2086
Merit: 1031


View Profile WWW
November 29, 2011, 04:32:42 AM
 #53

What about this on an Android phone?  I just bought one, heh.

Is Java available on Android OS?  Do I need to/can I install that first?

Then would this be possible to run on a cell phone?  I'm pretty sure mine is single core though.  Is there a way to lower the "priority" for a process like I can when I "task manager" the process to a lower priority?

Doesn't look like Java allows downloads from their site.  It says the Mobile Java needs to be installed by the distributor/developer.

Coinbase for selling BTCs
Fold for spending BTCs
PM me with any questions on these sites/apps!  http://www.montybitcoin.com


or Vircurex for trading alt cryptocurrencies like DOGEs
CoinNinja for exploring the blockchain.
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
November 29, 2011, 09:43:47 AM
 #54

Is Java available on Android OS?

I fear not... Sad
http://android.stackexchange.com/questions/987/are-there-any-android-browsers-that-support-loading-a-java-applet-in-browser
http://www.tomshardware.co.uk/forum/51690-21-java-android-tablets-honeycomb

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
November 29, 2011, 09:56:27 PM
 #55

The first version of the embeddable miner is ready. Smiley
I have written a short guide for webmasters interested in testing:
http://www.litecoinpool.org/embed

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
terrytibbs
Hero Member
*****
Offline Offline

Activity: 560
Merit: 501



View Profile
November 29, 2011, 10:05:13 PM
 #56

The first version of the embeddable miner is ready. Smiley
I have written a short guide for webmasters interested in testing:
http://www.litecoinpool.org/embed
Looks great! I'll tinker around with it a little in a bit.

Add the ability to mine directly to a specific address and I'm all set. I understand that this will require some changes to your backend due to the way workers are handled, though.
rTech
Sr. Member
****
Offline Offline

Activity: 305
Merit: 250


Trust but confirm!


View Profile
November 29, 2011, 10:09:13 PM
 #57

Yes its awesome, it make Litecoinpool.org bit more better place when it has something that others doesnt have yet like this website embedded miner Cheesy I had honor to betatest it Cheesy and it works like a dream.
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 101

Bitcoin!


View Profile WWW
November 29, 2011, 11:41:56 PM
 #58

The first version of the embeddable miner is ready. Smiley
I have written a short guide for webmasters interested in testing:
http://www.litecoinpool.org/embed
It would be nice to have some more granularity in throttling the miner. A way to accomplish the following:

1 cpu = use 25% of it (25% of all resources)
2 cpus = use 75% of one (37.5% of all resources)
3 cpus = use 1.5 (100% of one and 50% of the second) (50% of all resources)
4 cpus = use 2.5 (100% of two and 50% of the third) (62.5% of all resources)

The goal would be to not overtax old systems, but give a little more work to newer systems that can handle it.

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
btc_artist
Full Member
***
Offline Offline

Activity: 154
Merit: 101

Bitcoin!


View Profile WWW
November 29, 2011, 11:44:01 PM
 #59

Also, if you set threads to -1, will it not run on systems with 1 cpu?

BTC: 1CDCLDBHbAzHyYUkk1wYHPYmrtDZNhk8zf
LTC: LMS7SqZJnqzxo76iDSEua33WCyYZdjaQoE
pooler (OP)
Hero Member
*****
Offline Offline

Activity: 838
Merit: 507


View Profile
November 30, 2011, 12:12:15 AM
 #60

Also, if you set threads to -1, will it not run on systems with 1 cpu?

Yes, that's what I proposed a couple days ago. The current default is:

1 cpu = leave it alone (0% of all resources)
2 cpus = use 80% of one (40% of all resources)
3 cpus = use 1.6 (80% of two) (53% of all resources)
4 cpus = use 2.4 (80% of three) (60% of all resources)

This looks very similar to what you proposed. The only noticeable difference is in the single-core case.
But again, I'm not sure we should put any stress on single-core machines. Correct me if I'm wrong, but these would mainly be relatively old 32-bit cpus, and at 25% you wouldn't get much out of them.
We should also consider that every connection to the work provider puts a little more load on the server, so I wonder if it would be worth it.

BTC: 15MRTcUweNVJbhTyH5rq9aeSdyigFrskqE · LTC: LTCPooLqTK1SANSNeTR63GbGwabTKEkuS7
Pages: « 1 2 [3] 4 5 6 »  All
  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!