Gustav Simonsson
33c5186fd0
In blocktest cmd, disable network and add RPC flag
10 years ago
zelig
78cff9e3a4
independent flag for json structured logging
...
- logjson flag remove logformat flag
- passed to eth Config
- logsystem not a field of Ethereum
- LogSystem does not need to expose GetLogLevel/SetLogLevel
- message struct just implements more generic LogMsg interface
- LogMsg is a fmt.Stringer with Level()
- jsonMsg ([]byte) implements LogMsg
- remove "raw" systems
- move level logic inside StdLogSystem
- logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg
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
zelig
b6aa88c099
private network support
...
- protocolversion, networkid global int flags to cli and mist
- fix bug with protocolversion check using wrong db
- log protocolversion & networkid in backend
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
zelig
7279a485c2
CLI:
...
- js subcommand for vm
- console for Frontier console interactive REPL
- jspath in cli
- integrate jeth apiBindings
10 years ago
Felix Lange
58d9d98daf
cmd/utils: GetEthereum -> MakeEthConfig
...
This allows changing the config before starting Ethereum
with it.
10 years ago
Taylor Gerring
485e37e889
Move MakeName to ethutil
10 years ago
obscuren
6b63759ded
Reverted global
10 years ago
Felix Lange
99bc44cf52
cmd/ethereum: add a flag to switch to unencrytped keystore
...
This is mostly for automated tests. The tests can use the following
commands to start the node:
ethereum --unencrypted-keys account new
...
ethereum --unencrypted-keys
10 years ago
Felix Lange
972e2c1e31
cmd/utils: improve CLI help templates
...
Help for a specific command now shows available subcommands.
10 years ago
Felix Lange
0bb7377ebe
cmd/ethereum: show more helpful message if no accounts exist
10 years ago
Felix Lange
c3f94a4341
cmd/utils: remove extra space in fatal error message
10 years ago
Felix Lange
487f68ec48
accounts: add {Timed,}Unlock, remove SignLocked
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
Felix Lange
73d1ebe244
cmd/utils: add NewApp
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
Felix Lange
fb53a9362e
accounts: AccountManager -> Manager
10 years ago
Felix Lange
a2810c06d7
cmd/ethereum: add account commands
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
obscuren
ed84b58af5
Debug option for VM & command line flag
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
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
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
Taylor Gerring
d790229a33
Move HTTP transport to sub package of RPC
10 years ago
Taylor Gerring
0c77a96249
Move websockets out of cmd/util
10 years ago
obscuren
7e6b72cb5c
removed accidental qt dep
10 years ago
obscuren
e3da85faed
Implemented filter for ws + fixes
...
* proper 0xhex
* filters fixed
* start of filter manager
* accounts for ws. Closes #246
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
117f66e823
Added license headers
10 years ago
obscuren
a26aecdfdb
Updated WS API. Fixes #219 . Closes #220
10 years ago