- 14 2月, 2017 1 次提交
-
-
由 Jeffrey Wilcke 提交于
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
-
- 13 2月, 2017 1 次提交
-
-
由 Jeffrey Wilcke 提交于
This reverts commit 8b57c494.
-
- 02 2月, 2017 1 次提交
-
-
由 Jeffrey Wilcke 提交于
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
-
- 27 1月, 2017 1 次提交
-
-
由 Zsolt Felfoldi 提交于
-
- 26 1月, 2017 2 次提交
-
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
- 17 1月, 2017 2 次提交
-
-
由 Nick Johnson 提交于
-
由 Bas van Kervel 提交于
-
- 16 1月, 2017 1 次提交
-
-
由 Felföldi Zsolt 提交于
-
- 09 1月, 2017 1 次提交
-
-
由 Felix Lange 提交于
go get github.com/gordonklaus/ineffassign ineffassign .
-
- 07 1月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 06 1月, 2017 3 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
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.
-
由 Zsolt Felfoldi 提交于
les/flowcontrol: using proper types for relative and absolute times
-
- 05 1月, 2017 2 次提交
-
-
由 Felix Lange 提交于
-
由 Jeffrey Wilcke 提交于
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.
-
- 04 1月, 2017 1 次提交
-
-
由 Péter Szilágyi 提交于
-
- 20 12月, 2016 1 次提交
-
-
由 Felix Lange 提交于
This change couldn't be automated because HexNumber was used for numbers of all sizes.
-
- 11 12月, 2016 1 次提交
-
-
由 bas-vk 提交于
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.
-
- 10 12月, 2016 4 次提交
-
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
- 08 12月, 2016 2 次提交
-
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
- 06 12月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
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.
-
- 25 11月, 2016 2 次提交
-
-
由 Péter Szilágyi 提交于
-
由 Jeffrey Wilcke 提交于
-
- 16 11月, 2016 1 次提交
-
-
由 Jeffrey Wilcke 提交于
-
- 14 11月, 2016 3 次提交
-
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
由 Zsolt Felfoldi 提交于
-
- 13 11月, 2016 3 次提交
-
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
-
由 Jeffrey Wilcke 提交于
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: NJeffrey Wilcke <jeffrey@ethereum.org>
-
- 11 11月, 2016 1 次提交
-
-
由 Zsolt Felfoldi 提交于
-
- 09 11月, 2016 4 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
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 Felfoldi 提交于
-