Commit graph

18 commits

Author SHA1 Message Date
zelig
1024766514 refactor cli and gui wrapper code. Details:
- all cli functions shared between ethereum and ethereal abstracted to utils/ cmd.go (should be ethcommon or shared or sth)
- simplify main() now readable stepwise
- rename main wrapper files to main.go
- rename commmand line args definition file from config.go to flags.go
- rename Do -> Start to parallel option names
- register interrupt for rpc server stop
- fix interrupt stopping js repl and ethereum
- register interrupt for mining stop
- custom config file option from command line
- debug option from command line
- loglevel option from command line
- changed ethutil.Config API
- default datadir and default config file set together with other flag defaults in wrappers
- default assetpath set together with other command line flags defaults in gui wrapper (not in ethutil.Config or ui/ui_lib)
- options precedence: default < config file < environment variables < command line
2014-06-23 12:25:55 +01:00
Maran
e36badd744 Reimplement -datadir flag. Implements #79
The config file is actually loaded from the folder that datadir points at
2014-06-11 12:33:11 +02:00
obscuren
65c5a20e1c Added config file setup. Fixes #59
* Also fixes asset path problems
2014-05-30 16:56:56 +02:00
obscuren
d35380c19e New main script through init return value 2014-05-23 14:37:03 +02:00
obscuren
5f8911f7cb Custom identifier 2014-05-22 10:38:37 +02:00
obscuren
f4551a7e9f Changed flag parsing 2014-05-20 22:12:22 +02:00
obscuren
0ef7f63729 Removed old console in favor of the new JS REPL 2014-05-20 12:57:43 +02:00
Maran
dfc3cb441b Increase default peer amount to 10 2014-05-20 11:52:36 +02:00
obscuren
92eaa98e83 Added js interpret mode 2014-05-19 17:01:40 +02:00
obscuren
6a78e080e6 Tell config which loggers to use 2014-05-15 22:17:09 +02:00
obscuren
cbce882f5e Basic javascript console 2014-05-15 20:45:19 +02:00
Maran
9a03df7bd8 Implemented a flag for a different RPC port; --rpcport 2014-05-13 12:00:48 +02:00
Maran
a5963d1377 Enable seed again 2014-05-13 11:34:47 +02:00
Maran
cf7ab07264 Disable seed by default
Seed host seems down, only causes timeouts, not helpful
2014-05-12 13:41:52 +02:00
Maran
3424bf17ca Moved RPC Server and implemented it as a package 2014-05-02 13:35:03 +02:00
zelig
32b09d652d non-interactive option
- add -y flag for non-interactive use
- refactor main
- output to logfile (not ideal..) but not to all ethutil loggers for privacy
2014-04-16 14:57:51 +01:00
zelig
f4c13f8656 logfile
- add logfile option to ethereum client flags
- fallback to StdOut
- Logger appended to ethutil.Config.Log loggers
- wrapper uses ethutil.Config.Log
2014-04-16 13:37:04 +01:00
obscuren
642630db15 Moved node to ethereum 2014-03-22 12:03:10 +01:00