good morning!!!!

Skip to content
Snippets Groups Projects
  1. Oct 13, 2020
    • Marius van der Wijden's avatar
      accounts/keystore: fix flaky test (#21703) · 1fed2234
      Marius van der Wijden authored
      * accounts/keystore: add timeout to test to prevent failure on travis
      
      The TestWalletNotifications test sporadically fails on travis.
      This is because we shutdown the event collection before all events are received.
      Adding a small timeout (10 milliseconds) allows the collector to be scheduled
      and to consume all pending events before we shut it down.
      
      * accounts/keystore: added newlines back in
      
      * accounts/keystore: properly fix the walletNotifications test
      1fed2234
  2. Apr 22, 2020
    • Marius van der Wijden's avatar
      accounts/keystore: fix double import race (#20915) · 38aab0aa
      Marius van der Wijden authored
      * accounts/keystore: fix race in Import/ImportECDSA
      
      * accounts/keystore: added import/export tests
      
      * cmd/geth: improved TestAccountImport test
      
      * accounts/keystore: added import/export tests
      
      * accounts/keystore: fixed naming
      
      * accounts/keystore: fixed typo
      
      * accounts/keystore: use mutex instead of rwmutex
      
      * accounts: use errors instead of fmt
      38aab0aa
  3. Jun 18, 2019
  4. Oct 09, 2017
  5. Aug 09, 2017
  6. Apr 14, 2017
  7. Feb 13, 2017
  8. Jan 17, 2017
  9. Jan 09, 2017
  10. Jan 05, 2017
  11. May 20, 2016
  12. Apr 12, 2016
    • Felix Lange's avatar
    • Felix Lange's avatar
      accounts: improve API and add documentation · 46df50be
      Felix Lange authored
      - Sign takes common.Address, not Account
      - Import/Export methods work with encrypted JSON keys
      46df50be
    • Felix Lange's avatar
      accounts: cache key addresses · a9f26dcd
      Felix Lange authored
      In order to avoid disk thrashing for Accounts and HasAccount,
      address->key file mappings are now cached in memory. This makes it no
      longer necessary to keep the key address in the file name. The address
      of each key is derived from file content instead.
      
      There are minor user-visible changes:
      
      - "geth account list" now reports key file paths alongside the address.
      - If multiple keys are present for an address, unlocking by address is
        not possible. Users are directed to remove the duplicate files
        instead. Unlocking by index is still possible.
      - Key files are overwritten written in place when updating the password.
      a9f26dcd
    • Felix Lange's avatar
      accounts: streamline API · 46e8940b
      Felix Lange authored
      - Manager.Accounts no longer returns an error.
      - Manager methods take Account instead of common.Address.
      - All uses of Account with unkeyed fields are converted.
      46e8940b
    • Felix Lange's avatar
      accounts: fix go vet warnings · 4e6d8b34
      Felix Lange authored
      4e6d8b34
    • Felix Lange's avatar
      accounts, crypto: move keystore to package accounts · 85e6c40c
      Felix Lange authored
      The account management API was originally implemented as a thin layer
      around crypto.KeyStore, on the grounds that several kinds of key stores
      would be implemented later on. It turns out that this won't happen so
      KeyStore is a superflous abstraction.
      
      In this commit crypto.KeyStore and everything related to it moves to
      package accounts and is unexported.
      85e6c40c
  13. Dec 01, 2015
  14. Aug 01, 2015
  15. Jul 23, 2015
  16. Jul 22, 2015
  17. Jul 20, 2015
  18. Jul 07, 2015
  19. Jul 03, 2015
    • Viktor Trón's avatar
      fix account ordering · fc17a527
      Viktor Trón authored
      * chronological order of creation
      * new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex>
      * KeyStore2 -> KeyStore
      * backward compatibility
      * refactor keyStore methods
      fc17a527
  20. Jul 02, 2015
  21. Mar 09, 2015
  22. Mar 08, 2015
  23. Mar 07, 2015
    • Felix Lange's avatar
      accounts: use time.Duration correctly · afc530ea
      Felix Lange authored
      There is no point to using time.Duration if the value is interpreted as
      milliseconds. Callers should use the standard multiplication idiom to
      choose the unit. In fact, the only caller outside of the tests already
      does so.
      afc530ea
    • Felix Lange's avatar
      accounts: use pointers consistently · fda7b4c7
      Felix Lange authored
      Account is now always a non-pointer. This will be important once
      the manager starts remembering accounts.
      
      AccountManager is now always a pointer because it contains locks
      and locks cannot be copied.
      fda7b4c7
  24. Feb 25, 2015
    • Gustav Simonsson's avatar
      Address pull request comments · d1311c53
      Gustav Simonsson authored
      * Use RWMutex instead of Mutex
      * Use time.Duration instead of int for unlock time
      * Use time.After with select instead of time.Sleep
      d1311c53
    • Gustav Simonsson's avatar
      Add automatic locking / unlocking of accounts · b296b36d
      Gustav Simonsson authored
      * Change account signing API to two sign functions;
        Sign without passphrase - works if account is unlocked
        Sign with passphrase - always works and unlocks the account
      * Account stays unlocked for X ms and is then automatically locked
      b296b36d
  25. Feb 24, 2015
  26. Feb 23, 2015
  27. Feb 20, 2015
  28. Jan 28, 2015
    • Gustav Simonsson's avatar
      Address pull request comments · 8d9752a5
      Gustav Simonsson authored
      * Use crypto.Sign instead of directly calling secp256k1 lib
      * Rename UserAccount to Account and Addr to Address (for consistency)
      * Change AccountManager.Sign to take ptr to Account instead of
        address byte array
      * Simplify copying of Accounts in Accounts()
      * PubkeyToAddress and GetEntropyCSPRNG now exported
      8d9752a5
  29. Jan 26, 2015
    • Gustav Simonsson's avatar
      Add accounts package and refactor key stores · 512ffa2b
      Gustav Simonsson authored
      * Add initial UserAccount and AccountManager structs
      * Add NewAccount, Sign and Accounts functions
      * Refactor key stores to use key address as main identifier
        while keeping the UUID.
      * Use key address as file/dir names instead of UUID
      512ffa2b
Loading