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
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
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
e813626ee1
all: remove @author comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Felix Lange
d4c2e9de32
cmd/utils: fix interrupt handling to actually see subsequent interrupts
10 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
10 years ago
Taylor Gerring
d65b64c884
Allow export command to take first and last args
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
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
Taylor Gerring
0864f1fc8e
Remove unused confirm() method
10 years ago
Taylor Gerring
f14feea436
Refactor user prompts into utils
10 years ago
obscuren
7ea76fcf99
core, cmd/geth, cmd/mist: cleanup. bump version 0.9.21
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
obscuren
735b029db9
core: return the index of the block that failed when inserting a chain
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
obscuren
688d118c7e
Updated logging
10 years ago
Felix Lange
064279c0ec
cmd/ethereum, cmd/utils: partial fix for chain import
10 years ago
Felix Lange
b5b83db450
core: use package rlp to encode blocks
...
This also changes the chain export format so there is no
enclosing list around the blocks, which enables streaming export.
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
Felix Lange
c3f94a4341
cmd/utils: remove extra space in fatal error message
10 years ago
Felix Lange
cd51860bf0
cmd/utils: delete InitConfig, KeyTasks
10 years ago
Felix Lange
a11f1d6a7e
rpc: add dataDir parameter and JSON-RPC handler
10 years ago
Gustav Simonsson
27c42ea934
Add empty total difficulty to test blocks and clean up stopping the node
10 years ago
obscuren
20741a96ac
Updated xeth instances to take extra param for ui.Interface
...
Please be aware that if any of the instances on xeth.frontend are called
the program will crash due to the default, temporarily, frontend
interface.
10 years ago
zelig
51eed7964e
add export blockchain subcommand, remove BlockDo
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
Felix Lange
bae7e93a9c
cmd/ethereum: improve command line interface
...
The ethereum command line interface is now structured using subcommands.
These separate the different tasks it can perform.
Almost all flag names are backwards compatible.
The key tasks have not been ported to subcommands since they will be
replaced by the new accounts infrastructure very soon.
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
Taylor Gerring
cfe0370280
Remove Websockets RPC transport
10 years ago
Taylor Gerring
f6e821fd33
Add flag to set RPC port
10 years ago
Taylor Gerring
739b7cc2ac
Cleanup imports
10 years ago
Taylor Gerring
d5aed82b11
DRY DefaultAssetPath()
10 years ago
Taylor Gerring
8eeab7ea3f
Update osext import path
10 years ago
obscuren
483d96a89d
Added eth_logs & fixed issue with manual log filtering
...
* Implemented `eth_logs`
* Fixed issue with `filter.Find()` where logs were appended to an
incorrect, non-returned slice resulting in no logs found
10 years ago
Maran
5aff8bfb59
Implement command line argument to set the amount of agents created by the miner
...
Defaults to the amount of cores available on the CPU
10 years ago
Felix Lange
028775a086
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
Taylor Gerring
1f4ed49b4c
Move hardcoded seed node address to app flag
...
Replaces functionality `-seed=true` with `-seed="ip:port"`
10 years ago
Taylor Gerring
b2b42f759c
Update signature for rpc websockets
10 years ago
Taylor Gerring
726852e3d3
Remove old websocket implementation
10 years ago
obscuren
872b249711
further cleaned up xeth interface
10 years ago
Taylor Gerring
dd3f38fe5b
Rename transport to ws
...
Cleanup object naming for clarity
10 years ago
Taylor Gerring
5f50fe7a4a
Update CLI to use new Websocket RPC
...
Use “wsport” flag to change default port
10 years ago