check passphrare param
remove .size() for performance + less getheaders calls
fix comments