Skip to content
  • Felix Lange's avatar
    ethclient, mobile: add TransactionSender (#15127) · d78ad226
    Felix Lange authored
    * core/types: make Signer derive address instead of public key
    
    There are two reasons to do this now: The upcoming ethclient signer
    doesn't know the public key, just the address. EIP 208 will introduce a
    new signer which derives the 'entry point' address for transactions with
    zero signature. The entry point has no public key.
    
    Other changes to the interface ease the path make to moving signature
    crypto out of core/types later.
    
    * ethclient, mobile: add TransactionSender
    
    The new method can get the right signer without any crypto, and without
    knowledge of the signature scheme that was used when the transaction was
    included.
    d78ad226