Commit Graph

307 Commits

Author SHA1 Message Date
Luke Dashjr
498221e0b1 Bugfix: blkmk_append_coinbase_safe: Check for an incomplete generation transaction 2016-08-15 21:58:14 +00:00
Luke Dashjr
76db08733f test: Check blkmk_append_coinbase_safe with incomplete generation transactions 2016-08-15 21:57:53 +00:00
Luke Dashjr
9d6b0d0649 Merge branch 'tests' 2016-08-13 09:36:57 +00:00
Luke Dashjr
f3659638d7 test: Check invalid and uppercase hex data 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
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
0dcc8d8697 test: Use libgcrypt for SHA256 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
cdb5841c88 Travis: Run tests with -fsanitize={address,memory,undefined} -Wall -Werror 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
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
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