Felix Lange
e1fe75e3b6
cmd/utils: use constant for import batch size
10 years ago
Felix Lange
a8bc2181c9
cmd/utils: skip batches with known blocks during import
...
This makes block importing restartable.
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
705beb4c25
cmd/utils: print errors only once if stdout and stderr are the same file
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
Felix Lange
62671c93c4
cmd/mist: use utils.SetupLogger
10 years ago
Felix Lange
3b9808f23c
cmd/geth, cmd/utils: don't use Ethereum for import, export and upgradedb
...
The blockchain commands don't need the full stack. With this change,
p2p, miner, downloader, etc are no longer started for blockchain
operations.
10 years ago
obscuren
e3253b5d5e
core: fixed an issue with storing receipts
10 years ago
Péter Szilágyi
3f91ee4ff8
cmd/geth: expand admin.progress() to something meaningful
10 years ago
obscuren
2c532a7255
cmd/geth: bump version 0.9.25
10 years ago
obscuren
222249e622
cmd/geth: Flush instead of close. This solves a nil ptr error
10 years ago
obscuren
b2f2806055
cmd/geth, core: Updated DB version & seedhash debug method
10 years ago
Felix Lange
9253fc337e
cmd/geth: exit the console cleanly when interrupted
...
This fix applies mostly to unsupported terminals that do not trigger the
special interrupt handling in liner. Supported terminals were covered
because liner.Prompt returns an error if Ctrl-C is pressed.
10 years ago
Péter Szilágyi
4de8213887
cmd/geth: fix js console test for p2p server update
10 years ago
Péter Szilágyi
e1a0ee8fc5
cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag
10 years ago
obscuren
d74ee40c86
cmd/geth: bumped version to 0.9.24
10 years ago
obscuren
0a85260bcd
cmd/geth: bumped version to 0.9.24
10 years ago
Felix Lange
e221a449e0
cmd/geth, jsre, rpc: run all JS code on the event loop
...
Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All
calls to the JS VM are now wrapped. In order to make this somewhat more
foolproof, the otto VM is now a local variable inside the event loop.
10 years ago
Bas van Kervel
821b578f7e
make registrar available in console
10 years ago
obscuren
4600ecb5c7
cmd/geth: bump version 0.9.23
10 years ago
zelig
bed80133e0
automatic DAG pregeneration for smooth epoch transitions
...
- backend: AutoDAG bool flag passed from cli/eth.Config to ethereum, autoDAG loop started if true
- backend: autoDAG loop start/stop, remove previous DAG
- cli: AutoDAG bool flag, off by default, but automatically ON if mining
- admin jsre: add startAutoDAG stopAutoDAG and makeDAG in miner section
- switch on/off DAG autogeneration when miner started/stopped on console
10 years ago
zelig
00f59f5014
fix eth.sign. now implemented in admin jsre until web3.js has it .
10 years ago
zelig
b0ae84aa0d
multiple contract source for solidity compiler: returns contract array if multiple contracts. fixes #1023
10 years ago
zelig
d92172f3d4
add usage doc to wallet import
10 years ago
zelig
22b694ee1e
solc now in ethereum, fixes solc path setting; setSolc() didnt work
10 years ago
zelig
f9abcee0f9
fix solc tests unskip
10 years ago
Taylor Gerring
32b8565022
Support multiple account unlock attempts
10 years ago
Taylor Gerring
af8ada45e7
Allow unlocking multiple accounts #1045
...
Separate accounts with spaces when using --unlock
10 years ago
Taylor Gerring
0864f1fc8e
Remove unused confirm() method
10 years ago
Taylor Gerring
f14feea436
Refactor user prompts into utils
10 years ago
Taylor Gerring
36a4ba3248
Add user confirmation for removedb
10 years ago
obscuren
59c0d01418
core: chain manager no longer exports genesis block
10 years ago
Taylor Gerring
fe41bd6fe8
Add "removedb" command to Geth
...
Removes the state and blockchain databases
10 years ago
obscuren
c67424ecc8
core: parallelise nonce checking when processing blocks
...
ChainManager now uses a parallel approach to block processing where all
nonces are checked seperatly from the block processing process. This
speeds up the process by about 3 times on my i7
10 years ago
obscuren
3a51d5e80c
cmd/geth: fixed ver num
10 years ago
obscuren
28ba374f27
cmd/geth: delete state db on upgradedb command
10 years ago
obscuren
ad7b0efbd3
cmd/geth: hotfix bump
10 years ago
obscuren
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
10 years ago
obscuren
55d85d60fd
eth, cmd/geth: start mining from console respects CLI flag
10 years ago
Felix Lange
559cc02313
cmd/geth: use plain keystore for JS tests
...
This reduces the time it takes to run the tests back to 3 seconds.
10 years ago
Bas van Kervel
1fa48bc5e7
Introduced default unlock duration when an account is unlocked from the console
10 years ago
Felix Lange
5f706cd7f5
cmd/utils: print messages from package log through glog
...
Some of the dependencies use package log. This change ensures that the
log output looks uniform and respects glog flags.
10 years ago
Bas van Kervel
e30e9fe979
removed invalid filename characters
10 years ago
Gustav Simonsson
b5b53d8b32
Fix hex conversion in --unlock and log when successful
10 years ago
obscuren
36ce54e5dc
cmd/geth: bump version to 0.9.20
10 years ago
Gustav Simonsson
e389585f1f
Change default keystore dir
10 years ago
Gustav Simonsson
231fe04f03
Fix address type in js test
10 years ago
Gustav Simonsson
2c1b0ff17e
Update key store to new spec but keep address field for now
...
* Also fix address types post-rebase
10 years ago
Gustav Simonsson
da9fe951da
Use common.Address type for accounts.Address
10 years ago