good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 19, 2015
    • Felix Lange's avatar
    • Felix Lange's avatar
      eth/downloader: don't hang for spurious deliveries · 900da3d8
      Felix Lange authored
      Unexpected deliveries could block indefinitely if they arrived at the
      right time. The fix is to ensure that the cancellation channel is
      always closed when the sync ends, unblocking any deliveries. Also remove
      the atomic check for whether a sync is currently running because it
      doesn't help and can be misleading.
      
      Cancelling always seems to break the tests though. The downloader
      spawned d.process whenever new data arrived, making it somewhat hard to
      track when block processing was actually done. Fix this by running
      d.process in a dedicated goroutine that is tied to the lifecycle of the
      sync. d.process gets notified of new work by the queue instead of being
      invoked all the time. This removes a ton of weird workaround code,
      including a hairy use of atomic CAS.
      900da3d8
  2. Nov 05, 2015
  3. Nov 04, 2015
  4. Oct 30, 2015
  5. Oct 29, 2015
    • Felix Lange's avatar
      cmd/utils, rpc/comms: stop XEth when IPC connection ends · fbdb44dc
      Felix Lange authored
      There are a bunch of changes required to make this work:
      
      - in miner: allow unregistering agents, fix RemoteAgent.Stop
      - in eth/filters: make FilterSystem.Stop not crash
      - in rpc/comms: move listen loop to platform-independent code
      
      Fixes #1930. I ran the shell loop there for a few minutes and didn't see
      any changes in the memory profile.
      fbdb44dc
  6. Oct 28, 2015
  7. Oct 27, 2015
    • Felix Lange's avatar
      eth, xeth: fix GasPriceOracle goroutine leak · ae1b5b3f
      Felix Lange authored
      XEth.gpo was being initialized as needed. WithState copies the XEth
      struct including the gpo field. If gpo was nil at the time of the copy
      and Call or Transact were invoked on it, an additional GPO listenLoop
      would be spawned.
      
      Move the lazy initialization to GasPriceOracle instead so the same GPO
      instance is shared among all created XEths.
      
      Fixes #1317
      Might help with #1930
      ae1b5b3f
  8. Oct 26, 2015
    • Viktor Trón's avatar
      rpc api: eth_getNatSpec · 4d005a2c
      Viktor Trón authored
      * xeth, rpc: implement eth_getNatSpec for tx confirmations
      * rename silly docserver -> httpclient
      * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot
      * cmd: introduce separate CLI flag for DocRoot (defaults to homedir)
      * common/path: delete unused assetpath func, separate HomeDir func
      4d005a2c
  9. Oct 22, 2015
  10. Oct 21, 2015
    • Viktor Trón's avatar
      console: · 8b81ad1f
      Viktor Trón authored
      * lines with leading space are ommitted from history
      * exit processed even with whitespace around
      * all whitespace lines (not only empty ones) are ignored
      
      add 7 missing commands to admin api autocomplete
      
      registrar: methods now return proper error if reg addresses are not set. fixes #1457
      
      rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password
      
      registrar: add registrar tests for errors
      
      crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580
      
      CLI: improve error message when starting a second instance of geth. fixes #1564
      
      cli/accounts: unlock multiple accounts. fixes #1785
      * make unlocking multiple accounts work with inline <() fd
      * passwdfile now correctly read only once
      * improve logs
      * fix CLI help text for unlocking
      
      fix regression with docRoot / admin API
      * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi
      * docRoot field for JS console in order to pass when RPC is (re)started
      * improve flag desc for jspath
      
      common/docserver: catch http errors from response
      
      fix rpc/api tests
      
      common/natspec: fix end to end test (skipped because takes 8s)
      
      registrar: fix major regression:
      * deploy registrars on frontier
      * register HashsReg and UrlHint in GlobalRegistrar.
      * set all 3 contract addresses in code
      * zero out addresses first in tests
      8b81ad1f
    • Péter Szilágyi's avatar
  11. Oct 19, 2015
  12. Oct 16, 2015
  13. Oct 15, 2015
  14. Oct 12, 2015
  15. Oct 08, 2015
  16. Oct 07, 2015
  17. Oct 03, 2015
    • Jeffrey Wilcke's avatar
      cmd/geth, cmd/utils, core, rpc: renamed to blockchain · 7c769293
      Jeffrey Wilcke authored
      * Renamed ChainManager to BlockChain
      * Checkpointing is no longer required and never really properly worked
      when the state was corrupted.
      7c769293
    • Jeffrey Wilcke's avatar
      cmd/evm, core/vm, test: refactored VM and core · 361082ec
      Jeffrey Wilcke authored
      * Moved `vm.Transfer` to `core` package and changed execution to call
      `env.Transfer` instead of `core.Transfer` directly.
      * core/vm: byte code VM moved to jump table instead of switch
      * Moved `vm.Transfer` to `core` package and changed execution to call
        `env.Transfer` instead of `core.Transfer` directly.
      * Byte code VM now shares the same code as the JITVM
      * Renamed Context to Contract
      * Changed initialiser of state transition & unexported methods
      * Removed the Execution object and refactor `Call`, `CallCode` &
        `Create` in to their own functions instead of being methods.
      * Removed the hard dep on the state for the VM. The VM now
        depends on a Database interface returned by the environment. In the
        process the core now depends less on the statedb by usage of the env
      * Moved `Log` from package `core/state` to package `core/vm`.
      361082ec
  18. Oct 02, 2015
  19. Sep 23, 2015
  20. Sep 21, 2015
    • Jeffrey Wilcke's avatar
      core, core/types: readd transactions after chain re-org · eaa4473d
      Jeffrey Wilcke authored
      Added a `Difference` method to `types.Transactions` which sets the
      receiver to the difference of a to b (NOTE: not a **and** b).
      
      Transaction pool subscribes to RemovedTransactionEvent adding back to
      those potential missing from the chain.
      
      When a chain re-org occurs remove any transactions that were removed
      from the canonical chain during the re-org as well as the receipts that
      were generated in the process.
      
      Closes #1746
      eaa4473d
  21. Sep 16, 2015
  22. Sep 15, 2015
  23. Sep 14, 2015
Loading