Commit Graph

1236 Commits

Author SHA1 Message Date
obscuren
b3367ec0e3 Added option to not break eachline 2014-06-26 10:37:48 +02:00
zelig
782f780476 space in miner logging message 2014-06-25 18:43:35 +01:00
zelig
9a06efd080 new logger API for upstream merge 2014-06-25 18:28:38 +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
a243e3b858 new logger API for upstream merge 2014-06-25 17:59:35 +01:00
zelig
98f1ee9442 merge upstream 2014-06-25 16:58:07 +01:00
zelig
096427c3b1 Merge remote-tracking branch 'upstream/develop' into feature/logging 2014-06-25 16:56:03 +01:00
zelig
8ee1abecb9 update log levels to include DebugDetail; correct default datadir for ethereal 2014-06-25 16:54:29 +01:00
zelig
39c0f7f386 fix logSlider: now has 5 levels, initialized to gui.GetLogLevel which is set through command line flag (defaults to InfoLevel) 2014-06-25 16:53:19 +01:00
zelig
a02edf7a93 put back extra debug detail logging to the right places using logger.DebugDetailf 2014-06-25 16:40:06 +01:00
zelig
6465e4c3fd update doc: list levels and show usage of named print methods 2014-06-25 16:38:42 +01:00
zelig
e75f7ae330 implement DebugDetail loglevel and named print methods 2014-06-25 16:37:38 +01:00
obscuren
b0dc50c2a0 New mutan implementation 2014-06-25 17:26:34 +02:00
obscuren
1268413ba7 Removed old compile methods 2014-06-25 17:26:16 +02:00
obscuren
6d32bef65a Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-06-25 17:22:30 +02:00
zelig
08de13a57b merge upstream 2014-06-25 16:20:26 +01:00
zelig
4141cc39d0 Merge remote-tracking branch 'upstream/develop' into feature/logging 2014-06-25 16:13:27 +01:00
Maran
d8c675afbf Implement something that looks like confirmations, wip 2014-06-25 16:23:10 +02:00
Maran
9654b80912 Implemented TX History for ethjs 2014-06-25 16:12:53 +02:00
Maran
8fe8175c78 Implemented TX History for ethPub 2014-06-25 16:12:33 +02:00
Maran
589d27386a Fix key generation in ethPub 2014-06-25 14:05:55 +02:00
obscuren
e58ba2fcfa Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-06-25 09:47:27 +02:00
obscuren
9dae1a1732 Removed BlockDo Method 2014-06-25 09:47:19 +02:00
obscuren
1e965cb8f5 Moved BlockDo to utils 2014-06-25 09:47:11 +02:00
Maran
0c55a11318 Support hex and decimal keys for GetStorageAt RPC. Fixes ethereum/go-ethereum#74 2014-06-24 11:15:26 +02:00
obscuren
fd1ddbce68 Save repl history to file and recall on next session 2014-06-24 10:09:02 +02:00
obscuren
a13aa873c2 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-06-24 09:39:25 +02:00
obscuren
17e8d7519b Renamed execBlock 2014-06-24 09:36:05 +02:00
Maran
bcb88e7352 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-06-23 16:26:01 +02:00
Maran
f6aabb7a90 Implements QML Apps. Implements #47
You are welcome Stephan.
2014-06-23 16:25:57 +02:00
obscuren
16e8fc7427 Logging order 2014-06-23 16:11:55 +02:00
zelig
f58c7ac5a6 merge upstream 2014-06-23 13:07:43 +01:00
zelig
63157c798d refactor config (transitional). Details:
- ReadConfig initialiser sets up global ethutil.Config via config file passed from wrappers
- does not write out adhoc default (not meant to) but creates empty config file if it does not exist so that globalconf does not complain if persists a flag
- 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)
- add EnvPrefix, to handle environment variable options too via globalconf
- this is still transitional: global Config should just be a wrapper around globalconfig config handler and should be moved to go-ethereum
- actual eth stack config should not be global instead config handled properly with explicit dependency injectioninto eth stack component instances
2014-06-23 12:55:38 +01:00
zelig
b9e8a3e024 modified logging API
- package vars for tagged loggers
- weed out spurious fmt.PrintX and log.PrintX logging
- tried to second guess loglevel for some :)
2014-06-23 12:54:10 +01:00
zelig
8e9cc36979 refactor logging. Details:
- packages use tagged logger sending log messages to shared (process-wide) logging engine
- log writers (interface ethlog.LogSystem) can be added to the logging engine by wrappers/guis/clients
- shared logging engine dispatching to multiple log systems
- log level can be set separately per log system
- async logging thread: logging IO does not block main thread
- log messages are synchronously stringified to avoid incorrectly logging of changed states
- README.md
- loggers_test
2014-06-23 12:49:04 +01:00
obscuren
614624754d Let the state create the object 2014-06-23 13:42:30 +02:00
zelig
6f09a3e820 fix imports in ui_lib and flags cos of defaultAssetPath move; fix logLevel type for gui 2014-06-23 12:38:23 +01: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
456167aca0 fix gitignore to ignore executables 2014-06-23 12:13:06 +01:00
zelig
c67cdab221 merge upstream 2014-06-23 12:06:45 +01:00
zelig
d060ae6a36 changed logger API, functions that allow Gui to implement ethlog.LogSystem for gui logging 2014-06-23 11:57:00 +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
d890258af6 Minor fixes to vm output 2014-06-23 11:26:51 +02:00
obscuren
803e4807ed Removed comments 2014-06-23 11:26:31 +02:00
obscuren
a4e26bf7c2 Added Block do which replays the given block or error 2014-06-23 11:25:14 +02:00
obscuren
9350ecd36f Do not keep on asking for the same chain 2014-06-23 11:24:45 +02:00