Luke Dashjr
c7388aacf8
Add blktemplate_t.has_cbvalue boolean to differentiate between cbvalue 0 being unknown or zero
2018-02-17 17:59:07 +00:00
Luke Dashjr
147e86b466
Merge branch 'master' into segwit
2016-08-12 01:06:33 +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
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
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
339f436170
Bugfix: Close memory leak in blktmpl_propose_jansson
2016-08-11 07:28:04 +00:00
Luke Dashjr
87ccb59726
Merge branch 'bip9' into 0.5.x
2016-07-26 23:50:26 +00:00
Luke Dashjr
99e710cb7f
Merge commit '2eb3265' into 0.5.x
2016-07-26 23:48:49 +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
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
5875a41d34
Merge branch 'bip9_0.4.x' into 0.4.x
2016-07-26 03:22:05 +00:00
Luke Dashjr
72d0d641b4
Merge branch 'bip9'
2016-07-26 03:21:43 +00:00
Luke Dashjr
651323c7c1
Merge branch 'master' into segwit
2016-07-26 03:13:43 +00:00
Luke Dashjr
3c7889fa23
Keep a tally of total sigops in blktmpl_t->txns (if known)
2016-07-26 03:11:18 +00:00
Luke Dashjr
1a3cdfd792
Merge branch 'master' into segwit
2016-07-26 02:32:36 +00:00
Luke Dashjr
56187b6710
Parse transaction sigops
2016-07-26 02:19:00 +00:00
Luke Dashjr
ba398a34e7
Parse transaction required-flag
2016-07-26 02:19:00 +00:00
Luke Dashjr
b05c2c50de
Parse transaction fee
2016-07-26 02:19:00 +00:00
Luke Dashjr
4babc68a5f
Parse transaction depends list
2016-07-26 02:19:00 +00:00
Luke Dashjr
12db22114d
API break: Represent unknown txn {dependscount,fee_,sigops_} as -1 instead of 0
...
Also renamed the fields to break code relying on old interpretation
2016-07-26 02:18:37 +00:00
Luke Dashjr
7e7f376aa3
Merge branch '0.4.x'
2016-07-26 02:18:13 +00:00
Luke Dashjr
89c06f9a31
Merge branch '0.4.x' (early part)
2016-07-26 02:17:55 +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
5016f8d86a
Parse transaction weights into blktxn_t structure
...
ABI break: sizeof(blktxn_t) has been increased, so accesses to blktmpl_t->txns[>0] use a different offset (aside, hash_ and txid are moved)
New ABI supports up to 512 MB transactions (with a max weight-per-bytes of 4), and library gracefully interprets larger weight values as -1 (unknown)
2016-07-23 21:25:38 +00:00
Luke Dashjr
7e0d27119c
Merge tag 'v0.5.3' into segwit
...
libblkmaker 0.5.3
2016-07-23 20:26:07 +00:00
Luke Dashjr
d5a43949b1
Merge bugfix_sizelimit into segwit
2016-07-23 20:25:32 +00:00
Luke Dashjr
382e864589
Merge into segwit
2016-07-23 20:10:39 +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
0d8212c1dc
Make new BIP 9 features public
2016-05-25 03:55:31 +00:00
Luke Dashjr
676d9ab5eb
Merge branch 'bip9_0.4.x' into bip9
2016-05-25 03:54:21 +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
2772cd22cc
Update copyrights
2016-03-25 18:28:37 +00:00
Luke Dashjr
d9a0755029
Merge branch 'bugfix_sizelimit'
2016-01-27 07:14:07 +00:00