Commit Graph

24 Commits

Author SHA1 Message Date
zelig ce4080faa7 Merge branch 'develop' of github.com:ethereum/go-ethereum into feature/keys 2014-06-29 18:39:31 +01:00
zelig cf7fcadeca added utility functions to set up db, keymanager, ethereum init and simplify key tasks 2014-06-29 18:39:13 +01:00
zelig 2d48fc1113 fix logmessage if data directory doesn't exist 2014-06-29 13:43:27 +01:00
obscuren 4fc60f340f Wait for catchup when starting the miner 2014-06-29 10:43:56 +02:00
zelig ae5ace1619 go fmt 2014-06-26 18:48:08 +01:00
zelig 21d86ca486 gui stop
- introduce gui.Stop()
- remember state with open
- stopping ethereum stack is not gui concern, moved to main
- stopping mining, gui and ethereum handled via interrupt callbacks
- ^C triggers exactly the same behaviour as quit via menu
2014-06-26 16:26:14 +01:00
zelig 2f96652bb4 interrupt handlers now ordered 2014-06-26 10:47:45 +01:00
zelig 08de13a57b merge upstream 2014-06-25 16:20:26 +01:00
obscuren 1e965cb8f5 Moved BlockDo to utils 2014-06-25 09:47:11 +02:00
zelig 34284b7532 merge upstream 2014-06-23 12:30:30 +01:00
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
obscuren 176b780251 Added a execBlock method which replays the given block 2014-06-23 11:28:05 +02:00
obscuren e7c9b86a5a Improved UI
* Added mining button
2014-05-30 13:28:31 +02:00
Maran 8419ba0ec0 Fix merge conflicts 2014-05-22 10:26:39 +02:00
obscuren 01b833146f Added mining stop and start 2014-05-22 00:25:48 +02:00
Maran 0bccf1c3cd Wait with mining until up to date 2014-05-21 11:45:19 +02:00
obscuren 30842eb8d0 Changed logging 2014-05-19 12:14:47 +02:00
obscuren 770808ce0d Readline repl for linux & osx 2014-05-17 15:15:46 +02:00
Maran c9db87277b Fix merge conflicts 2014-05-14 14:04:43 +02:00
Maran 2c7b625daa Make sure we have a coinbase address to mine with 2014-05-14 13:55:55 +02:00
obscuren f18ec51cb3 Switched to new keyring methods 2014-05-14 13:55:08 +02:00
Maran 9fce273ce9 Refactored RPC client to utils so it can be reused 2014-05-14 13:32:49 +02:00
Maran 2012e0c67a Rewritten a check to only start mining once we are caught up with all peers 2014-05-14 13:26:15 +02:00
Maran e8147cf7c6 Refactored mining into utils and exposed it to ethereal. Partly fixes #43 2014-05-14 12:41:30 +02:00