- 25 11月, 2016 2 次提交
-
-
由 Felix Lange 提交于
-
由 Jeffrey Wilcke 提交于
Implemented proper touch revert journal entries and copied a Parity consensus bug in order to remain in sync with the current longest chain.
-
- 22 11月, 2016 1 次提交
-
-
由 Nick Johnson 提交于
-
- 15 11月, 2016 4 次提交
-
-
由 Jeffrey Wilcke 提交于
1.4 HF
-
由 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>
-
- 15 10月, 2016 11 次提交
-
-
由 Jeffrey Wilcke 提交于
Geth 1.4.18: Note 7
-
由 Péter Szilágyi 提交于
-
由 Jeffrey Wilcke 提交于
(cherry picked from commit ca419f3c)
-
由 Felix Lange 提交于
(cherry picked from commit 82b14a05)
-
由 Felix Lange 提交于
If geth is busy importing 2048 heavy blocks it can take a while before it prints anything. This change ensures that a message gets printed every 8s. (cherry picked from commit e66b158f)
-
由 Jeffrey Wilcke 提交于
(cherry picked from commit f2be2493)
-
由 Felix Lange 提交于
The trie sync code links subtries using pointers into node structs. Since commit 40cdcf11 nodes are no longer copied when unpacking from an interface value, causing all nodes to get linked up as the sync progresses. Fix it by breaking the pointer chain with an explicit copy. (cherry picked from commit 2cd7a039)
-
由 Jeffrey Wilcke 提交于
This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code. (cherry picked from commit 64af2aaf)
-
由 Felix Lange 提交于
* trie: store nodes as pointers This avoids memory copies when unwrapping node interface values. name old time/op new time/op delta Get 388ns ± 8% 215ns ± 2% -44.56% (p=0.000 n=15+15) GetDB 363ns ± 3% 202ns ± 2% -44.21% (p=0.000 n=15+15) UpdateBE 1.57µs ± 2% 1.29µs ± 3% -17.80% (p=0.000 n=13+15) UpdateLE 1.92µs ± 2% 1.61µs ± 2% -16.25% (p=0.000 n=14+14) HashBE 2.16µs ± 6% 2.18µs ± 6% ~ (p=0.436 n=15+15) HashLE 7.43µs ± 3% 7.21µs ± 3% -2.96% (p=0.000 n=15+13) * trie: close temporary databases in GetDB benchmark * trie: don't keep []byte from DB load around Nodes decoded from a DB load kept hashes and values as sub-slices of the DB value. This can be a problem because loading from leveldb often returns []byte with a cap that's larger than necessary, increasing memory usage. * trie: unload old cached nodes * trie, core/state: use cache unloading for account trie * trie: use explicit private flags (fixes Go 1.5 reflection issue). * trie: fixup cachegen overflow at request of nick * core/state: rename journal size constant (cherry picked from commit 40cdcf11)
-
由 Péter Szilágyi 提交于
(cherry picked from commit 182d9cb7)
-
由 Nick Johnson 提交于
(cherry picked from commit 9e9bfc4e)
-
- 10 10月, 2016 8 次提交
-
-
由 Felix Lange 提交于
Backport TxPool limits to release/1.4
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
(cherry picked from commit 16d8397e)
-
由 Péter Szilágyi 提交于
(cherry picked from commit b4a52513)
-
由 Péter Szilágyi 提交于
(cherry picked from commit a183ea29)
-
由 Péter Szilágyi 提交于
(cherry picked from commit affffb39)
-
由 Péter Szilágyi 提交于
(cherry picked from commit 0ef327bb)
-
由 Péter Szilágyi 提交于
(cherry picked from commit 795b7042)
-
- 06 10月, 2016 9 次提交
-
-
由 Felix Lange 提交于
-
由 Felix Lange 提交于
There is no need to use the reflection-based decoder to decode []byte. (cherry picked from commit 3c836dd7)
-
由 Felix Lange 提交于
The delete/remove naming has caused endless confusion in the past. (cherry picked from commit 90fce8bf)
-
由 Felix Lange 提交于
This commit replaces the deep-copy based state revert mechanism with a linear complexity journal. This commit also hides several internal StateDB methods to limit the number of ways in which calling code can use the journal incorrectly. As usual consultation and bug fixes to the initial implementation were provided by @karalabe, @obscuren and @Arachnid. Thank you! (cherry picked from commit 1f1ea18b)
-
由 Felix Lange 提交于
Two new tests are skipped because they're buggy. Making some newer random state tests work required implementing the 'compressed return value encoding'. (cherry picked from commit 1b7b2ba2)
-
由 Felix Lange 提交于
-
由 Péter Szilágyi 提交于
(cherry picked from commit e482b569)
-
由 Felix Lange 提交于
(cherry picked from commit 82e09c17)
-
由 Felix Lange 提交于
This pulls in the assembly implementation of keccakf1600 for amd64. (cherry picked from commit 54ea3173)
-
- 03 10月, 2016 5 次提交
-
-
由 Péter Szilágyi 提交于
Geth 1.4.15 "Come at me bro"
-
由 Péter Szilágyi 提交于
-
由 Felix Lange 提交于
(cherry picked from commit b4b5921d)
-
由 Felix Lange 提交于
This commit tweaks the debian packaging tool: * All build environment metadata can now be overriden on the command line. This allows testing the CI build behaviour locally. * -unstable packages now actually contain the binaries (oops) * packages use Go 1.7 to build * archiving is skipped for PR builds (cherry picked from commit 4f762797)
-
由 Péter Szilágyi 提交于
(cherry picked from commit b7159818)
-