Commit Graph

344 Commits

Author SHA1 Message Date
Luke Dashjr
c6f774a02d Merge branch 'segwit' into tmp2 2016-12-01 21:10:37 +00:00
Luke Dashjr
05a5fbcfd3 Travis: Remove MemorySanitizer job for now, since it's broken with latest Linux kernel 2016-12-01 11:25:40 +00:00
Luke Dashjr
62ede8255c Travis: Bugfix: Explicitly make test program in case we run it directly 2016-12-01 11:25:40 +00:00
Luke Dashjr
95b0d0c1f2 Travis: Set VERBOSE for make check 2016-12-01 01:04:04 +00:00
Luke Dashjr
7cb9c2897c Bugfix: Wrap test program to ensure the exit code is always 0/pass or 1/fail 2016-12-01 00:59:26 +00:00
Luke Dashjr
8b28f02857 Merge branch 'master' into segwit 2016-11-22 11:02:04 +00:00
Luke Dashjr
f093ad8ee7 Merge commit 'fdb2a28' 2016-11-22 11:01:53 +00:00
Luke Dashjr
fdb2a280b0 Bugfix: Use check_PROGRAMS rather than noinst_PROGRAMS for test, so we don't try to build it before make check 2016-11-22 11:01:07 +00:00
Luke Dashjr
bea591911d Merge branch 'master' into segwit 2016-11-22 10:52:02 +00:00
Luke Dashjr
9d6b0d0649 Merge branch 'tests' 2016-08-13 09:36:57 +00:00
Luke Dashjr
0dcc8d8697 test: Use libgcrypt for SHA256 2016-08-13 08:35:37 +00:00
Luke Dashjr
f3659638d7 test: Check invalid and uppercase hex data 2016-08-13 08:35:37 +00:00
Luke Dashjr
18ece76f77 Travis: Build for Windows and test in WINE 2016-08-13 08:35:37 +00:00
Luke Dashjr
30ba82f339 test: Increase coverage of capabilities functions 2016-08-13 08:35:37 +00:00
Luke Dashjr
cdb5841c88 Travis: Run tests with -fsanitize={address,memory,undefined} -Wall -Werror 2016-08-13 08:35:37 +00:00
Luke Dashjr
31c1d2c168 test: Increase coverage of blkmk_init_generation 2016-08-13 08:35:37 +00:00
Luke Dashjr
970017ab38 test: Increase coverage of blkmk_count_sigops 2016-08-13 08:35:37 +00:00
Luke Dashjr
793d180847 test: Increase coverage of blkmk_address_to_script 2016-08-13 08:35:37 +00:00
Luke Dashjr
fd04e03c5d test: Check varint encoding within reason 2016-08-13 08:35:37 +00:00
Luke Dashjr
9bb03c6cf3 test: Check against sizelimit and sigoplimit for init_generation and append_coinbase_safe 2016-08-13 08:35:37 +00:00
Luke Dashjr
c1a159d417 test: Check blkmk_append_coinbase_safe 2016-08-13 08:35:37 +00:00
Luke Dashjr
4572fcb97b test: Check acceptance of float-looking numbers, and rejection of JSON missing fields 2016-08-13 08:35:37 +00:00
Luke Dashjr
07ce01f57a test: Check blkmk_init_generation 2016-08-13 08:35:37 +00:00
Luke Dashjr
04753c7257 test: Check blkmk_get_mdata 2016-08-13 08:35:37 +00:00
Luke Dashjr
bdb9519f1b test: Check blkmk_get_data 2016-08-13 08:35:37 +00:00
Luke Dashjr
cf8d325b30 test: Check blkmk_{time,work}_left 2016-08-13 08:35:37 +00:00
Luke Dashjr
0d94076671 test: Check blkmk_address_to_script 2016-08-13 08:35:37 +00:00
Luke Dashjr
136f2b5457 test: Check blkmk_supports_rule 2016-08-13 08:35:37 +00:00
Luke Dashjr
5c471cb3fe test: Check out mdata submissions 2016-08-13 08:35:37 +00:00
Luke Dashjr
c0f590e889 test: Check out submissions 2016-08-13 08:35:37 +00:00
Luke Dashjr
70a022e944 test: Check out block proposals 2016-08-13 08:35:37 +00:00
Luke Dashjr
bfd7d9469a Travis: Initial CI spec YML 2016-08-13 08:27:39 +00:00
Luke Dashjr
5a6bc0caec Initial unit tests covering template and parsing 2016-08-13 08:27:39 +00:00
Luke Dashjr
6c56da6a04 Bugfix: blkmk_append_coinbase_safe2: Check for unexpected larger values before subtracting (in sigop checks) 2016-08-13 08:26:46 +00:00
Luke Dashjr
f333f3c662 Merge branch '0.5.x' 2016-08-13 08:26:34 +00:00
Luke Dashjr
ea800f8be1 Merge branch '0.4.x' into 0.5.x 2016-08-13 08:26:02 +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
5889aeab25 Merge commit '130cfbd' 2016-08-13 08:22:57 +00:00
Luke Dashjr
130cfbdb3e Bugfix: example: Deal with build and portability issues 2016-08-13 08:22:47 +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
963262af08 _blkmk_calculate_witness_mrklroot: Allocate heap space for hashes, rather than use the (potentially too small) stack 2016-08-12 01:20:46 +00:00
Luke Dashjr
147e86b466 Merge branch 'master' into segwit 2016-08-12 01:06:33 +00:00
Luke Dashjr
a9b3541a60 Merge branch '0.5.x' 2016-08-12 01:04:23 +00:00
Luke Dashjr
3d482768d6 Merge branch '0.4.x' into 0.5.x 2016-08-12 01:03:36 +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
896dc34d47 Merge branch 'bugfix_sizelimit' into 0.5.x 2016-08-11 23:37:14 +00:00
Luke Dashjr
981b1dc4fe Bugfix: Include block header and transaction count in sizelimit checks 2016-08-11 23:37:00 +00:00
Luke Dashjr
aa74130c59 Bugfix: Handle unknown transaction weight by either calculating it (generation only) or ignoring the weightlimit 2016-08-11 22:10:53 +00:00