novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

Add Block constructor to make mining code simpler #424

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A constructor on Block that simply allowed the called to pass in all the 
information needed to create new mined blocks would be very handy.

Currently my mining software (SockThing) has to ship with a customized version 
of Block.java which I would prefer to avoid.

Attached diff adds the required constructor.

Original issue reported on code.google.com by fireduck@gmail.com on 3 Jul 2013 at 9:09

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 1296074e8fd0.

Original comment by hearn@google.com on 4 Jul 2013 at 10:13