def getAccounts(self):
pubkeys = self.getPublicKeys()<EOL>accounts = []<EOL>for pubkey in pubkeys:<EOL><INDENT>if pubkey[: len(self.prefix)] == self.prefix:<EOL><INDENT>accounts.extend(self.getAccountsFromPublicKey(pubkey))<EOL><DEDENT><DEDENT>return accounts<EOL>
Return all accounts installed in the wallet database