Péter Szilágyi
9184249b39
Logger updates 3 ( #3730 )
...
* accounts, cmd, eth, ethdb: port logs over to new system
* ethdb: drop concept of cache distribution between dbs
* eth: fix some log nitpicks to make them nicer
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Nick Johnson
d30d7800e0
ethdb: Implement interface for prefixed operations to the DB ( #3536 )
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
zsfelfoldi
7db7109a5b
cmd, eth: added light client and light server modes
8 years ago
Péter Szilágyi
710435b51b
core, eth, trie: reuse trie journals in all our code
8 years ago
Felix Lange
52ede09b17
ethdb: add accessor for database directory
8 years ago
Felix Lange
84d11c19fd
eth: remove dapp database remains
8 years ago
villesundell
c7442ef0d2
ethdb, p2p/discover: replace "alloted" with "allotted" ( #2785 )
8 years ago
Péter Szilágyi
e90958cd29
cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
9 years ago
Péter Szilágyi
f1ddb1a7ad
ethdb: fully disable metrics if not requested (oops?)
9 years ago
Ricardo Catalinas Jiménez
53ce0a76d8
ethdb: Remove outdated README pointing to an old link
9 years ago
Péter Szilágyi
f3d4ce0d16
core/state, ethdb, trie: test intermediate secure key leak, fix memdb bug
9 years ago
Felix Lange
e6fb69296e
common: remove old RLP implementation, Value and ExtPackage
...
In order to make this happen, kill all remaining trivial uses of
common/{rlp,value}.go. The non-trivial ones have been updated earlier.
9 years ago
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