good morning!!!!

Skip to content
Snippets Groups Projects
  1. Apr 06, 2020
    • Sayli Patil's avatar
      MAT-865: Add subscribe deposit event filter (#21) · 260243cf
      Sayli Patil authored
      
      * add eth_depositById rpc method
      
      * add sample depositById test
      
      * change ethereum to bor
      
      * add subscription for new deposit data
      
      * create channel to listen new state change
      
      * push state data to subcribed channel
      
      * apply filter on deposit events sub
      
      * remove unused methods
      
      * Fix: no filter
      
      * Remove unused method
      
      * revert changes
      
      * Fix: RPC port
      
      * refactor and cleanup
      
      * Fix: SubscribeStateEvent
      
      * remove unused import
      
      * Resolve comments
      
      Co-authored-by: default avatarArpit Agarwal <93arpit@gmail.com>
      260243cf
  2. Mar 18, 2020
  3. Nov 12, 2019
  4. Jul 14, 2019
  5. May 13, 2019
    • Zsolt Felföldi's avatar
      les, light: implement ODR transaction lookup by hash (#19069) · 40cdcf8c
      Zsolt Felföldi authored
      * les, light: implement ODR transaction lookup by hash
      
      * les: delete useless file
      
      * internal/ethapi: always use backend to find transaction
      
      * les, eth, internal/ethapi: renamed GetCanonicalTransaction to GetTransaction
      
      * light: add canonical header verification to GetTransaction
      40cdcf8c
  6. May 02, 2019
  7. Apr 08, 2019
  8. Apr 04, 2019
  9. Mar 27, 2019
  10. Dec 06, 2018
  11. Sep 29, 2018
  12. Jul 12, 2018
  13. Jun 14, 2018
  14. May 18, 2018
  15. May 09, 2018
  16. May 07, 2018
  17. Feb 22, 2018
  18. Sep 06, 2017
  19. Sep 05, 2017
  20. Aug 18, 2017
  21. Jul 05, 2017
  22. Jun 27, 2017
    • Felix Lange's avatar
      core/state: access trie through Database interface, track errors (#14589) · 9e5f03b6
      Felix Lange authored
      With this commit, core/state's access to the underlying key/value database is
      mediated through an interface. Database errors are tracked in StateDB and
      returned by CommitTo or the new Error method.
      
      Motivation for this change: We can remove the light client's duplicated copy of
      core/state. The light client now supports node iteration, so tracing and storage
      enumeration can work with the light client (not implemented in this commit).
      9e5f03b6
  23. Apr 12, 2017
  24. Apr 06, 2017
  25. Mar 22, 2017
  26. Feb 26, 2017
    • Felix Lange's avatar
      common: move big integer math to common/math (#3699) · 5c8fe28b
      Felix Lange authored
      * common: remove CurrencyToString
      
      Move denomination values to params instead.
      
      * common: delete dead code
      
      * common: move big integer operations to common/math
      
      This commit consolidates all big integer operations into common/math and
      adds tests and documentation.
      
      There should be no change in semantics for BigPow, BigMin, BigMax, S256,
      U256, Exp and their behaviour is now locked in by tests.
      
      The BigD, BytesToBig and Bytes2Big functions don't provide additional
      value, all uses are replaced by new(big.Int).SetBytes().
      
      BigToBytes is now called PaddedBigBytes, its minimum output size
      parameter is now specified as the number of bytes instead of bits. The
      single use of this function is in the EVM's MSTORE instruction.
      
      Big and String2Big are replaced by ParseBig, which is slightly stricter.
      It previously accepted leading zeros for hexadecimal inputs but treated
      decimal inputs as octal if a leading zero digit was present.
      
      ParseUint64 is used in places where String2Big was used to decode a
      uint64.
      
      The new functions MustParseBig and MustParseUint64 are now used in many
      places where parsing errors were previously ignored.
      
      * common: delete unused big integer variables
      
      * accounts/abi: replace uses of BytesToBig with use of encoding/binary
      
      * common: remove BytesToBig
      
      * common: remove Bytes2Big
      
      * common: remove BigTrue
      
      * cmd/utils: add BigFlag and use it for error-checked integer flags
      
      While here, remove environment variable processing for DirectoryFlag
      because we don't use it.
      
      * core: add missing error checks in genesis block parser
      
      * common: remove String2Big
      
      * cmd/evm: use utils.BigFlag
      
      * common/math: check for 256 bit overflow in ParseBig
      
      This is supposed to prevent silent overflow/truncation of values in the
      genesis block JSON. Without this check, a genesis block that set a
      balance larger than 256 bits would lead to weird behaviour in the VM.
      
      * cmd/utils: fixup import
      5c8fe28b
  27. Feb 13, 2017
    • Jeffrey Wilcke's avatar
      params: core, core/vm, miner: 64bit gas instructions · c12f4df9
      Jeffrey Wilcke authored
      Reworked the EVM gas instructions to use 64bit integers rather than
      arbitrary size big ints. All gas operations, be it additions,
      multiplications or divisions, are checked and guarded against 64 bit
      integer overflows.
      
      In additon, most of the protocol paramaters in the params package have
      been converted to uint64 and are now constants rather than variables.
      
      * common/math: added overflow check ops
      * core: vmenv, env renamed to evm
      * eth, internal/ethapi, les: unmetered eth_call and cancel methods
      * core/vm: implemented big.Int pool for evm instructions
      * core/vm: unexported intPool methods & verification methods
      * core/vm: added memoryGasCost overflow check and test
      c12f4df9
    • Jeffrey Wilcke's avatar
      57f4e902
  28. Feb 02, 2017
    • Jeffrey Wilcke's avatar
      params: core, core/vm, miner: 64bit gas instructions (#3514) · 8b57c494
      Jeffrey Wilcke authored
      Reworked the EVM gas instructions to use 64bit integers rather than
      arbitrary size big ints. All gas operations, be it additions,
      multiplications or divisions, are checked and guarded against 64 bit
      integer overflows.
      
      In additon, most of the protocol paramaters in the params package have
      been converted to uint64 and are now constants rather than variables.
      
      * common/math: added overflow check ops
      * core: vmenv, env renamed to evm
      * eth, internal/ethapi, les: unmetered eth_call and cancel methods
      * core/vm: implemented big.Int pool for evm instructions
      * core/vm: unexported intPool methods & verification methods
      * core/vm: added memoryGasCost overflow check and test
      8b57c494
  29. Jan 06, 2017
    • Felix Lange's avatar
      core/vm: move Log to core/types · 77310619
      Felix Lange authored
      This significantly reduces the dependency closure of ethclient, which no
      longer depends on core/vm as of this change.
      
      All uses of vm.Logs are replaced by []*types.Log. NewLog is gone too,
      the constructor simply returned a literal.
      77310619
  30. Jan 05, 2017
    • Jeffrey Wilcke's avatar
      core/vm: improved EVM run loop & instruction calling (#3378) · bbc4ea4a
      Jeffrey Wilcke authored
      The run loop, which previously contained custom opcode executes have been
      removed and has been simplified to a few checks.
      
      Each operation consists of 4 elements: execution function, gas cost function,
      stack validation function and memory size function. The execution function
      implements the operation's runtime behaviour, the gas cost function implements
      the operation gas costs function and greatly depends on the memory and stack,
      the stack validation function validates the stack and makes sure that enough
      items can be popped off and pushed on and the memory size function calculates
      the memory required for the operation and returns it.
      
      This commit also allows the EVM to go unmetered. This is helpful for offline
      operations such as contract calls.
      bbc4ea4a
  31. Dec 10, 2016
    • Bas van Kervel's avatar
      core: bugfix state change race condition in txpool (#3412) · 4e36b1e3
      Bas van Kervel authored
      The transaction pool keeps track of the current nonce in its local pendingState. When a
      new block comes in the pendingState is reset. During the reset it fetches multiple times
      the current state through the use of the currentState callback. When a second block comes
      in during the reset its possible that the state changes during the reset. If that block
      holds transactions that are currently in the pool the local pendingState that is used to
      determine nonces can get out of sync.
      4e36b1e3
  32. Dec 06, 2016
    • Jeffrey Wilcke's avatar
      core, core/vm: implemented a generic environment (#3348) · 3fc7c978
      Jeffrey Wilcke authored
      Environment is now a struct (not an interface). This
      reduces a lot of tech-debt throughout the codebase where a virtual
      machine environment had to be implemented in order to test or run it.
      
      The new environment is suitable to be used en the json tests, core
      consensus and light client.
      3fc7c978
  33. Nov 30, 2016
  34. Nov 13, 2016
Loading