move Signature.from_h to Database.sig_from_hash