- Jan 26, 2017
-
-
Zsolt Felföldi authored
-
- Jan 24, 2017
-
-
Felix Lange authored
Commit d3b751e4 accidentally deleted a crucial 'return' statement, leading to a crash in case of an issue with node data. This change improves the fix in PR #3591 by removing the lock entirely.
-
- Jan 20, 2017
-
-
Péter Szilágyi authored
-
- Jan 17, 2017
-
-
Nick Johnson authored
-
Bas van Kervel authored
-
- Jan 12, 2017
-
-
Felix Lange authored
-
Bas van Kervel authored
-
- Jan 09, 2017
-
-
Felix Lange authored
go get github.com/gordonklaus/ineffassign ineffassign .
-
- Jan 06, 2017
-
-
Péter Szilágyi authored
-
Felix Lange authored
-
Felix Lange authored
-
Felix Lange authored
This removes the core/types -> leveldb dependency.
-
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.
-
- Jan 05, 2017
-
-
Felix Lange authored
-
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 23, 2016
-
-
Péter Szilágyi authored
-
- Dec 20, 2016
-
-
Felix Lange authored
-
Felix Lange authored
This change couldn't be automated because HexNumber was used for numbers of all sizes.
-
Péter Szilágyi authored
-
Nick Johnson authored
This commit introduces a FindOnce method for filters. FindOnce finds the next block that matches the filter and returns all matching logs from that block. If there are no further matching logs, it returns a nil slice. This method allows callers to iterate over large sets of logs progressively. The changes introduce a small inefficiency relating to mipmaps: the first time a filter is called, it acts as if all mipmaps are matched, and thus iterates several blocks near the requested start point. This is in the interest of simplicity and avoiding duplicate mipmap lookups each time FindOnce is called.
-
- Dec 14, 2016
-
-
Nick Johnson authored
-
- 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
-
- 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.
-
- Dec 05, 2016
-
-
Felix Lange authored
This field used to be assigned by the filter system and returned through the RPC API. Now that we have a Go client that uses the underlying type, the field needs to move. It is now assigned to true when the RemovedLogs event is generated so the filter system doesn't need to care about the field at all. While here, remove the log list from ChainSideEvent. There are no users of this field right now and any potential users could subscribe to RemovedLogsEvent instead.
-
- Nov 30, 2016
-
-
Martin Holst Swende authored
* miner: removed unnecessary state.Copy() * eth: made use of new miner method without state copying * miner: More documentation about new method
-
- Nov 28, 2016
-
-
Bas van Kervel authored
-
Felix Lange authored
-
- Nov 25, 2016
-
-
Jeffrey Wilcke authored
-
Felix Lange authored
The registrar was broken, unmaintained and there is a much better replacement: ENS. (cherry picked from commit 6ca8f57b08d550613175260cab7633adcacbe6ab)
-
- Nov 23, 2016
-
-
Jeffrey Wilcke authored
-
- Nov 13, 2016
-
-
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 09, 2016
-
-
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
-
Zsolt Felföldi authored
-
- Nov 01, 2016
-
-
Péter Szilágyi authored
-