Luke Dashjr
28f39f440c
Bugfix: Initialise weightlimit to INT64_MAX
2016-08-11 22:10:52 +00:00
Luke Dashjr
3280aab174
ABI break: Remove blktemplate_t.{min,max}nonce, since it was never supported and is unlikely to ever be useful
2016-08-11 09:12:35 +00:00
Luke Dashjr
f692fddffa
ABI break: Return uint32_t from blktmpl_getcapability since "time" yields a combination of gbt_capabilities_t
2016-08-11 07:49:24 +00:00
Luke Dashjr
aaaa53e7d9
Merge branch '0.5.x'
2016-08-11 07:43:42 +00:00
Luke Dashjr
b2ff42e8b7
Merge branch '0.4.x' into 0.5.x
2016-08-11 07:43:37 +00:00
Luke Dashjr
6c1b8b2cba
Merge commit '81f7ae1' into 0.5.x
2016-08-11 07:41:30 +00:00
Luke Dashjr
81f7ae1d1a
jansson: When parsing, ignore fractional parts of times
2016-08-11 07:41:01 +00:00
Luke Dashjr
b41a0f11ee
Merge commit '339f436' into 0.5.x
2016-08-11 07:40:13 +00:00
Luke Dashjr
128458fbd0
Merge branch 'bugfix_sizelimit' into 0.5.x
2016-08-11 07:39:45 +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
7b1113110a
Bugfix: Correct return type for blkmk_append_coinbase_safe2 hitting sizelimit
2016-08-11 07:37:57 +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
339f436170
Bugfix: Close memory leak in blktmpl_propose_jansson
2016-08-11 07:28:04 +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
c9030312dc
Revert Segnet support
2016-07-28 03:51:06 +00:00
Luke Dashjr
e1a1b1bd07
assemble_submission: Avoid magic number constants for sizes
2016-07-26 23:56:13 +00:00
Luke Dashjr
3ff3604939
Add "segwit" to supported rule list
2016-07-26 23:54:37 +00:00
Luke Dashjr
86c6f760bf
Bugfix: assemble_submission: Enlarge block buffer for witness commitment
2016-07-26 23:54:14 +00:00
Luke Dashjr
7e10567263
Merge branch 'master' into segwit
2016-07-26 23:51:47 +00:00
Luke Dashjr
c524b0160d
Merge branch '0.5.x'
2016-07-26 23:51:21 +00:00
Luke Dashjr
a697e39f43
Tree-Merge branch '0.4.x' into 0.5.x
2016-07-26 23:50:30 +00:00
Luke Dashjr
87ccb59726
Merge branch 'bip9' into 0.5.x
2016-07-26 23:50:26 +00:00
Luke Dashjr
1799d18d55
Merge commit '6002cb9' into 0.5.x (removing a line)
2016-07-26 23:49:42 +00:00
Luke Dashjr
99e710cb7f
Merge commit '2eb3265' into 0.5.x
2016-07-26 23:48:49 +00:00
Luke Dashjr
6002cb96a0
assemble_submission: Include extranoncesz in buffer allocation
...
Missing this would result in a buffer overrun, except the varint is allocated 9 bytes, extranonce is rarely more than 4 or 5, and the varint itself can't realistically be more than 3 today
2016-07-26 23:44:17 +00:00
Luke Dashjr
2e0cc834fe
Bugfix: blktxn_init: Initialise txid and weight
2016-07-26 23:30:31 +00:00
Luke Dashjr
28a2bb7f6b
Add segwit commitment at the end, rather than the start of the output list
2016-07-26 17:20:55 +00:00
Luke Dashjr
5307b027f6
Implement weightlimit
2016-07-26 04:36:22 +00:00
Luke Dashjr
b5c6d97be7
Use new sigop counting (ie, quadrupled) when "segwit" in rules list
2016-07-26 04:24:46 +00:00
Luke Dashjr
048483d97c
Parse template block version, rules, and mutations before time limits, transactions, and aux data
2016-07-26 04:24:30 +00:00
Luke Dashjr
1250b472f0
Merge branch 'master' into segwit
2016-07-26 04:23:36 +00:00
Luke Dashjr
871871ddd5
Merge branch 'sigoplimit'
2016-07-26 04:22:24 +00:00
Luke Dashjr
8f8110a7e4
Bugfix: Remove duplicate sigop tallying
2016-07-26 04:22:11 +00:00
Luke Dashjr
80c85d212a
When possible, check sigoplimit before appending to the coinbase
2016-07-26 04:07:09 +00:00
Luke Dashjr
016aa307f5
Merge commit '2eb3265'
2016-07-26 03:43:17 +00:00
Luke Dashjr
2eb326525d
Bugfix: Reject invalid coinbaseaux data
2016-07-26 03:42:54 +00:00
Luke Dashjr
1ba845f671
Merge commit '861bd06'
2016-07-26 03:33:05 +00:00
Luke Dashjr
861bd066fe
Bugfix: Restore calloc despite blktxn_init; if we fail before completing parsing the transaction, we need to avoid uncleared pointers
2016-07-26 03:33:00 +00:00
Luke Dashjr
5ee6256cb4
Merge branch 'master' into segwit
2016-07-26 03:23:53 +00:00
Luke Dashjr
aef9cbc5a5
Merge branch 'master' (early part) into segwit
2016-07-26 03:22:35 +00:00