Author Topic: Bitcoin mining in java  (Read 882 times)

0 Members and 1 Guest are viewing this topic.

Offline m1kesanders

  • Serf
  • *
  • Posts: 48
  • Cookies: -5
  • I'm sarcastic, somewhat new, and a grey hat
    • View Profile
Bitcoin mining in java
« on: 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

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Bitcoin mining in java
« Reply #1 on: June 01, 2014, 09:42:26 pm »
I don't think it works so simply like that. It needs to be distributed.

Offline m1kesanders

  • Serf
  • *
  • Posts: 48
  • Cookies: -5
  • I'm sarcastic, somewhat new, and a grey hat
    • View Profile
Re: Bitcoin mining in java
« Reply #2 on: 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) 

Offline ande

  • Owner
  • Titan
  • *
  • Posts: 2664
  • Cookies: 256
    • View Profile
Re: Bitcoin mining in java
« Reply #3 on: 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.
« Last Edit: June 01, 2014, 10:40:15 pm by ande »
if($statement) { unless(!$statement) { // Very sure } }
https://evilzone.org/?hack=true

Offline Matriplex

  • Knight
  • **
  • Posts: 323
  • Cookies: 66
  • Java
    • View Profile
Re: Bitcoin mining in java
« Reply #4 on: 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.
\x64\x6F\x75\x65\x76\x65\x6E\x00

Offline Deque

  • P.I.N.N.
  • Global Moderator
  • Overlord
  • *
  • Posts: 1203
  • Cookies: 518
  • Programmer, Malware Analyst
    • View Profile
Re: Bitcoin mining in java
« Reply #5 on: 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?
« Last Edit: June 02, 2014, 07:41:51 pm by Deque »

Offline proxx

  • Avatarception
  • Global Moderator
  • Titan
  • *
  • Posts: 2803
  • Cookies: 256
  • ФФФ
    • View Profile
Re: Bitcoin mining in java
« Reply #6 on: 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 :)
Wtf where you thinking with that signature? - Phage.
This was another little experiment *evillaughter - Proxx.
Evilception... - Phage

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Bitcoin mining in java
« Reply #7 on: 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.