Merge branch '0.4.x'

This commit is contained in:
Luke Dashjr
2014-11-21 23:47:59 +00:00
2 changed files with 3 additions and 0 deletions

View File

@@ -1 +1,2 @@
Luke Dashjr <luke_libblkmaker@dashjr.org>
Andy Alness <andy.alness@gmail.com>

View File

@@ -54,6 +54,8 @@ gbt_capabilities_t blktmpl_getcapability(const char *n) {
for (unsigned int i = 0; i < GBT_CAPABILITY_COUNT; ++i)
if (capnames[i] && !strcasecmp(n, capnames[i]))
return 1 << i;
if (!strcasecmp(n, "transactions"))
return BMM_TXNADD; // Odd one as it's overloaded w/"transactions/add" per spec
return 0;
}