Hi Themyos,
I just cloned a fresh copy of the bitcoin development tree from github, and then tried to patch in the rpc.cpp getblock patch
I got two successful hunk applications and one fail
--- rpc.cpp
+++ rpc.cpp
@@ -1926,6 +2040,8 @@
if (strMethod == "sendfrom" && n > 2) ConvertTo(params[2]);
if (strMethod == "sendfrom" && n > 3) ConvertTo(params[3]);
if (strMethod == "listtransactions" && n > 1) ConvertTo(params[1]);
+ if (strMethod == "getblock" && n > 0) ConvertTo(params[0]);
+ if (strMethod == "getblockbycount" && n > 0) ConvertTo(params[0]);
// Execute
Object reply = CallRPC(strMethod, params);
I tried patching 0.3.19 and got three fails.
Should I try patching 0.3.20? I'm downloading it now.
Cheers,
Jin