Parse BIP 9 template fields, and implement handling of unrecognised rules

This commit is contained in:
Luke Dashjr
2016-05-22 13:33:34 +00:00
parent 1e49556078
commit ae7055df8b
6 changed files with 97 additions and 3 deletions

View File

@@ -7,6 +7,7 @@
// blkmaker.c
extern const char *blkmk_supported_rules[];
extern bool _blkmk_dblsha256(void *hash, const void *data, size_t datasz);
extern bool blkmk_supports_rule(const char *rulename);
// blktemplate.c
extern void _blktxn_free(struct blktxn_t *);