Author

Topic: [ANN] Litecoin - a lite version of Bitcoin. Launched! - page 371. (Read 1467485 times)

hero member
Activity: 630
Merit: 500
Posts: 69
How is this any different to creating a botnet?
The user would know they are mining either for themselves or for the site.
Quote
All it would do is turn people away from litecoin or consider the website a trojan installer.
I 100% disagree.  But if I had the perception of what you think the site would be used for, then I understand.
Quote
You really think it is OK to steal CPU cycles from people visiting the web site and there will be no back-lash?
Yes, there is a misunderstanding going on here.  Where is stealing anything coming into play?
Quote
... and who is going to keep the coins? I take it your not going to give the coins to the person who mined them?
lol, duh, of course not, but I make sure that the people who use the sites I have it on, know it is running.  I see the technology as a great way to avoid having to have ads on a web site while at the same time ensure costs can be recouped.  I have no unethical intentions, I have been using BitcoinPlus on the Bitcoin Porn web site for months now, it has been advertised that it is using it since day one, along with a link to information on how it works.   

A lot of technologies can be abused, but this one has a lot of good potential imo.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I'm currently working on a JavaScript based miner for LiteCoin if anyones interested in it?
Let me know if you are.
(This means mining can be as simple as opening a webpage! Maybe pointing to the IP address of your litecoind server first, or would people prefer a pool?)

This can be a good way to monetize a web site : the visitor is running your javascript miner as long as he keeps the page open.
A few suggestions :
- allow to parametrize how long and how heavily the miner will run to avoid annoying visitors (call it periodically for a fixed amount of cycles using timer callbacks).
- allow to keep track of who mined how many shares (session identifier passed together with the results) to provide incentive, or allow browsers to mine on pools.
any further info on this?

Yes, I completely missed this.

If someone can get this technology going, I will help promote the fuck out of it, if it works. 

Use this as the model http://bitcoinplus.com, except dont disappear after you create the site  Cheesy
How is this any different to creating a botnet?

All it would do is turn people away from litecoin or consider the website a trojan installer.

You really think it is OK to steal CPU cycles from people visiting the web site and there will be no back-lash?

... and who is going to keep the coins? I take it your not going to give the coins to the person who mined them?
sr. member
Activity: 406
Merit: 250
About to add litecoin support to simplecoin.us.

I also just sent a pull request to add native long polling support Smiley

UPDATE: LTC is active on simplecoin.us
hero member
Activity: 630
Merit: 500
Posts: 69
I'm currently working on a JavaScript based miner for LiteCoin if anyones interested in it?
Let me know if you are.
(This means mining can be as simple as opening a webpage! Maybe pointing to the IP address of your litecoind server first, or would people prefer a pool?)

This can be a good way to monetize a web site : the visitor is running your javascript miner as long as he keeps the page open.
A few suggestions :
- allow to parametrize how long and how heavily the miner will run to avoid annoying visitors (call it periodically for a fixed amount of cycles using timer callbacks).
- allow to keep track of who mined how many shares (session identifier passed together with the results) to provide incentive, or allow browsers to mine on pools.
any further info on this?

Yes, I completely missed this.

If someone can get this technology going, I will help promote the fuck out of it, if it works. 

Use this as the model http://bitcoinplus.com, except dont disappear after you create the site  Cheesy
full member
Activity: 196
Merit: 101
I'm currently working on a JavaScript based miner for LiteCoin if anyones interested in it?
Let me know if you are.
(This means mining can be as simple as opening a webpage! Maybe pointing to the IP address of your litecoind server first, or would people prefer a pool?)

This can be a good way to monetize a web site : the visitor is running your javascript miner as long as he keeps the page open.
A few suggestions :
- allow to parametrize how long and how heavily the miner will run to avoid annoying visitors (call it periodically for a fixed amount of cycles using timer callbacks).
- allow to keep track of who mined how many shares (session identifier passed together with the results) to provide incentive, or allow browsers to mine on pools.
any further info on this?
sr. member
Activity: 352
Merit: 250
Firstbits: 1m8xa
I haven't figured out a good way to present these 2 different mining options together without confusing the user.
Dropdown with "Pool" and "Solo" options, with a URL input for the pool getting disabled when solo is selected?
That's exactly what I was going to do. I'll start working on it in just a minute.

Please wait. I'm still flushing out the UI. So there's going to be a lot of conflicts if we both work on it at the same time.
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.

