Merge pull request #4960
8138cbe Add automatic script test generation, and actual checksig tests (Pieter Wuille)