obscuren
6244b10a8f
core: settable genesis nonce
...
You can set the nonce of the block with `--genesisnonce`. When the
genesis nonce changes and it doesn't match with the first block in your
database it will fail. A new `datadir` must be given if the nonce of the
genesis block changes.
10 years ago
Taylor Gerring
d65b64c884
Allow export command to take first and last args
10 years ago
Felix Lange
5197aed7db
cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool
10 years ago
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
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
Péter Szilágyi
e1a0ee8fc5
cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag
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
22b694ee1e
solc now in ethereum, fixes solc path setting; setSolc() didnt work
10 years ago
Taylor Gerring
0864f1fc8e
Remove unused confirm() method
10 years ago
Taylor Gerring
f14feea436
Refactor user prompts into utils
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
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
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
Gustav Simonsson
e389585f1f
Change default keystore dir
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
cb1fa523e4
cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosity
10 years ago
Felix Lange
e45d9bb29d
cmd/utils: bump default maxpeers to 25
...
This should improve ethereum block propagation times since
we're not not broadcasting blocks to 100% of peers.
10 years ago
Péter Szilágyi
4d5a719f25
cmd, eth, p2p: introduce pending peer cli arg, add tests
10 years ago
zelig
009b221692
solidity compiler and contract metadocs integration
...
* common/compiler: solidity compiler + tests
* rpc: eth_compilers, eth_compileSolidity + tests
* fix natspec test using keystore API, notice exp dynamically changes addr, cleanup
* resolver implements registrars and needs to create reg contract (temp)
* xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath)
* ethereumApi: implement compiler related RPC calls using XEth - json struct tests
* admin: make use of XEth.SetSolc to allow runtime setting of compiler paths
* cli: command line flags solc to set custom solc bin path
* js admin api with new features debug and contractInfo modules
* wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
10 years ago
Gustav Simonsson
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
10 years ago
Péter Szilágyi
701591b403
cmd, eth, p2p: fix review issues enumerated by Felix
10 years ago
Péter Szilágyi
679c90b873
cmd/geth, cmd/utils, eth: internalize trusted node config file
10 years ago
Péter Szilágyi
de0549fabb
cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers
10 years ago
obscuren
735b029db9
core: return the index of the block that failed when inserting a chain
10 years ago
obscuren
405720b218
xeth, core, cmd/utils: Transaction can not be over block gas limit
...
Transactions will be invalidated when the tx.gas_limit > block.gas_limit
10 years ago
zelig
c5e9a0a71c
cli: correct bootnodes flag usage help line
10 years ago
zelig
6512b23b98
cli: fatal error if rpc could not be started
10 years ago
zelig
7b2f25b578
cli: clean up flag descriptions, usage docs, account list uses primary and indexes, add help line to account subcnd usage
10 years ago
Péter Szilágyi
3b008723db
cmd/geth, cmd/utils: invert --pprof once more
10 years ago
Péter Szilágyi
c8e2b3710c
cmd/geth, cmd/utils: use pprof disable flag, start globally
10 years ago
Péter Szilágyi
8830403acf
cmd/geth, cmd/utils: add cli flags for pprof and whisper.
10 years ago
zsfelfoldi
bb793c829f
fixed incomplete merge
10 years ago
zsfelfoldi
c4b7d4d3f7
NatSpec cli option, resolver tests passing
10 years ago
obscuren
03b4cf74a2
geth: added identity flag which allows to set a custom node name
10 years ago
Felix Lange
56a48101dc
cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit
10 years ago
Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago
Bas van Kervel
dc2b9fd458
bugfix as a result of PR 671
10 years ago
Bas van Kervel
6da5b2fc5f
reformat code with goimports
10 years ago
obscuren
6e2f78ebdd
Default log to stderr
10 years ago
Bas van Kervel
5304f43067
Add path expansion support for command line arguments, closes 567
10 years ago
obscuren
688d118c7e
Updated logging
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
36452afd4e
glog wip
10 years ago
Taylor Gerring
04a7c4ae1e
Abstract http into rpc package
...
New RpcConfig object to pass growing config
10 years ago
Taylor Gerring
24fc1f073d
Add flag to control CORS header #394
...
* Disabled on CLI
* http://localhost on Mist
10 years ago