Felix Lange
c3a77d6268
trie: fix delete bug for values contained in fullNode
...
Delete crashed if a fullNode contained a valueNode directly. This bug is
very unlikely to occur with SecureTrie, but can happen with regular
tries. This commit also introduces a randomised test which triggers all
trie operations, which should prevent such bugs in the future.
Credit for finding this bug goes to Github user @rjl493456442.
2016-09-29 22:53:59 +02:00
Felix Lange
cd791bd855
core, trie: replace state caches with trie journal
2016-09-28 11:27:28 +03:00
Péter Szilágyi
748d1c171d
core, core/state, trie: enterprise hand-tuned multi-level caching
2016-05-26 16:33:09 +03:00
Felix Lange
6fdd0893c3
all: fix go vet warnings
2016-04-15 11:17:27 +02:00
Péter Szilágyi
e90958cd29
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
2016-03-09 10:33:39 +02:00
zsfelfoldi
52904ae32f
trie: added error handling
...
Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services)
2015-12-01 01:38:32 +01:00
Felix Lange
565d9f2306
core, trie: new trie
2015-09-22 22:53:49 +02:00
Felix Lange
6b91a4abe5
trie: improve benchmarks
2015-09-22 22:49:27 +02:00
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
2015-07-23 18:35:11 +02:00
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
2015-07-22 18:51:45 +02:00
Felix Lange
ea54283b30
all: update license information
2015-07-07 14:12:44 +02:00
Jeffrey Wilcke
0a1ff68c11
trie: dirty tracking
2015-07-04 02:51:36 +02:00
obscuren
a40a91d60f
trie: fixed tests
2015-06-21 17:08:47 +02:00
obscuren
d7ab716eea
Fixed mkdnode & added some tests
2015-03-19 10:57:02 +01:00
obscuren
b523441361
Moved ethutil => common
2015-03-16 11:27:38 +01:00
obscuren
d44fe4ec62
Merge branch 'develop' into poc-9
2015-03-05 17:46:40 +01:00
obscuren
357d17ae58
Start at 0
2015-03-05 17:46:00 +01:00
obscuren
bf5365b317
Delet => Delete
2015-03-03 12:15:58 +01:00
obscuren
ae45a39dc1
Secure trie
2015-02-28 20:52:29 +01:00
obscuren
99ebb869bf
Fixed iterator
2015-02-07 17:03:22 +01:00
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
2015-01-08 11:47:04 +01:00
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
2015-01-07 13:17:48 +01:00
obscuren
93e693be72
Fixed tests for 'types'
2014-11-18 19:52:45 +01:00
obscuren
675ba4d7eb
Merge branch 'tests' into poc8
2014-11-18 19:48:35 +01:00
obscuren
62cd9946ee
j => i
2014-11-18 12:20:14 +01:00
obscuren
e08aba5dd9
added output test
2014-11-18 12:18:27 +01:00
obscuren
3220a32ff0
Added some comparison tests for the new ptrie
2014-11-18 12:03:09 +01:00
Taylor Gerring
ddca18638f
update imports order per goimports
2014-11-15 20:21:55 -06:00
Taylor Gerring
e6e468ef59
Merge branch 'develop' of https://github.com/tgerring/go-ethereum into tests
...
Conflicts:
p2p/messenger_test.go
trie/trie_test.go
2014-11-14 15:19:50 -06:00
Taylor Gerring
2a9fc7baa9
Merge branch 'develop' of https://github.com/tgerring/go-ethereum
2014-11-14 15:01:52 -06:00
Taylor Gerring
00878e5b6e
Convert trie tests to gocheck
2014-11-12 21:43:25 +01:00
obscuren
60cdb1148c
Transaction execution fixes
2014-11-12 01:36:36 +01:00
obscuren
af34749a6b
ethtrie => trie
2014-10-31 14:45:03 +01:00