Péter Szilágyi
1291778032
cmd/geth, code, eth/downloader: tune import logs and mem stats
8 years ago
Péter Szilágyi
88a593d559
cmd/geth, trie: report on trie cache unloads, also add debug log
8 years ago
Péter Szilágyi
4f46bd19d0
cmd, core/state: allow configurable trie cache generations
8 years ago
Péter Szilágyi
2bb5ec1e41
cmd/geth, trie: track and report trie cache misses
8 years ago
Péter Szilágyi
a1c63e8be6
cmd/geth: compact and print database stats after an import
8 years ago
Felix Lange
eeb322ae64
node: ensure datadir can be co-inhabited by different instances
...
This change ensures that nodes started with different Name but same
DataDir values don't use the same nodekey and IPC socket.
8 years ago
Hellsegga
6bd9008025
cmd/geth: set correct initial nonce on testnet for import/init subcommands ( #2924 )
8 years ago
Péter Szilágyi
90e07b19ab
cmd: fix CLI package deprecation warnings
8 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
8 years ago
zsfelfoldi
f9917c8c7b
core: improved chainDb using sequential keys
8 years ago
Péter Szilágyi
da729e5b38
cmd/geth, console: fix reviewer issues
8 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
8 years ago
Felix Lange
dff9b4246f
cmd/geth, cmd/utils: improve input handling
...
These changes make prompting behave consistently on all platforms:
* The input buffer is now global.
Buffering was previously set up for each prompt, which can cause weird
behaviour, e.g. when running "geth account update <input.txt" where
input.txt contains three lines. In this case, the first password
prompt would fill up the buffer with all lines and then use only the
first one.
* Print the "unsupported terminal" warning only once.
Now that stdin prompting has global state, we can use it to track
the warning there.
* Work around small liner issues, particularly on Windows.
Prompting didn't work under most of the third-party terminal emulators
on Windows because liner assumes line editing is always available.
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
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Maran
4d5501c46a
cmd/geth: Fix chain purging from cmd line
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
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
Felix Lange
ea54283b30
all: update license information
9 years ago
Taylor Gerring
2729e6294a
Improved error checking
9 years ago
Taylor Gerring
ed621aae33
Cleanup
9 years ago
Taylor Gerring
d65b64c884
Allow export command to take first and last args
9 years ago
Felix Lange
e84bbcce3c
cmd/geth: don't flush databases after import
9 years ago
Felix Lange
67effb94b6
cmd/geth, cmd/utils: make chain importing interruptible
...
Interrupting import with Ctrl-C could cause database corruption
because the signal wasn't handled. utils.ImportChain now checks
for a queued interrupt on every batch.
9 years ago
Felix Lange
74706a0f02
cmd/geth, cmd/utils: rename utils.Get* -> utils.Make*
...
The renaming should make it clearer that these functions create a new
instance for every call. @obscuren suggested this renaming a while ago.
9 years ago
Felix Lange
651030c98d
cmd/geth: move blockchain commands to chaincmd.go
9 years ago