Ok, I checked in some tweaks:
- added drop down for pool mining versus solo mining (solo mining not hooked up to client's "-gen" option yet)
- added debug logging checkbox. this will print out what minerd prints out.
- various UI tweaks
- fixed 1000 bitcoin bugs (just kidding, just imitating CoinHunter/RealSolid here)

Still need to do:
- save config values using db as oppose to easyconfig.txt
- hook up solo mining option
- hook up mining status and hashrate with status icon at the bottom
- maybe move mining tab to right most tab (let me know if you don't want that)

Here's a sneak peek:

IMAGE

I did not build a windows binary yet since these are just minor changes. But those who know how to build there own, feel free to check it out.
You seem to have taken the protocol-dump parameter off. I had it enabled because otherwise it would take very long time for the output buffer to get filled and cleared (so the GUI application could read the output). It took around 3 minutes before it even showed the hash rate /wo protocol-dump being enabled.

Seems to be behaviour that differs between OSes. (I use Windows)

It causes a new problem with the new Debug Logging option though... Maybe if the protocol-dump related data could be omitted somehow?'
sr. member
Activity: 352
Merit: 250
Firstbits: 1m8xa
In other news, I've compiled a new version of ScryptMiner GUI for Windows that fixes the time reporting bug :
http://www.mediafire.com/?11ibe93r09dqo4e

Also, you seem to have taken the protocol dumping off. I enabled it because it causes the output buffers to fill much more quickly, so that the GUI application can read the output. It *might* behave differently on different OSes but I'll check it once I manage to get my repository up-to-date (damned Git)
Thank you i was already wondering what weird times i had on the other machines Cheesy

Yeah, it accidentally prepended the first digit of the year, which in this case was always 2... Tongue
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
In other news, I've compiled a new version of ScryptMiner GUI for Windows that fixes the time reporting bug :
http://www.mediafire.com/?11ibe93r09dqo4e

Also, you seem to have taken the protocol dumping off. I enabled it because it causes the output buffers to fill much more quickly, so that the GUI application can read the output. It *might* behave differently on different OSes but I'll check it once I manage to get my repository up-to-date (damned Git)
Thank you i was already wondering what weird times i had on the other machines Cheesy
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
lol your right coblee lol i forgot that its almost the same as put gen=1 in the conf Cheesy
But then again some do mine local solo but use other pc's connected to that machine to help mine for faster result, so in all it must be made clear what is the intension or what is meant by solo mining.
So what the definition of solo mining, I mine by myself  but i am also using my other pc's to get quicker result cause mining on just one pc takes some days to get a block when mining with more of my machines i end up doing 1 block in about 2 days or sometimes each day one
Or do i mine only with this machine hence the real solo mining which the setting gen=1 in litecoin.conf would do.....
sr. member
Activity: 352
Merit: 250
Firstbits: 1m8xa
In other news, I've compiled a new version of ScryptMiner GUI for Windows that fixes the time reporting bug :
http://www.mediafire.com/?11ibe93r09dqo4e

Also, you seem to have taken the protocol dumping off. I enabled it because it causes the output buffers to fill much more quickly, so that the GUI application can read the output. It *might* behave differently on different OSes but I'll check it once I manage to get my repository up-to-date (damned Git)
donator
Activity: 1654
Merit: 1354
Creator of Litecoin. Cryptocurrency enthusiast.
Quote
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.
I do not understand what you mean by that, the litecoin.conf needs to be editted just to have the needed info which for solo mining is given mutliple times
litecoin.conf should contain this {mean fill in your wanted info } (default or change it if you like)

rpcuser={ my username } or whatever name you think you want
rpcpassword={ my password }
rpcallowip=* ( can be changed into the local ip address if feel safer like 127.0.0.1)
rpcport=9332 (xxxx)
daemon=1
server=1
gen=0

block_nTime=1317972665
block_nNonce=2084524493

There is not much more needed this should be it and the litecoin.conf needs to be in the data map from litecoin in c:\users\{your windows username}\AppData\Roaming\Litecoin
I mean, as in reading the litecoin.conf file after the application has started, so that the user simply has to select "Solo Mining" and press "Start Mining" to start solo mining in the Mining tab.

Solo mining does not have url/port/user/password because it does need to use RPC to communicate with itself. All the block getwork data needed for solomining is already there in the mining thread.
donator
Activity: 1654
Merit: 1354
Creator of Litecoin. Cryptocurrency enthusiast.
I haven't figured out a good way to present these 2 different mining options together without confusing the user.
Dropdown with "Pool" and "Solo" options, with a URL input for the pool getting disabled when solo is selected?
That's exactly what I was going to do. I'll start working on it in just a minute.

Please wait. I'm still flushing out the UI. So there's going to be a lot of conflicts if we both work on it at the same time.
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.

Ok, I checked in some tweaks:
- added drop down for pool mining versus solo mining (solo mining not hooked up to client's "-gen" option yet)
- added debug logging checkbox. this will print out what minerd prints out.
- various UI tweaks
- fixed 1000 bitcoin bugs (just kidding, just imitating CoinHunter/RealSolid here)

Still need to do:
- save config values using db as oppose to easyconfig.txt
- hook up solo mining option
- hook up mining status and hashrate with status icon at the bottom
- maybe move mining tab to right most tab (let me know if you don't want that)

Here's a sneak peek:



I did not build a windows binary yet since these are just minor changes. But those who know how to build there own, feel free to check it out.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
you never can get around a preset value which needs to be in the litecoin.conf
coblee maybe can set a it to local user mode with preset values
like what for instance guiminer does when you choose solo mining, it simple makes a preset solo mining version into the bitcoin map
I am not sure if the litecoin.conf could be set to the same map as for the program which would make it easier for many people by that a preset conf file could be added to the install.
And is easier for find for most users when they have to edit the file for more advanced mining

user=user
password=local
rpcallowip=127.0.0.1
rpcport=9332
would do nicely
sr. member
Activity: 352
Merit: 250
Firstbits: 1m8xa
Quote
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.
I do not understand what you mean by that, the litecoin.conf needs to be editted just to have the needed info which for solo mining is given mutliple times
litecoin.conf should contain this {mean fill in your wanted info } (default or change it if you like)

rpcuser={ my username } or whatever name you think you want
rpcpassword={ my password }
rpcallowip=* ( can be changed into the local ip address if feel safer like 127.0.0.1)
rpcport=9332 (xxxx)
daemon=1
server=1
gen=0

block_nTime=1317972665
block_nNonce=2084524493

There is not much more needed this should be it and the litecoin.conf needs to be in the data map from litecoin in c:\users\{your windows username}\AppData\Roaming\Litecoin
I mean, as in reading the litecoin.conf file after the application has started, so that the user simply has to select "Solo Mining" and press "Start Mining" to start solo mining in the Mining tab.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
Quote
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.
I do not understand what you mean by that, the litecoin.conf needs to be editted just to have the needed info which for solo mining is given mutliple times
litecoin.conf should contain this {mean fill in your wanted info } (default or change it if you like)

rpcuser={ my username } or whatever name you think you want
rpcpassword={ my password }
rpcallowip=* ( can be changed into the local ip address if feel safer like 127.0.0.1)
rpcport=9332 (xxxx)
daemon=1
server=1
gen=0

block_nTime=1317972665
block_nNonce=2084524493

There is not much more needed this should be it and the litecoin.conf needs to be in the data map from litecoin in c:\users\{your windows username}\AppData\Roaming\Litecoin
sr. member
Activity: 352
Merit: 250
Firstbits: 1m8xa
I haven't figured out a good way to present these 2 different mining options together without confusing the user.
Dropdown with "Pool" and "Solo" options, with a URL input for the pool getting disabled when solo is selected?
That's exactly what I was going to do. I'll start working on it in just a minute.

Please wait. I'm still flushing out the UI. So there's going to be a lot of conflicts if we both work on it at the same time.
Alright, to be fair I have no idea how to proceed with the solo mining part, since I need to know the RPC port, username and password, and I have no idea how to do it without modifying the underlying code.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
Ah fantastic coblee Cheesy
Thats what i wanted to know xD
Quickly gonna put the fixed version in the litecoin map xD


And we have lift off, chucking away on litecoin again Cheesy
Nice work people very handy like this i love it
donator
Activity: 1654
Merit: 1354
Creator of Litecoin. Cryptocurrency enthusiast.
I do like the mining option alot but the problem with it is that it uses only the default minerd
So replacing it with the proper format one for any given cpu version is not an option anymore or you should add an option to load them...
The difference between the normal and the original one is huge at the least.
The programmer made many advanced miners for different cpu types. Which ofcourse can make a huge difference.
Now for those who think running a other then the one intended for their cpu, and seeing bigger number i must disappoint you, your result probably ends up being rejected if you do.
So just use the one exactly with the intended cpu extensions as given by the maker.
ssse3 for intel core cpu's, i7 for what else Cheesy, and the amd sse4a for the latest models having this on board
Amd users are in for a surprise when install this much better minerd.exe on my old x3-720 went from 1.3 to 2.8 khash/s each core .... Cheesy
Are you using the scryptminer gui then make a copy of the original minerd.exe and rename the specialist version to minerd.exe and off you go.
 

You actually need to provide your own minerd binary. So it will use whatever minerd it finds in the same path as your Litecoin-QT application.
donator
Activity: 1654
Merit: 1354
Creator of Litecoin. Cryptocurrency enthusiast.
I haven't figured out a good way to present these 2 different mining options together without confusing the user.
Dropdown with "Pool" and "Solo" options, with a URL input for the pool getting disabled when solo is selected?
That's exactly what I was going to do. I'll start working on it in just a minute.

Please wait. I'm still flushing out the UI. So there's going to be a lot of conflicts if we both work on it at the same time.
hero member
Activity: 774
Merit: 500
Lazy Lurker Reads Alot
I do like the mining option alot but the problem with it is that it uses only the default minerd
So replacing it with the proper format one for any given cpu version is not an option anymore or you should add an option to load them...
The difference between the normal and the original one is huge at the least.
The programmer made many advanced miners for different cpu types. Which ofcourse can make a huge difference.
Now for those who think running a other then the one intended for their cpu, and seeing bigger number i must disappoint you, your result probably ends up being rejected if you do.
So just use the one exactly with the intended cpu extensions as given by the maker.
ssse3 for intel core cpu's, i7 for what else Cheesy, and the amd sse4a for the latest models having this on board
Amd users are in for a surprise when install this much better minerd.exe on my old x3-720 went from 1.3 to 2.8 khash/s each core .... Cheesy
My intel Q6600 did better also with the ssse3 version went from 0.95 khash to 1.33 on each core.

Are you using the scryptminer gui then make a copy of the original minerd.exe and rename the specialist version to minerd.exe and off you go.
Jump to: