EvilZone

Programming and Scripting => Projects and Discussion => : m1kesanders June 01, 2014, 09:01:41 PM

: Bitcoin mining in java
: m1kesanders June 01, 2014, 09:01:41 PM
Hey i'm looking to create a bitcoin miner, in java i'm fairly proficient in java, I'm just unaware how bitcoin mining works and how I'd go about incorporating it in a java program, I don't want this to be some bullshit mining program my hope is that it's work at high speeds to increase the output anyone willing to help will get a copy of the code of course, even if you just message me and tell me what i'd want to do, thanks
: Re: Bitcoin mining in java
: Kulverstukas June 01, 2014, 09:42:26 PM
I don't think it works so simply like that. It needs to be distributed.
: Re: Bitcoin mining in java
: m1kesanders June 01, 2014, 09:53:50 PM
I know it doesn't work so simply that's why i'd need help from more experienced people in making it work, I mean that's what a hacker does takes something that shouldn't work and finds a way to make it work (well one of the things they do) 
: Re: Bitcoin mining in java
: ande June 01, 2014, 10:38:51 PM
You wont achieve 'High speeds' with Java in general, the best ones out there are pure optimized assembly. Not the entire miners, but the cryptography parts. Another thing to consider as well is GPU vs CPU. CPU is pretty much useless by now, unless you happen to have like 50k computers. And I have no idea if you can even do GPU with Java. Just searched a bit, and it looks like there are ways to use GPU with Java, but still..

Remember, reinventing the wheel is not necessary.
: Re: Bitcoin mining in java
: Matriplex June 02, 2014, 02:01:05 AM
You can do operations on the graphics card with GLSL in OpenGL, but I'm not really sure you want to do that.
: Re: Bitcoin mining in java
: Deque June 02, 2014, 07:40:43 PM
It might be a good idea to look into similar projects: https://bitcoinj.github.io/

Edit: WTH does everyone name his java projects j-something or something-j?
: Re: Bitcoin mining in java
: proxx June 02, 2014, 08:18:37 PM
It might be a good idea to look into similar projects: https://bitcoinj.github.io/

Edit: WTH does everyone name his java projects j-something or something-j?
Like pycake or cakepy.
With languages like C you never hear that :)
: Re: Bitcoin mining in java
: Kulverstukas June 02, 2014, 09:09:50 PM
It might be a good idea to look into similar projects: https://bitcoinj.github.io/

Edit: WTH does everyone name his java projects j-something or something-j?
Or like something-droid or droid-something.