Bitcoind.pm for testing purposes
minor, slight rearragement of SignRequest.pm