Jeffrey Wilcke
f04b3a6f29
cmd/geth, cmd/utils, eth: added dev mode flag
...
Dev mode enabled some debugging flags such as:
* VM debugging mode
* Simpler proof of work
* Whisper enabled by default
* Datadir to a tmp datadir
* Maxpeers set to 0
* Gas price of 0
* Random listen port
9 years ago
Péter Szilágyi
47a7fe5d22
eth: port the synchronisation algo to eth/62
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
9 years ago
Bas van Kervel
f9cbd16f27
support for user agents
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Felix Lange
eae1191904
cmd/utils: fix path expansion on windows
9 years ago
Felix Lange
78b101e15d
common: remove windows path functions
...
They were unused and their tests failed on Windows.
9 years ago
Jeffrey Wilcke
74f6d90153
cmd/utils, core: disable exp diff for olympic net
9 years ago
Gustav Simonsson
26c6e3b206
miner: gas limit strategy, target 3141592 & def gas price 50 Shannon
9 years ago
Jeffrey Wilcke
dcdb7059cc
cmd, core, eth: support for the olympic network
...
Added a --olympic flag which initialiser the olympic protocol settings
9 years ago
Jeffrey Wilcke
ba15f9d282
cmd/util: lowered default gas price
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
Taylor Gerring
cf5313f13e
Update disclaimer
9 years ago
Taylor Gerring
618991f136
Move text to separate file
9 years ago
Taylor Gerring
1909d26fe2
Prompt user to accept legalese when datadir doesn't exist
9 years ago
Jeffrey Wilcke
a32c51effd
cmd, core, eth, common: genesis preparation
...
Implemented the --genesis flag thru which we can set a custom genesis
block, including the official Ethereum genesis block.
9 years ago
Jeffrey Wilcke
ee04b71887
cmd/geth, cmd/utils: changed ParamsToAddress to return error
...
ParamsToAddress no longer aborts the process, it now returns an error
instead so that the caller can handle the error properly.
9 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
e813626ee1
all: remove @author comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Jeffrey Wilcke
bfcac89881
cmd/geth, cmd/utils: changed ParamsToAddress to return error
...
ParamsToAddress no longer aborts the process, it now returns an error
instead so that the caller can handle the error properly.
9 years ago
Jeffrey Wilcke
35cd355c14
cmd,eth,rpc,tests: default coinbase
9 years ago
Felix Lange
d4c2e9de32
cmd/utils: fix interrupt handling to actually see subsequent interrupts
9 years ago
Felix Lange
5615fc4714
cmd/geth, cmd/utils: improve interrupt handling
...
The new strategy for interrupts is to handle them explicitly.
Ethereum.Stop is now only called once, even if multiple interrupts
are sent. Interrupting ten times in a row forces a panic.
Fixes #869
Fixes #1359
9 years ago
Jeffrey Wilcke
29e2fb38f8
core, miner: miner header validation, transaction & receipt writing
...
* Miners do now verify their own header, not their state.
* Changed old putTx and putReceipts to be exported
* Moved writing of transactions and receipts out of the block processer
in to the chain manager. Closes #1386
* Miner post ChainHeadEvent & ChainEvent. Closes #1388
9 years ago
zelig
fc2e33c594
unlock multiple passes and obsolete primary
...
* multiple passwords allowed in password file
* split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass')
* remove accounts.Primary method
* do not fall back to primary account for mining
9 years ago
Bas van Kervel
56ed408436
ipcpath issue fix
9 years ago
Bas van Kervel
89525fcb4e
ipcpath issue fix
9 years ago
Péter Szilágyi
393d675690
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
9 years ago
Péter Szilágyi
01fe972113
cmd, core, eth, metrics, p2p: require enabling metrics
9 years ago
Bas van Kervel
2e0b56a72b
added RPC start/stop support
9 years ago
Bas van Kervel
f87501b1c5
added batch support to console and attach actions
9 years ago
Bas van Kervel
a4a4e9fcf8
removed old rpc structure and added new inproc api client
9 years ago
Bas van Kervel
5c25403b13
refactored old rpc structure to new
9 years ago
zsfelfoldi
1e3f4877c0
Changed miner and gpo min gas price to 1 szabo
9 years ago
zsfelfoldi
3f94d09c1f
fixed saving receipts
9 years ago
Bas van Kervel
55a796b7c3
removed obsolete console flag
9 years ago
Bas van Kervel
359e6414e5
fixed windows ipc path issue
9 years ago
Bas van Kervel
22080e1fdd
ipc socket always used default path
9 years ago
Bas van Kervel
2a0d888326
added API/IPC commandline flags
9 years ago
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.
9 years ago
Taylor Gerring
d65b64c884
Allow export command to take first and last args
9 years ago
Felix Lange
5197aed7db
cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool
9 years ago
Felix Lange
e1fe75e3b6
cmd/utils: use constant for import batch size
9 years ago
Felix Lange
a8bc2181c9
cmd/utils: skip batches with known blocks during import
...
This makes block importing restartable.
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
705beb4c25
cmd/utils: print errors only once if stdout and stderr are the same file
9 years ago