Commit Graph

22 Commits

Author SHA1 Message Date
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
76db08733f test: Check blkmk_append_coinbase_safe with incomplete generation transactions 2016-08-15 21:57:53 +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
5a6bc0caec Initial unit tests covering template and parsing 2016-08-13 08:27:39 +00:00