From 6aa007da0c388cd63cfa02bc3590c412881de5df Mon Sep 17 00:00:00 2001 From: aalness Date: Sun, 19 Jan 2014 06:19:06 +0000 Subject: [PATCH 1/2] blktmpl_getcapability: Treat "transactions" mutation the same as "transactions/add" per BIP 0023 --- blktemplate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blktemplate.c b/blktemplate.c index 1de629d..be4bfe6 100644 --- a/blktemplate.c +++ b/blktemplate.c @@ -46,6 +46,8 @@ gbt_capabilities_t blktmpl_getcapability(const char *n) { for (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; } From f0aff197876d58ea2c468d5a26c58839411ac108 Mon Sep 17 00:00:00 2001 From: aalness Date: Sun, 19 Jan 2014 06:36:19 +0000 Subject: [PATCH 2/2] AUTHORS: Add myself --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 985b89a..b50c216 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1 +1,2 @@ Luke Dashjr +Andy Alness