1. 21 Jun, 2022 2 commits
    • lightclient's avatar
      all: remove concept of public/private API definitions (#25053) · 10dc5dce
      lightclient authored
      * internal/ethapi: rename PublicEthereumAPI to EthereumAPI
      
      * eth: rename PublicEthereumAPI to EthereumAPI
      
      * internal/ethapi: rename PublicTxPoolAPI to TxPoolAPI
      
      * internal/ethapi: rename PublicAccountAPI to EthereumAccountAPI
      
      * internal/ethapi: rename PrivateAccountAPI to PersonalAccountAPI
      
      * internal/ethapi: rename PublicBlockChainAPI to BlockChainAPI
      
      * internal/ethapi: rename PublicTransactionPoolAPI to TransactionAPI
      
      * internal/ethapi: rename PublicDebugAPI to DebugAPI
      
      * internal/ethapi: move PrivateDebugAPI methods to DebugAPI
      
      * internal/ethapi: rename PublicNetAPI to NetAPI
      
      * les: rename PrivateLightServerAPI to LightServerAPI
      
      * les: rename PrivateLightAPI to LightAPI
      
      * les: rename PrivateDebugAPI to DebugAPI
      
      * les: rename PublicDownloaderAPI to DownloaderAPI
      
      * eth,les: rename PublicFilterAPI to FilterAPI
      
      * eth: rename PublicMinerAPI to MinerAPI
      
      * eth: rename PublicDownloaderAPI to DownloaderAPI
      
      * eth: move PrivateMinerAPI methods to MinerAPI
      
      * eth: rename PrivateAdminAPI to AdminAPI
      
      * eth: rename PublicDebugAPI to DebugAPI
      
      * eth: move PrivateDebugAPI methods to DebugAPI
      
      * node: rename publicAdminAPI to adminAPI
      
      * node: move privateAdminAPI methods to adminAPI
      
      * node: rename publicWeb3API to web3API
      
      * eth,internal/ethapi: sync comments with previous renamings
      10dc5dce
    • aaronbuchwald's avatar
      trie: fix size accounting in cleaner (#25007) · 241dd273
      aaronbuchwald authored
      Decrease children size instead of dirties size when marking dirties as cleaned up in trie cleaner
      241dd273
  2. 20 Jun, 2022 4 commits
  3. 16 Jun, 2022 2 commits
  4. 15 Jun, 2022 6 commits
  5. 14 Jun, 2022 5 commits
  6. 13 Jun, 2022 1 commit
    • Martin Holst Swende's avatar
      all: more linters (#24783) · a907d7e8
      Martin Holst Swende authored
      This enables the following linters
      
      - typecheck
      - unused
      - staticcheck
      - bidichk
      - durationcheck
      - exportloopref
      - gosec
      
      WIth a few exceptions.
      
      - We use a deprecated protobuf in trezor. I didn't want to mess with that, since I cannot meaningfully test any changes there.
      - The deprecated TypeMux is used in a few places still, so the warning for it is silenced for now.
      - Using string type in context.WithValue is apparently wrong, one should use a custom type, to prevent collisions between different places in the hierarchy of callers. That should be fixed at some point, but may require some attention.
      - The warnings for using weak random generator are squashed, since we use a lot of random without need for cryptographic guarantees.
      a907d7e8
  7. 10 Jun, 2022 2 commits
  8. 08 Jun, 2022 6 commits
  9. 07 Jun, 2022 9 commits
  10. 06 Jun, 2022 3 commits