there is no code for mining bitcoins in bitcoinj right now.
Regards,
Andreas
For performance, maybe we can write a thread skeleton, and using C on
CPU/GPU to compute hash code.
I read some code in cpu-miner, it sends a "getwork []" to ask for
mining work. Once it gets a block, it sends "getwork [block]" to ask
for confirmation. But I can't find the logic for handling "getwork" in
bitcoinj.
Is it included now? If yes, would you show me some hints? If not, do
you have plan to add it?
Great appreciate your information!