Péter Szilágyi
5b0ee8ec30
core, eth, trie: fix data races and merge/review issues
9 years ago
Péter Szilágyi
b97e34a8e4
eth/downloader: concurrent receipt and state processing
9 years ago
Felix Lange
b252589960
ethdb: remove Flush
9 years ago
Felix Lange
d581dfee5f
ethdb: copy stored memdb values
...
Storing a value in LevelDB copies the bytes, modifying the value
afterwards does not affect the content of the database. This commit
ensures that MemDatabase satisfies the same property.
9 years ago
Felix Lange
8b32f10f16
ethdb: add NewBatch
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Jeffrey Wilcke
8f56eea77d
ethdb, trie: removed RLE compression
9 years ago
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".
9 years ago
Péter Szilágyi
c7e7778f2a
cmd, core, eth, ethdb: cache flag to allocate memory for db internal use
9 years ago
Péter Szilágyi
eb2d168710
eth, ethdb: fix a data race during startup/shutdown
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Péter Szilágyi
ccbb56b4f2
cmd/geth, eth, ethdb: monitor database compactions
10 years ago
obscuren
2a5a55efaf
ethdb: accessor for LDB. TODO remove this interface
10 years ago
Péter Szilágyi
803b3c4a82
eth, ethdb: measure database operation latencies too
10 years ago
Péter Szilágyi
792b0ddccd
core, eth, eth/fetcher, ethdb: polish metrics gathering a bit
10 years ago
Péter Szilágyi
43e4a6501b
core, ethdb: instrument the block and state db
...
Conflicts:
ethdb/database.go
10 years ago
obscuren
c590b505ed
core, ethdb, trie: validate database errors
10 years ago
obscuren
020006a8ed
common, ethdb: removed caching and LastTD
10 years ago
obscuren
84cd618585
ethdb: documentation and corruption recovery
10 years ago
Bas van Kervel
95773b9673
removed redundant newlines in import block
10 years ago
Bas van Kervel
b79dd188d9
replaced several path.* with filepath.* which is platform independent
10 years ago
obscuren
13f8f65a58
eth, ethdb: lower the amount of open files & improve err messages for db
...
Closes #880
10 years ago
obscuren
0e211ae203
ethdb: set open file limit to 128 for all leveldbs
10 years ago
Bas van Kervel
c273ed7d82
Moved leveldb update loop to eth/backend
...
change order of block insert and update LastBlock
bugfix, wrong hash stored in blockDb
10 years ago
Bas van Kervel
07e85d8e14
Moved leveldb update loop to eth/backend
10 years ago
obscuren
7f32a08b60
Queued level db writes and batch writes. Closes #647
10 years ago
Felix Lange
c161d73d42
common: drop accessors for Value.Val
...
I don't see why we would need two different accessors for a public field.
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Felix Lange
80985f97da
cmd/evm, core, ethdb, state, tests/helper: remove ReadConfig calls
10 years ago
Felix Lange
bdba044a80
ethutil: remove Config variable
...
Various functions throughout the codebase used it to grab settings. This
has to stop because I want to use them without reading the config file.
These functions can now be used without reading the config first:
* ethdb.NewLDBDatabase
* ethrepl.NewJSRepl
* vm.New
10 years ago
obscuren
38faf2c51a
removed messages
10 years ago
obscuren
34f72ddb3d
Decode from stream directly
10 years ago
obscuren
0f460ad26e
Added caching and database interface to trie
...
* Reimplemented caching for trie
* Reimplemented resetting and persisting trie
10 years ago
obscuren
a82b89e2d5
Added storage root to dump
10 years ago
obscuren
76c9c8d653
Compress data on db level. Closes #174
10 years ago
obscuren
962255b373
Removed old code
10 years ago
obscuren
f4fa0d48cb
Moved keyring to ethutil & removed old methods. Implements #20
11 years ago
obscuren
c0fcefa3a0
Added a GetKeys method to support multiple accounts
11 years ago
obscuren
c9f3d1c00b
leveldb API changed for NewIterator. Fixes #20
11 years ago
James Cunningham
4fad5958d0
Fix error in call to NewIterator function
...
Change number of args passed to NewIterator in print function to reflect changes in the goleveldb project.
11 years ago
obscuren
4f4175a3e2
Addad db name for new ldb
11 years ago
obscuren
55c1c220d0
Added delete to database interfaces
11 years ago
obscuren
73fd358d94
Removed RlpValue in favour of Value
11 years ago
obscuren
f6d1bfe45b
The great merge
11 years ago