SecureWallet.this

Creates a wallet from a list for questions and answers

  1. this(DevicePIN pin, RecoverGenerator wallet, AccountDetails account)
  2. this(const(string[]) questions, const(char[][]) answers, uint confidence, const(char[]) pincode)
    struct SecureWallet(Net : SecureNet)
    this
    (
    scope const(string[]) questions
    ,
    scope const(char[][]) answers
    ,,
    const(char[]) pincode
    )
    in (questions.length is answers.length, "Amount of questions should be same as answers")

Parameters

questions const(string[])

List of question

answers const(char[][])

List of answers

confidence uint

Cofindence of the answers

pincode const(char[])

Devices pin code

Return Value

Create an new wallet accouring with the input