Commit Graph

185 Commits

Author SHA1 Message Date
Luke Dashjr
b2dda538c8 blkmk_init_generation*: Correct output newcb value even in error conditions 2018-02-17 17:51:27 +00:00
Luke Dashjr
366b8bc358 Bugfix: blkmk_init_generation*: Check cbvalue is known before making a new generation transaction using it
Backported from 07ce01f57a
2018-02-17 17:51:24 +00:00
Luke Dashjr
61deba379e Avoid memcpy with potentially NULL pointer if scriptsz is zero 2016-12-01 23:30:06 +00:00
Luke Dashjr
9cfdca809c Bugfix: blkmk_append_coinbase_safe2: Check for unexpected larger values before subtracting 2016-08-13 08:24:59 +00:00
Luke Dashjr
711b938fb8 gitignore: Various development-related files 2016-08-12 04:55:56 +00:00
Luke Dashjr
65b9f2dcd0 Document uselessness and future removal of blktemplate_t.{min,max}nonce 2016-08-12 03:38:02 +00:00
Luke Dashjr
37cd25dfc1 Merge commit '5a88bc5' into 0.4.x 2016-08-12 01:03:06 +00:00
Luke Dashjr
5a88bc541a Allocate heap space for hashes, rather than use the (potentially too small) stack 2016-08-12 01:02:08 +00:00
Luke Dashjr
33ce817739 Merge branch 'bip9_0.4.x' into 0.4.x 2016-08-11 07:39:22 +00:00
Luke Dashjr
acc9266d63 Merge commit '2cad5fd' into 0.4.x 2016-08-11 07:39:09 +00:00
Luke Dashjr
ce5125dc90 Merge commit '15745d4' into 0.4.x 2016-08-11 07:38:58 +00:00
Luke Dashjr
328300edbe Merge commit '4a01674' into 0.4.x 2016-08-11 07:38:45 +00:00
Luke Dashjr
1783777646 Merge commit 'ebd42b2' into 0.4.x 2016-08-11 07:38:31 +00:00
Luke Dashjr
4be60421c8 Bugfix: Refuse to accept an unparsable vbrequired 2016-08-11 07:36:42 +00:00
Luke Dashjr
2cad5fdadb Bugfix: Refuse to accept a template with neither coinbasetxn nor coinbasevalue 2016-08-11 07:35:41 +00:00
Luke Dashjr
15745d4a5f Bugfix: Ensure coinbase is always at least 4 bytes long 2016-08-11 07:34:34 +00:00
Luke Dashjr
4a01674cd0 Bugfix: blkmk_get_mdata must fail if we cannot append the coinbase 2016-08-11 07:29:31 +00:00
Luke Dashjr
ebd42b2461 Bugfix: Correct blkmk_work_left for single-work templates that have been used 2016-08-11 07:29:01 +00:00
Luke Dashjr
d594808495 Merge commit '723a7e5' into 0.4.x 2016-08-10 22:04:58 +00:00
Luke Dashjr
723a7e543b Bugfix: Correctly parse "generation" and "time" mutations 2016-08-10 22:04:41 +00:00
Luke Dashjr
1ff98a1199 gitignore autotools compile wrapper 2016-07-30 22:19:35 +00:00
Luke Dashjr
5875a41d34 Merge branch 'bip9_0.4.x' into 0.4.x 2016-07-26 03:22:05 +00:00
Luke Dashjr
9f58bcb4aa Bugfix: Check range of number values
Ensure they survive the round-trip from double to their native type and (implicitly) back
2016-07-26 02:17:05 +00:00
Luke Dashjr
cc07c06238 jansson: Read time header mutation parameters 2016-05-27 17:24:47 +00:00
Luke Dashjr
24633a987f Bugfix: Use json_number_value in case jansson decided to parse numbers as a "real" 2016-05-27 17:23:30 +00:00
Luke Dashjr
f658eabf5e "csv" deployment requires no particular changes, so add it to supported rules 2016-05-25 03:51:52 +00:00
Luke Dashjr
ae7055df8b Parse BIP 9 template fields, and implement handling of unrecognised rules 2016-05-25 03:51:52 +00:00
Luke Dashjr
1e49556078 Implement BIP 9 template request "rules" parameter 2016-05-25 03:49:05 +00:00
Luke Dashjr
4bebe501ad Update for current feature test macros 2016-01-27 07:13:14 +00:00
Luke Dashjr
1fe058443f Bump versions for 0.4.3 2015-11-09 05:33:41 +00:00
Luke Dashjr
5c535ed092 Support for BIP65 version 4 blocks 2015-11-09 05:32:40 +00:00
Luke Dashjr
76a82009ad Bump versions for 0.4.2 2015-02-08 06:22:55 +00:00
Luke Dashjr
54cab99423 Support for BIP66 version 3 blocks 2015-02-08 05:45:04 +00:00
aalness
f0aff19787 AUTHORS: Add myself 2014-11-21 23:47:44 +00:00
Luke Dashjr
eeb1599b07 Merge commit '6aa007d' into 0.4.x 2014-11-21 23:45:36 +00:00
aalness
6aa007da0c blktmpl_getcapability: Treat "transactions" mutation the same as "transactions/add" per BIP 0023 2014-11-21 23:43:21 +00:00
Luke Dashjr
35e660860e Bump versions for 0.4.1 2014-11-18 21:27:46 +00:00
Luke Dashjr
62e2f6178b Keep correct ordered hash in txn->hash[1] for use internally while remaining ABI-safe 2014-09-02 16:53:02 +00:00
Luke Dashjr
e86fe28fa0 blktemplate.h: Add warning against allocating blktemplate_t 2014-09-02 16:39:10 +00:00
Luke Dashjr
09921dee12 Merge branch '0.3.x' into 0.4.x 2014-09-02 16:37:18 +00:00
Luke Dashjr
adb6106f89 Merge branch '0.2.x' into 0.3.x 2014-09-02 16:37:06 +00:00
Luke Dashjr
7ad8147482 Merge branch '0.1.x' into 0.2.x 2014-09-02 16:36:54 +00:00
Luke Dashjr
5f463594b1 Revert "Bugfix: Provide correctly-ordered transaction hash (using new key hash_ for backward compatibility)" (broke ABI)
This reverts commit b9572db7d5.
2014-09-02 16:36:32 +00:00
Luke Dashjr
136a8ee229 Merge branch '0.3.x' into 0.4.x 2014-09-01 20:34:15 +00:00
Luke Dashjr
856f5b0d13 Merge branch '0.2.x' into 0.3.x 2014-09-01 20:34:08 +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
e407661000 Merge branch '0.3.x' into 0.4.x 2014-08-22 18:40:14 +00:00
Luke Dashjr
fe5717762a Merge branch '0.2.x' into 0.3.x 2014-08-22 18:40:00 +00:00
Luke Dashjr
37ed1a8680 Bugfix: b58tobin: Correct zeromask for multiple-of-four binary buffer sizes 2014-08-22 18:39:45 +00:00
Luke Dashjr
628b158a20 Avoid unsafe casting 2014-08-22 18:39:01 +00:00