Commit Graph

98 Commits

Author SHA1 Message Date
obscuren
852d1ee395 State dumps 2014-08-06 09:53:12 +02:00
zelig
34e937c976 merge upstream 2014-07-30 18:02:43 +02:00
obscuren
23f83f53cc Upped version number 2014-07-30 01:05:40 +02:00
obscuren
2e39efbe7c New State object 2014-07-24 12:34:48 +02:00
obscuren
a06a84d19b Refactored to reflect the new VM and State 2014-07-24 12:30:41 +02:00
zelig
4d5a890b46 merge upstream 2014-07-21 13:30:37 +01:00
obscuren
6c565eae74 bump 2014-07-17 15:36:16 +02:00
obscuren
28948d061c Moved the repl to a new package 2014-07-15 20:34:25 +02:00
zelig
75a7a4c97c ethreact
- use ethreact.Event,
- increased buffered event channels,
- subscribe after loop reading from channel starts
2014-07-15 01:13:39 +01:00
obscuren
d3e31a4a6d Special diff output + debugger changes 2014-07-11 16:04:27 +02:00
Jeffrey Wilcke
0c132e4c9e Revert "ethreact - Feature/ethutil refactor" 2014-07-07 10:58:42 +02:00
zelig
1e4ae24126 use ethreact.Event, unbuffered event channels, subscribe after loop reading from channel starts 2014-07-04 19:48:37 +01:00
zelig
9de30d96f0 Modify main wrappers
- clientIdentifier now set in main wrappers
- version handled within wrapper
- modify InitConfig now returning *ethutil.ConfigManager (passed to gui)
- added NewClientIdentity returning *ethwire.SimpleClientIdentiy (passed to ethereum)
2014-07-03 17:36:24 +01:00
zelig
27e1352c85 main loop uses new flags and common methods in util: db, keymanager set up 2014-06-29 18:37:22 +01:00
zelig
0ea9595d41 new command line options
- keyring: keyring/session identifier used by key manager
- keystore: choice of db/file key storage
- import message updated
- export: name of directory to export keys to (was bool)
2014-06-29 18:33:22 +01:00
zelig
e38b016547 changed name for ethutil hex functions 2014-06-29 18:32:48 +01: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
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