public class ConfirmGetDeterministicHierarchyState extends AbstractHardwareWalletState
State to provide the following to hardware wallet clients:
The "confirm get extended public key" state occurs in response to a GET_PUBLIC_KEY message with reduced parameters and handles the ongoing button requests, success and failure messages coming from the device as it provides the public key generated from the seed phrase.
Constructor and Description |
---|
ConfirmGetDeterministicHierarchyState() |
Modifier and Type | Method and Description |
---|---|
protected void |
internalTransition(HardwareWalletClient client,
HardwareWalletContext context,
MessageEvent event)
Initiate a move to the next state through the given client.
|
await, handleUnexpectedMessageEvent, transition
public ConfirmGetDeterministicHierarchyState()
protected void internalTransition(HardwareWalletClient client, HardwareWalletContext context, MessageEvent event)
AbstractHardwareWalletState
Initiate a move to the next state through the given client.
Typically the client is used to move in to or out of a "waiting state" and the context is updated with new data
internalTransition
in class AbstractHardwareWalletState
client
- The hardware wallet client for sending messagescontext
- The current context providing parameters for decisionsevent
- The event driving the transitionCopyright © 2013–2016 Bitcoin Solutions Ltd. All rights reserved.