improve wallet scan_input API
Merge pull request #18 from HackFisher/patch_scan_input

improve wallet's scan_input API