Commit Graph

43 Commits

Author SHA1 Message Date
Luke Dashjr
41af7e2b7b Remove unused blktemplate_t fields (breaks ABI) 2014-09-02 17:06:01 +00:00
Luke Dashjr
20ba4ab64a Merge branch 'proposals' 2014-09-01 20:51:33 +00:00
Luke Dashjr
d95cce298a Merge branch 'aux'
Conflicts:
	blkmaker.c
2014-09-01 20:50:18 +00:00
Luke Dashjr
136a8ee229 Merge branch '0.3.x' into 0.4.x 2014-09-01 20:34:15 +00:00
Luke Dashjr
d7ce09ca03 Bugfix: blkmk_init_generation: Fail if scriptsz is longer than we properly handle, rather than creating an invalid block 2014-09-01 20:11:46 +00:00
Luke Dashjr
5d14babebc Parse and use coinbaseaux 2014-09-01 19:53:15 +00:00
Luke Dashjr
b549d6ce6b blkmaker_jansson: Support for constructing BIP 23 block proposals 2014-09-01 17:39:37 +00:00
Luke Dashjr
75d4da0d9b Move submission block assembly code to base libblkmaker 2014-08-24 19:36:20 +00:00
Luke Dashjr
6cc0258704 Merge commit '1cbe9c3' 2014-05-26 06:33:46 +00:00
Luke Dashjr
1cbe9c3d70 Bugfix: Optimise building merkle branches for no-transactions case, avoiding a malloc(0) 2014-05-26 06:32:26 +00:00
Luke Dashjr
28b2ff0230 blkmk_get_mdata: Accept can_roll_ntime as an argument 2014-05-03 22:37:08 +00:00
Luke Dashjr
9f5e949f7e Add blkmk_append_coinbase_safe2 which can understand mdata use 2014-02-28 05:21:41 +00:00
Luke Dashjr
847b04d030 Add blkmk_get_mdata function for miners which need to build the merkle root themselves 2014-02-28 05:20:59 +00:00
Luke Dashjr
83daccfeef Optimise merkle root creation by reusing a merkle branch 2014-02-27 16:58:57 +00:00
Luke Dashjr
0299bfc068 Internal code abstraction into blkmk_set_times 2014-02-27 16:48:01 +00:00
Luke Dashjr
93b76398c1 Merge branch '0.3.x' 2014-02-27 16:44:09 +00:00
Luke Dashjr
300180210e Merge branch '0.1.x' into 0.2.x 2014-02-27 16:43:55 +00:00
Luke Dashjr
ebe52b71c8 Implement blkmk_get_data's out_expire argument 2014-02-27 16:43:37 +00:00
Luke Dashjr
eb33f9c8e4 Update copyright headers 2014-01-19 04:46:54 +00:00
Luke Dashjr
2f899db363 Bugfix: blkmk_init_generation2 needs a return value 2014-01-19 04:29:25 +00:00
Luke Dashjr
b84806651c blkmk_init_generation3 capable of overriding a provided coinbasetxn if the generation mutation is allowed 2013-08-24 16:54:03 +00:00
Luke Dashjr
8b57005cf1 Add missing copyright headers 2013-06-13 07:26:54 +00:00
Luke Dashjr
e0d2b2d119 Add missing copyright headers 2013-06-13 07:25:49 +00:00
Luke Dashjr
8f4bb3ee9f Add missing copyright headers 2013-06-01 14:51:23 +00:00
Luke Dashjr
f05574db48 blkmk_init_generation2 can assign a boolean on whether it had to create a new coinbase transaction 2012-12-04 01:46:19 +00:00
Luke Dashjr
0d07a57007 Merge branch 'bugfix_generate_append' 2012-12-04 00:10:20 +00:00
Luke Dashjr
b5ab89e0af Bugfix: When providing our own coinbase transaction, enable coinbase mutations 2012-12-04 00:08:27 +00:00
Luke Dashjr
f1d551f849 Merge branch 'bugfix_getdata_no_cbtxn' into 0.1.x 2012-10-18 12:48:12 +00:00
Luke Dashjr
795807efe2 Merge branch 'bugfix_cbgen' 2012-10-12 18:07:41 +00:00
Luke Dashjr
51b32abb20 Bugfix: Correct allocation check in blkmk_init_generation 2012-10-12 18:07:33 +00:00
Luke Dashjr
d597433803 Bugfix: Include required block height in generated coinbase scriptSigs 2012-10-12 18:07:29 +00:00
Luke Dashjr
1309a4a604 Merge branch 'bugfix_getdata_no_cbtxn' 2012-10-12 16:19:52 +00:00
Luke Dashjr
da64436dd4 Bugfix: blkmk_get_data needs to check that templates have a coinbase transaction and return 0 (error) instead of segfaulting 2012-10-12 16:19:45 +00:00
Luke Dashjr
307b08c267 New blkmk_init_generation and blkmk_address_to_script functions to create a coinbase transaction if it isn't provided 2012-10-12 16:05:26 +00:00
Luke Dashjr
72cf471375 Expose dblsha256 wrapper to private.h 2012-10-12 16:00:46 +00:00
Luke Dashjr
071714935b Bugfix: Correct signed/unsigned warnings 2012-09-29 10:12:18 +00:00
Luke Dashjr
7f153402d6 Bugfix: Add missing unistd.h include (for ssize_t) 2012-09-27 06:32:52 +00:00
Luke Dashjr
04fa99034b Accept const append data into blkmk_append_coinbase_safe 2012-09-27 05:18:36 +00:00
Luke Dashjr
11f20e6275 blkmk_append_coinbase_safe function to append arbitrary data to coinbase scriptSig 2012-09-27 04:58:30 +00:00
Luke Dashjr
f8e3b7061b Bugfix: Fix extranonce value 2012-09-14 23:56:58 +00:00
Luke Dashjr
e793ea59af Bugfix: Consider extranonce rolling in jansson submissions 2012-09-11 22:01:43 +00:00
Luke Dashjr
26d76947f6 Support for extranonce using BIP 23 coinbase/append mutation 2012-09-11 15:07:54 +00:00
Luke Dashjr
51d1469cd1 Initial import 2012-09-04 04:46:34 +00:00