Commit Graph

80 Commits

Author SHA1 Message Date
zelig 2f96652bb4 interrupt handlers now ordered 2014-06-26 10:47:45 +01:00
zelig 6763d28a17 repl.Stop() to only if running, fixes panic after js> exit followed by interrupt 2014-06-25 18:18:22 +01:00
zelig bf57e9603b add newline to help usage msg 2014-06-25 18:09:42 +01:00
zelig 8ee1abecb9 update log levels to include DebugDetail; correct default datadir for ethereal 2014-06-25 16:54:29 +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
obscuren fd1ddbce68 Save repl history to file and recall on next session 2014-06-24 10:09:02 +02:00
obscuren 17e8d7519b Renamed execBlock 2014-06-24 09:36:05 +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
zelig 7bcf875c57 add logging for jsre 2014-06-23 11:39:09 +01:00
zelig f90001e938 add logging start/exit to js console 2014-06-23 11:38:14 +01:00
obscuren 176b780251 Added a execBlock method which replays the given block 2014-06-23 11:28:05 +02:00
obscuren 3744151359 Removed init fees 2014-06-16 11:15:08 +02: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
Maran 7843390ecd Implement getStateKeyVal for JS bindings.
Gives JS the option to 'loop' over contract key/val storage
2014-06-04 15:54:33 +02:00
Maran 307fe4a3cd Add loading of extra build in js files to JS-Repl. Implements #67 2014-06-04 12:19:50 +02:00
Maran a6f4eef1da Added Peer Window 2014-06-02 15:16:37 +02:00
obscuren 98811f11e5 ethereum instead of ethereal. Fixes #69 2014-05-31 11:43:08 +02:00
obscuren 0bdb0a9d58 Added ini file for ethereum. fixes #66 2014-05-30 19:36:05 +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 01b833146f Added mining stop and start 2014-05-22 00:25:48 +02:00
obscuren b902de20c7 Fixes #49 2014-05-21 23:46:16 +02:00
obscuren 3f5b348451 Fixes #50 2014-05-21 23:36:55 +02:00
obscuren 16bd88c10a Removed method name 2014-05-21 12:14:39 +02:00
obscuren 93e12250c7 Switch variables as intended 2014-05-20 22:12:42 +02:00
obscuren f4551a7e9f Changed flag parsing 2014-05-20 22:12:22 +02:00
obscuren 563c035eb5 Refactored some of the functions 2014-05-20 19:28:48 +02:00
obscuren de1dfae717 Forked version of otto so we can support lowerCased methods 2014-05-20 17:49:12 +02:00
obscuren 0ef7f63729 Removed old console in favor of the new JS REPL 2014-05-20 12:57:43 +02:00
obscuren a05adb1128 Refactored file structure 2014-05-20 12:48:34 +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 017bbbb582 Improved REPL output 2014-05-19 16:32:45 +02:00
obscuren 16421106d4 Added multi-line support 2014-05-19 13:04:31 +02:00
obscuren 3b7707c3fd Improved console
* Added watch
2014-05-19 12:15:03 +02:00
obscuren 770808ce0d Readline repl for linux & osx 2014-05-17 15:15:46 +02:00
obscuren 6a78e080e6 Tell config which loggers to use 2014-05-15 22:17:09 +02:00
obscuren 0a03484188 Implemented JavaScript console 2014-05-15 22:15:14 +02:00
obscuren cbce882f5e Basic javascript console 2014-05-15 20:45:19 +02:00
Maran a1dcc5cd17 Prevent crash during import of privkeys.
@obscuren please check if this was commented out for a reason
2014-05-14 14:11:45 +02:00
Maran c9db87277b Fix merge conflicts 2014-05-14 14:04:43 +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 e8147cf7c6 Refactored mining into utils and exposed it to ethereal. Partly fixes #43 2014-05-14 12:41:30 +02:00
Maran 0d9c948b9b Generate coinbase from privatekey, not pubkey. Partily fixes #43 2014-05-14 12:24:49 +02:00
Maran 54eff2d778 Change coinbase to be the address not public key 2014-05-13 14:48:45 +02:00
Maran 20ea78945e Implemented new JS/EthPub methods
- getTxCountAt
- getPeerCount
- getIsMining
- getIsListening
- getCoinbase
2014-05-13 14:43:08 +02:00