Peter Todd d78f0dafd5
Fix CScriptID(const CScript& in) in empty script case
Previously an empty script wouldn't be hashed, and CScriptID would be
assigned the incorrect value of 0 instead. This bug can be seen in the
RPC decodescript command:

    $ btc decodescript ""
    {
        "asm" : "",
        "type" : "nonstandard",
        "p2sh" : "31h1vYVSYuKP6AhS86fbRdMw9XHieotbST"
    }

Correct output:

    $ btc decodescript ""
    {
        "asm" : "",
        "type" : "nonstandard",
        "p2sh" : "3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy"
    }
2014-12-25 03:18:40 -05:00
..
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-11 01:58:25 +01:00
2014-12-19 19:55:32 +01:00
2014-12-16 15:56:50 +08:00
2014-10-27 04:16:48 -07:00
2014-11-03 16:16:40 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-11-03 16:16:40 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-23 12:12:05 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-23 12:32:47 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-23 12:29:33 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00
2014-12-23 12:12:05 +01:00
2014-12-23 12:12:05 +01:00
2014-12-19 19:55:32 +01:00
2014-12-19 19:55:32 +01:00