"""Check that a seed was generated with given entropy"""
frommnemonicimportMnemonic
returnMnemonic(language).check_seed(seed,entropy)
@command('n')
defgetaddresshistory(self,address):
"""Return the transaction history of any address. Note: This is a
@ -656,6 +662,7 @@ command_options = {
'from_addr':("-F","--from","Source address. If it isn't in the wallet, it will ask for the private key unless supplied in the format public_key:private_key. It's not saved in the wallet."),
'change_addr':("-c","--change","Change address. Default is a spare address, or the source address if it's not in the wallet"),
'nbits':(None,"--nbits","Number of bits of entropy"),
'entropy':(None,"--entropy","Custom entropy"),
'language':("-L","--lang","Default language for wordlist"),
'gap_limit':("-G","--gap","Gap limit"),
'privkey':(None,"--privkey","Private key. Set to '?' to get a prompt."),