80c85d212a
When possible, check sigoplimit before appending to the coinbase
Luke Dashjr
2016-07-26 04:07:09 +00:00
016aa307f5
Merge commit '2eb3265'
Luke Dashjr
2016-07-26 03:43:17 +00:00
2eb326525d
Bugfix: Reject invalid coinbaseaux data
Luke Dashjr
2016-07-26 03:42:38 +00:00
1ba845f671
Merge commit '861bd06'
Luke Dashjr
2016-07-26 03:33:05 +00:00
861bd066fe
Bugfix: Restore calloc despite blktxn_init; if we fail before completing parsing the transaction, we need to avoid uncleared pointers
Luke Dashjr
2016-07-26 03:31:56 +00:00
5ee6256cb4
Merge branch 'master' into segwit
Luke Dashjr
2016-07-26 03:23:53 +00:00
aef9cbc5a5
Merge branch 'master' (early part) into segwit
Luke Dashjr
2016-07-26 03:22:35 +00:00
5875a41d34
Merge branch 'bip9_0.4.x' into 0.4.x
Luke Dashjr
2016-07-26 03:22:05 +00:00
72d0d641b4
Merge branch 'bip9'
Luke Dashjr
2016-07-26 03:21:43 +00:00
c651bc036f
Merge: Optionally build example.c with "make example"
Luke Dashjr
2016-07-26 03:20:28 +00:00
2d822c6bbc
Minor fixups for "make example"
Luke Dashjr
2016-07-26 03:20:08 +00:00
651323c7c1
Merge branch 'master' into segwit
Luke Dashjr
2016-07-26 03:13:43 +00:00
7364be59db
Merge branch 'master' (early part) into segwit
Luke Dashjr
2016-07-26 03:13:18 +00:00
4a1dcb5cb6
Merge branch 'sigoplimit'
Luke Dashjr
2016-07-26 03:12:26 +00:00
df9c3e9303
blkmk_init_generation*: If possible, check we are not overflowing sigoplimit
Luke Dashjr
2016-07-26 03:11:46 +00:00
3c7889fa23
Keep a tally of total sigops in blktmpl_t->txns (if known)
Luke Dashjr
2016-07-26 03:08:03 +00:00
e37ae9022b
Implement blkmk_count_sigops
Luke Dashjr
2016-07-26 02:59:38 +00:00
1cf20a8348
Merge integer unpacking code
Luke Dashjr
2016-07-26 02:51:12 +00:00
1a3cdfd792
Merge branch 'master' into segwit
Luke Dashjr
2016-07-26 02:32:36 +00:00
cd1ae36d0d
Merge branch 'populate_txn'
Luke Dashjr
2016-07-26 02:30:31 +00:00
56187b6710
Parse transaction sigops
Luke Dashjr
2016-07-26 00:50:03 +00:00
ba398a34e7
Parse transaction required-flag
Luke Dashjr
2016-07-26 00:48:55 +00:00
b05c2c50de
Parse transaction fee
Luke Dashjr
2016-07-26 00:48:12 +00:00
4babc68a5f
Parse transaction depends list
Luke Dashjr
2016-07-26 00:45:48 +00:00
12db22114d
API break: Represent unknown txn {dependscount,fee_,sigops_} as -1 instead of 0
Luke Dashjr
2016-07-26 00:31:45 +00:00
7e7f376aa3
Merge branch '0.4.x'
Luke Dashjr
2016-07-26 02:18:13 +00:00
d2dde7a9ed
Bump versions for 0.5.3
v0.5.3
Luke Dashjr
2016-03-25 18:32:15 +00:00
2772cd22cc
Update copyrights
Luke Dashjr
2016-03-25 18:28:37 +00:00
d9a0755029
Merge branch 'bugfix_sizelimit'
Luke Dashjr
2016-01-27 07:14:07 +00:00
5f16acdcc4
Merge branch '0.4.x'
Luke Dashjr
2016-01-27 07:13:20 +00:00
4bebe501ad
Update for current feature test macros
Luke Dashjr
2016-01-27 07:13:14 +00:00
c94e438c91
Bugfix: Always avoid data/mdata size conflict in blkmk_append_coinbase_safe2 since nothing else checks merkle_only (nor has it available to check)
Luke Dashjr
2016-01-26 04:47:25 +00:00
7bf7e80a6a
Bugfix: Expose blkmk_submitm_jansson for submitting results for blkmk_get_mdata
Luke Dashjr
2016-01-26 04:41:39 +00:00
58aa6a3573
Refactor to eliminate blkmk_assemble_submission_ wrapper
Luke Dashjr
2016-01-26 04:41:16 +00:00
e3465d35aa
Refactor blkmk_assemble_submission2_ to work with either extranonce/mdata or dataid/data
Luke Dashjr
2016-01-26 04:35:10 +00:00
a22129364a
Refactor construction of block submissions to allow for results from get_mdata
Luke Dashjr
2016-01-26 04:26:02 +00:00
f1ede0aec7
Bugfix: Check full block size against limit when creating/appending the coinbase
Luke Dashjr
2016-01-26 03:40:39 +00:00
ef78f03a58
Make an abstract size variable for libblkmaker_coinbase_size_limit
Luke Dashjr
2016-01-26 00:39:19 +00:00
24aabb0e55
Bugfix: Allocate temporary space on the heap rather than the stack, and use the actual transaction data size for the buffer
Luke Dashjr
2016-01-26 00:36:01 +00:00
2763aba114
Keep a count of total size of all non-generation transactions in templates
Luke Dashjr
2016-01-26 00:23:22 +00:00