365df024bc
Merge branch 'cbvalue_zero'
master
Luke Dashjr
2018-02-19 23:37:29 +00:00
c7388aacf8
Add blktemplate_t.has_cbvalue boolean to differentiate between cbvalue 0 being unknown or zero
Luke Dashjr
2018-02-17 17:38:04 +00:00
c1392f15be
Merge branch '0.5.x' into cbvalue_zero
Luke Dashjr
2018-02-17 17:59:01 +00:00
05a975a424
Tree-Merge commit '366b8bc'
Luke Dashjr
2018-02-17 17:57:07 +00:00
cf68e084fe
Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2018-02-17 17:52:18 +00:00
b2dda538c8
blkmk_init_generation*: Correct output newcb value even in error conditions
Luke Dashjr
2018-02-17 17:45:24 +00:00
366b8bc358
Bugfix: blkmk_init_generation*: Check cbvalue is known before making a new generation transaction using it
Luke Dashjr
2016-08-11 05:33:56 +00:00
2049056cfd
Merge pull request #10 from j0sh/patch-1
Luke Dashjr
2018-01-15 08:47:24 +00:00
c7a1c1278b
Bump versions for 0.6.0
v0.6.0
Luke Dashjr
2017-12-23 04:31:39 +00:00
c2785585dc
Merge branch 'tests'
Luke Dashjr
2017-12-23 04:19:41 +00:00
f94c40ff5c
Merge branch 'segwit'
Luke Dashjr
2017-12-23 04:19:03 +00:00
47a494e113
Merge branch 'master' into segwit
Luke Dashjr
2016-12-01 23:31:11 +00:00
5e409f22fb
Merge branch '0.5.x'
Luke Dashjr
2016-12-01 23:30:20 +00:00
835ed46634
Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2016-12-01 23:30:13 +00:00
61deba379e
Avoid memcpy with potentially NULL pointer if scriptsz is zero
Luke Dashjr
2016-12-01 23:30:06 +00:00
7f103073ad
Merge commit '2a37933'
Luke Dashjr
2016-12-01 23:19:49 +00:00
2a37933698
Travis: Remove MemorySanitizer job for now, since it's broken with latest Linux kernel
Luke Dashjr
2016-12-01 11:12:49 +00:00
15f79c6f71
Travis: Bugfix: Explicitly make test program in case we run it directly
Luke Dashjr
2016-12-01 10:19:37 +00:00
b8055bd495
Travis: Set VERBOSE for make check
Luke Dashjr
2016-12-01 01:04:04 +00:00
7605755747
Bugfix: Wrap test program to ensure the exit code is always 0/pass or 1/fail
Luke Dashjr
2016-12-01 00:56:10 +00:00
8b28f02857
Merge branch 'master' into segwit
Luke Dashjr
2016-11-22 11:02:04 +00:00
f093ad8ee7
Merge commit 'fdb2a28'
Luke Dashjr
2016-11-22 11:01:53 +00:00
fdb2a280b0
Bugfix: Use check_PROGRAMS rather than noinst_PROGRAMS for test, so we don't try to build it before make check
Luke Dashjr
2016-11-22 11:00:57 +00:00
bea591911d
Merge branch 'master' into segwit
Luke Dashjr
2016-11-22 10:52:02 +00:00
498221e0b1
Bugfix: blkmk_append_coinbase_safe: Check for an incomplete generation transaction
Luke Dashjr
2016-08-15 21:58:14 +00:00
76db08733f
test: Check blkmk_append_coinbase_safe with incomplete generation transactions
Luke Dashjr
2016-08-15 21:57:53 +00:00
9d6b0d0649
Merge branch 'tests'
Luke Dashjr
2016-08-13 09:36:57 +00:00
f3659638d7
test: Check invalid and uppercase hex data
Luke Dashjr
2016-08-12 04:54:24 +00:00
30ba82f339
test: Increase coverage of capabilities functions
Luke Dashjr
2016-08-12 04:51:34 +00:00
31c1d2c168
test: Increase coverage of blkmk_init_generation
Luke Dashjr
2016-08-12 04:47:43 +00:00
970017ab38
test: Increase coverage of blkmk_count_sigops
Luke Dashjr
2016-08-12 04:25:44 +00:00
793d180847
test: Increase coverage of blkmk_address_to_script
Luke Dashjr
2016-08-12 04:16:55 +00:00
fd04e03c5d
test: Check varint encoding within reason
Luke Dashjr
2016-08-12 00:06:38 +00:00
9bb03c6cf3
test: Check against sizelimit and sigoplimit for init_generation and append_coinbase_safe
Luke Dashjr
2016-08-11 23:31:02 +00:00
c1a159d417
test: Check blkmk_append_coinbase_safe
Luke Dashjr
2016-08-11 07:23:08 +00:00
4572fcb97b
test: Check acceptance of float-looking numbers, and rejection of JSON missing fields
Luke Dashjr
2016-08-11 06:58:50 +00:00
07ce01f57a
test: Check blkmk_init_generation
Luke Dashjr
2016-08-11 05:33:56 +00:00
04753c7257
test: Check blkmk_get_mdata
Luke Dashjr
2016-08-11 04:16:54 +00:00
bdb9519f1b
test: Check blkmk_get_data
Luke Dashjr
2016-08-11 04:13:49 +00:00
cf8d325b30
test: Check blkmk_{time,work}_left
Luke Dashjr
2016-08-11 03:52:23 +00:00
0d94076671
test: Check blkmk_address_to_script
Luke Dashjr
2016-08-11 03:32:18 +00:00
136f2b5457
test: Check blkmk_supports_rule
Luke Dashjr
2016-08-11 00:29:18 +00:00
5c471cb3fe
test: Check out mdata submissions
Luke Dashjr
2016-08-11 00:23:02 +00:00
c0f590e889
test: Check out submissions
Luke Dashjr
2016-08-11 00:01:20 +00:00
70a022e944
test: Check out block proposals
Luke Dashjr
2016-08-10 22:51:04 +00:00
0dcc8d8697
test: Use libgcrypt for SHA256
Luke Dashjr
2016-08-10 22:45:00 +00:00
18ece76f77
Travis: Build for Windows and test in WINE
Luke Dashjr
2016-08-13 07:29:42 +00:00
cdb5841c88
Travis: Run tests with -fsanitize={address,memory,undefined} -Wall -Werror
Luke Dashjr
2016-08-13 07:27:54 +00:00
bfd7d9469a
Travis: Initial CI spec YML
Luke Dashjr
2016-08-11 00:46:34 +00:00
5a6bc0caec
Initial unit tests covering template and parsing
Luke Dashjr
2016-08-10 22:31:31 +00:00
6c56da6a04
Bugfix: blkmk_append_coinbase_safe2: Check for unexpected larger values before subtracting (in sigop checks)
Luke Dashjr
2016-08-13 08:17:25 +00:00
f333f3c662
Merge branch '0.5.x'
Luke Dashjr
2016-08-13 08:26:34 +00:00
ea800f8be1
Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2016-08-13 08:26:02 +00:00
9cfdca809c
Bugfix: blkmk_append_coinbase_safe2: Check for unexpected larger values before subtracting
Luke Dashjr
2016-08-13 08:17:25 +00:00
5889aeab25
Merge commit '130cfbd'
Luke Dashjr
2016-08-13 08:22:57 +00:00
130cfbdb3e
Bugfix: example: Deal with build and portability issues
Luke Dashjr
2016-08-13 07:23:14 +00:00
711b938fb8
gitignore: Various development-related files
Luke Dashjr
2016-08-12 04:18:00 +00:00
65b9f2dcd0
Document uselessness and future removal of blktemplate_t.{min,max}nonce
Luke Dashjr
2016-08-12 03:37:55 +00:00
963262af08
_blkmk_calculate_witness_mrklroot: Allocate heap space for hashes, rather than use the (potentially too small) stack
Luke Dashjr
2016-08-12 01:20:46 +00:00
147e86b466
Merge branch 'master' into segwit
Luke Dashjr
2016-08-12 01:06:33 +00:00
a9b3541a60
Merge branch '0.5.x'
Luke Dashjr
2016-08-12 01:04:23 +00:00
3d482768d6
Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2016-08-12 01:03:36 +00:00
37cd25dfc1
Merge commit '5a88bc5' into 0.4.x
Luke Dashjr
2016-08-12 01:03:06 +00:00
5a88bc541a
Allocate heap space for hashes, rather than use the (potentially too small) stack
Luke Dashjr
2016-08-12 01:02:08 +00:00
896dc34d47
Merge branch 'bugfix_sizelimit' into 0.5.x
Luke Dashjr
2016-08-11 23:37:14 +00:00
981b1dc4fe
Bugfix: Include block header and transaction count in sizelimit checks
Luke Dashjr
2016-08-11 23:35:58 +00:00
aa74130c59
Bugfix: Handle unknown transaction weight by either calculating it (generation only) or ignoring the weightlimit
Luke Dashjr
2016-08-11 22:10:13 +00:00
28f39f440c
Bugfix: Initialise weightlimit to INT64_MAX
Luke Dashjr
2016-08-11 22:10:44 +00:00
3280aab174
ABI break: Remove blktemplate_t.{min,max}nonce, since it was never supported and is unlikely to ever be useful
Luke Dashjr
2016-08-11 09:12:35 +00:00
f692fddffa
ABI break: Return uint32_t from blktmpl_getcapability since "time" yields a combination of gbt_capabilities_t
Luke Dashjr
2016-08-11 07:49:24 +00:00
aaaa53e7d9
Merge branch '0.5.x'
Luke Dashjr
2016-08-11 07:43:42 +00:00
b2ff42e8b7
Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2016-08-11 07:43:37 +00:00
6c1b8b2cba
Merge commit '81f7ae1' into 0.5.x
Luke Dashjr
2016-08-11 07:41:30 +00:00
81f7ae1d1a
jansson: When parsing, ignore fractional parts of times
Luke Dashjr
2016-08-11 06:42:16 +00:00
b41a0f11ee
Merge commit '339f436' into 0.5.x
Luke Dashjr
2016-08-11 07:40:13 +00:00
128458fbd0
Merge branch 'bugfix_sizelimit' into 0.5.x
Luke Dashjr
2016-08-11 07:39:45 +00:00
33ce817739
Merge branch 'bip9_0.4.x' into 0.4.x
Luke Dashjr
2016-08-11 07:39:22 +00:00
acc9266d63
Merge commit '2cad5fd' into 0.4.x
Luke Dashjr
2016-08-11 07:39:09 +00:00
ce5125dc90
Merge commit '15745d4' into 0.4.x
Luke Dashjr
2016-08-11 07:38:58 +00:00
328300edbe
Merge commit '4a01674' into 0.4.x
Luke Dashjr
2016-08-11 07:38:45 +00:00
1783777646
Merge commit 'ebd42b2' into 0.4.x
Luke Dashjr
2016-08-11 07:38:31 +00:00
7b1113110a
Bugfix: Correct return type for blkmk_append_coinbase_safe2 hitting sizelimit
Luke Dashjr
2016-08-11 07:02:17 +00:00
4be60421c8
Bugfix: Refuse to accept an unparsable vbrequired
Luke Dashjr
2016-08-11 06:57:42 +00:00
2cad5fdadb
Bugfix: Refuse to accept a template with neither coinbasetxn nor coinbasevalue
Luke Dashjr
2016-08-11 06:57:22 +00:00
15745d4a5f
Bugfix: Ensure coinbase is always at least 4 bytes long
Luke Dashjr
2016-08-11 05:49:43 +00:00
4a01674cd0
Bugfix: blkmk_get_mdata must fail if we cannot append the coinbase
Luke Dashjr
2016-08-11 03:51:07 +00:00
ebd42b2461
Bugfix: Correct blkmk_work_left for single-work templates that have been used
Luke Dashjr
2016-08-11 03:49:35 +00:00
339f436170
Bugfix: Close memory leak in blktmpl_propose_jansson
Luke Dashjr
2016-08-10 23:37:02 +00:00
d594808495
Merge commit '723a7e5' into 0.4.x
Luke Dashjr
2016-08-10 22:04:58 +00:00
723a7e543b
Bugfix: Correctly parse "generation" and "time" mutations
Luke Dashjr
2016-08-10 22:04:41 +00:00
1ff98a1199
gitignore autotools compile wrapper
Luke Dashjr
2016-07-30 22:19:35 +00:00
c9030312dc
Revert Segnet support
Luke Dashjr
2016-07-28 03:51:06 +00:00
e1a1b1bd07
assemble_submission: Avoid magic number constants for sizes
Luke Dashjr
2016-07-26 23:56:13 +00:00
3ff3604939
Add "segwit" to supported rule list
Luke Dashjr
2016-07-26 23:54:37 +00:00
86c6f760bf
Bugfix: assemble_submission: Enlarge block buffer for witness commitment
Luke Dashjr
2016-07-26 23:54:14 +00:00
7e10567263
Merge branch 'master' into segwit
Luke Dashjr
2016-07-26 23:51:47 +00:00
c524b0160d
Merge branch '0.5.x'
Luke Dashjr
2016-07-26 23:51:21 +00:00
a697e39f43
Tree-Merge branch '0.4.x' into 0.5.x
Luke Dashjr
2016-07-26 23:50:30 +00:00
87ccb59726
Merge branch 'bip9' into 0.5.x
Luke Dashjr
2016-07-26 23:50:26 +00:00