Péter Szilágyi
aca066f337
cmd/geth: drop upgradedb subcommand since it's unfeasible
...
This command was meant as a hackish way to upgrade our chain database way back
when nobody cared for live updates and the size of the database along with its
import times was small. With the current database weighing hundreds of GBs and
processing times of many days, this command is just ludicrous.
8 years ago
Péter Szilágyi
1ca20a2697
cmd, whisper/mailserver: revert to utils.Fatalf
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
Shintaro Kaneko
355a42f36d
cmd/geth, cmd/swarm: Fix to close file handler appropriately
8 years ago
Péter Szilágyi
86f9e836be
cmd/geth: tidied up the source ( #3385 )
...
cmd/geth: tidied up the source
8 years ago
Jeffrey Wilcke
aad4890082
cmd/geth, core, light, mobile: removed state account StartingNonce
...
All account's nonce start at 0.
8 years ago
Kenji Siu
80ea44c485
cmd/geth: improve command help messages ( #3227 )
8 years ago
zsfelfoldi
7db7109a5b
cmd, eth: added light client and light server modes
8 years ago
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
9 years ago
Bas van Kervel
861add3d72
cmd/geth: codegansta/cli package renamed to urfave/cli
9 years ago
zsfelfoldi
f9917c8c7b
core: improved chainDb using sequential keys
9 years ago
Péter Szilágyi
da729e5b38
cmd/geth, console: fix reviewer issues
9 years ago
Péter Szilágyi
ffaf58f0a9
cmd, console: split off the console into a reusable package
9 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
10 years ago
Taylor Gerring
2729e6294a
Improved error checking
10 years ago
Taylor Gerring
ed621aae33
Cleanup
10 years ago
Taylor Gerring
d65b64c884
Allow export command to take first and last args
10 years ago
Felix Lange
e84bbcce3c
cmd/geth: don't flush databases after import
10 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.
10 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.
10 years ago
Felix Lange
651030c98d
cmd/geth: move blockchain commands to chaincmd.go
10 years ago