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
obscuren
eb102bf4bb
Etherbase => etherbase
10 years ago
Taylor Gerring
e29396b691
Use ExtraDB for storage. Fixes #577
10 years ago
zelig
b375bbee5f
settable etherbase
...
- etherbase flag for block reward destination
- coinbase => etherbase
- CLI- eth Config -> eth, xeth -> RPC / Miner
- use primary instead of coinbase as the unlock magic wildcard
- accounts: firstAddr/Coinbase -> Primary
10 years ago
zelig
7577d12614
max paranoia mode to UNsupport unencrypted keys entirely
...
- remove account export functionality from CLI
- remove accountExport method,
- remove unencrypted-keys flag from everywhere
- improve documentation
10 years ago
zelig
34d5a6c156
cli: help formatting
10 years ago
zelig
c4ea921876
import/export accounts
...
- cli: add passwordfile flag
- cli: change unlock flag only takes account
- cli: with unlock you are prompted for password or use passfile with password flag
- cli: unlockAccount used in normal client start (run) and accountExport
- cli: getPassword used in accountCreate and accountImport
- accounts: Manager.Import, Manager.Export
- crypto: SaveECDSA (to complement LoadECDSA) to save to file
- crypto: NewKeyFromECDSA added (used in accountImport and New = generated constructor)
10 years ago
obscuren
88b9bc40d7
Godep issue?
10 years ago
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