- Jan 06, 2017
-
-
Zsolt Felföldi authored
les/flowcontrol: using proper types for relative and absolute times
-
- Jan 05, 2017
-
-
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.
-
- Jan 04, 2017
-
-
Péter Szilágyi authored
-
- Dec 20, 2016
-
-
Felix Lange authored
This change couldn't be automated because HexNumber was used for numbers of all sizes.
-
- Dec 10, 2016
-
-
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.
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Dec 08, 2016
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Dec 06, 2016
-
-
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.
-
- Nov 25, 2016
-
-
Péter Szilágyi authored
-
Jeffrey Wilcke authored
-
- Nov 15, 2016
-
-
Jeffrey Wilcke authored
-
- Nov 14, 2016
-
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-
- Nov 13, 2016
-
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
-
Jeffrey Wilcke authored
This commit implements EIP158 part 1, 2, 3 & 4 1. If an account is empty it's no longer written to the trie. An empty account is defined as (balance=0, nonce=0, storage=0, code=0). 2. Delete an empty account if it's touched 3. An empty account is redefined as either non-existent or empty. 4. Zero value calls and zero value suicides no longer consume the 25k reation costs. params: moved core/config to params Signed-off-by:
Jeffrey Wilcke <jeffrey@ethereum.org>
-
- Nov 11, 2016
-
-
Zsolt Felföldi authored
-
- Nov 09, 2016
-
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
These accessors were introduced by light client changes, but the only method that is actually used is GetNumberU64. This commit replaces all uses of .GetNumberU64 with .Number.Uint64.
-
Zsolt Felföldi authored
-
Zsolt Felföldi authored
-