package
1.7.1
Repository: https://github.com/polyswarm/go-ethereum.git
Documentation: pkg.go.dev

# Functions

Name returns the friendly message type name of a specific protocol buffer type numbers.
Type returns the protocol buffer type number of a specific message.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
use powers of two when extending this field.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

* Response: Contains address derived from device private seed @prev GetAddress.
* Request: set flags of the device @next Success @next Failure.
* Request: change language and/or label of the device @next Success @next Failure @next ButtonRequest @next PinMatrixRequest.
* Request: Perform backup of the device seed if not backed up using ResetDevice @next ButtonRequest.
* Request: Computer agrees to wait for HW button press @prev ButtonRequest.
* Response: Device is waiting for HW button press.
* Request: Abort last operation that required user interaction @prev ButtonRequest @prev PinMatrixRequest @prev PassphraseRequest.
* Request: Starts workflow for setting/changing/removing the PIN @next ButtonRequest @next PinMatrixRequest.
* Response: Return ciphered/deciphered value @prev CipherKeyValue.
* Request: Ask device to encrypt or decrypt value of given key @next CipheredKeyValue @next Failure.
* Request: clear session (removes cached PIN, passphrase, etc).
* Structure representing Coin @used_in Features.
* Request: "Press" the button on the device @next Success.
* Request: Erase block of flash on device WARNING: Writing to the wrong location can irreparably break the device.
* Request: Computer asks for device state @next DebugLinkState.
* Response: Device wants host to log event.
* Response: Device sends memory back @prev DebugLinkMemoryRead.
* Request: Read memory from device @next DebugLinkMemory.
* Request: Write memory to device.
* Response: Device current state @prev DebugLinkGetState.
* Request: Ask device to restart.
* Response: Decrypted message @prev DecryptedMessage.
* Request: Ask device to decrypt message @next Success @next Failure.
* Response: Device provides ECDH session key @prev GetECDHSessionKey.
* Response: Encrypted message @prev EncryptMessage.
* Request: Ask device to encrypt message @next EncryptedMessage @next Failure.
* Response: Reply with random data generated by internal RNG @prev GetEntropy.
* Request: Provide additional entropy for seed generation function @prev EntropyRequest @next ButtonRequest.
* Response: Ask for additional entropy from host computer @prev ResetDevice @next EntropyAck.
* Request: Estimated size of the transaction This behaves exactly like SignTx, which means that it can ask using TxRequest This call is non-blocking (except possible PassphraseRequest to unlock the seed) @next TxSize @next Failure.
* Response: Contains an Ethereum address derived from device private seed @prev EthereumGetAddress.
* Request: Ask device for Ethereum address corresponding to address_n path @next PassphraseRequest @next EthereumAddress @next Failure.
* Response: Signed message @prev EthereumSignMessage.
* Request: Ask device to sign message @next EthereumMessageSignature @next Failure.
* Request: Ask device to sign transaction All fields are optional from the protocol's point of view.
* Request: Transaction payload data.
* Response: Device asks for more data from transaction payload, or returns the signature.
* Request: Ask device to verify message @next Success @next Failure.
* Response: Failure of the previous request.
* Response: Reports various information about the device @prev Initialize @prev GetFeatures.
* Request: Ask device to erase its firmware (so it can be replaced via FirmwareUpload) @next Success @next FirmwareRequest @next Failure.
* Response: Ask for firmware chunk @next FirmwareUpload.
* Request: Send firmware in binary form to the device @next Success @next Failure.
* Request: Ask device for address corresponding to address_n path @next PassphraseRequest @next Address @next Failure.
* Request: Ask device to generate ECDH session key @next ECDHSessionKey @next Failure.
* Request: Request a sample of random data generated by hardware RNG.
* Request: Ask for device details (no device reset) @next Features.
* Request: Ask device for public key corresponding to address_n path @next PassphraseRequest @next PublicKey @next Failure.
No description provided by the author
* Structure representing BIP32 (hierarchical deterministic) node Used for imports of private key into the device and exporting public key out of device @used_in PublicKey @used_in LoadDevice @used_in DebugLinkState @used_in Storage.
* Structure representing identity data @used_in IdentityType.
* Request: Reset device to default state and ask for device details @next Features.
* Request: Load seed and related internal settings from the computer @next ButtonRequest @next Success @next Failure.
* Response: Signed message @prev SignMessage.
* Type of redeem script used in input @used_in TxInputType.
* Request: Send passphrase back @prev PassphraseRequest.
* Response: Device awaits encryption passphrase @next PassphraseAck @next Cancel.
* Request: Test if the device is alive, device sends back the message in Success response @next Success.
* Request: Computer responds with encoded PIN @prev PinMatrixRequest.
* Response: Device is asking computer to show PIN matrix and awaits PIN encoded using this matrix scheme @next PinMatrixAck @next Cancel.
* Response: Contains public key derived from device private seed @prev GetPublicKey.
* Request: Start recovery workflow asking user for specific words of mnemonic Used to recovery device safely even on untrusted computer.
* Request: Ask device to do initialization involving user interaction @next EntropyRequest @next Failure.
* Request: Perform a device self-test @next Success @next Failure.
* Request: Set U2F counter @next Success.
* Response: Device provides signed identity @prev SignIdentity.
* Request: Ask device to sign identity @next SignedIdentity @next Failure.
* Request: Ask device to sign message @next MessageSignature @next Failure.
* Request: Ask device to sign transaction @next PassphraseRequest @next PinMatrixRequest @next TxRequest @next Failure.
* Request: Simplified transaction signing This method doesn't support streaming, so there are hardware limits in number of inputs and outputs.
* Response: Success of the previous request.
* Structure representing transaction @used_in SimpleSignTx.
* Request: Reported transaction data @prev TxRequest @next TxRequest.
* Structure representing transaction input @used_in SimpleSignTx @used_in TransactionType.
* Structure representing compiled transaction output @used_in TransactionType.
* Structure representing transaction output @used_in SimpleSignTx @used_in TransactionType.
* Response: Device asks for information for signing transaction or returns the last result If request_index is set, device awaits TxAck message (with fields filled in according to request_type) If signature_index is set, 'signature' contains signed input of signature_index's input @prev SignTx @prev SimpleSignTx @prev TxAck.
* Structure representing request details @used_in TxRequest.
* Structure representing serialized data @used_in TxRequest.
* Response: Estimated size of the transaction @prev EstimateTxSize.
* Request: Ask device to verify message @next Success @next Failure.
* Request: Request device to wipe all sensitive data and settings @next ButtonRequest.
* Request: Computer replies with word from the mnemonic @prev WordRequest @next WordRequest @next Success @next Failure.
* Response: Device is waiting for user to enter word of the mnemonic Its position is shown only on device's internal display.

# Type aliases

* Type of button request @used_in ButtonRequest.
* Type of failures returned by Failure message @used_in Failure.
* Type of script which will be used for transaction output @used_in TxInputType.
* Mapping between Trezor wire identifier (uint) and a protobuf message.
* Type of script which will be used for transaction output @used_in TxOutputType.
* Type of PIN request @used_in PinMatrixRequest.
* Type of recovery procedure.
* Type of information required by transaction signing process @used_in TxRequest.
* Type of Recovery Word request @used_in WordRequest.