-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate idle modal and Bob "lock" from underlying hsd wallet lock. R…
…equest user passphrase when needed. (#128) * Use default timeout (60s) for wallet unlock * Removed unused SET_PENDING_TRANSACTIONS * MiniModal onClose() defaults to history.goBack() * Do not lock Bob if hsd wallet is locked Separates Bob's `isLocked` state property from the actual hsd wallet. `isLocked` will now ONLY refer to Bob's state, triggering the enter-passphrase prompt to lock out the wallet, and only after the idle timeout. Actual hsd wallet lock & unlock will be handled separately * Do not sign when using createTX to estimate fee This will prevent hsd from requiring a password just to check the estimated TX size. * Accept optional onClose prop in MiniModal onClose() will be called when user clicks X or outside modal to close. If no function is provided, it will default to history.goBack() unless a specific closeRoute prop is passed. If both onClose and closeRoute are passed, onClose() will be called first instead of "going" to closeRoute. * Display error message on TX failure in OpenBid and Reveal panels * Introduce PassphraseModal Modal is set in App root and displays when getPassphrase is activated in global store. Expects a Promise resolve, reject pair to be passed in via store as well, making it easy to call from any component to wait for password unlock success before continuing. * Deploy PassphraseModal any time private key is needed This includes normal send, OPEN, BID, REVEAL, RENEW, REGISTER * Update changelog
- Loading branch information
Showing
12 changed files
with
160 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.