Commit Graph

1308 Commits

Author SHA1 Message Date
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
obscuren
8c96c5662f Added hex script method 2014-06-23 11:24:07 +02:00
obscuren
842d52db7b Make sure that public key always uses 64 bytes 2014-06-23 11:23:51 +02:00
obscuren
bb1641e4ec Clean up & refactored methods 2014-06-23 11:23:18 +02:00
obscuren
299b50a0d4 Support serpent lang 2014-06-21 02:40:25 +02:00
obscuren
931ae0f116 Append zero's in R & S 2014-06-20 20:12:08 +02:00
obscuren
7fb5e993e3 Moved 0 check to state object for now 2014-06-20 20:11:40 +02:00
obscuren
0251fae5cc Changed loggers 2014-06-20 01:10:39 +02:00
obscuren
0c6b41f4c9 CALLDATACOPY 2014-06-20 01:10:20 +02:00
obscuren
2408e38218 Merge branch 'release/0.5.14' into develop 2014-06-20 00:49:00 +02:00
obscuren
cba4796311 Merge branch 'release/0.5.14' 2014-06-20 00:48:53 +02:00
obscuren
65cbea2b6a bump 2014-06-20 00:48:48 +02:00
obscuren
f63f3853bb Merge branch 'release/0.5.14' into develop 2014-06-20 00:47:59 +02:00
obscuren
3f1f8438ed Merge branch 'release/0.5.14' 2014-06-20 00:47:52 +02:00
obscuren
7ad073fb30 bump 2014-06-20 00:47:50 +02:00
obscuren
09f37bd023 Returned to single method 2014-06-20 00:45:44 +02:00
obscuren
c89566a42f Removed old debugger code 2014-06-20 00:42:53 +02:00
obscuren
8f29f6a4d4 Removed some logging 2014-06-20 00:42:26 +02:00
obscuren
6fcc6a2f7c Changed copy/set 2014-06-20 00:41:42 +02:00
obscuren
0b8ba1d55b Renamed snapshot to copy/set and added it back to the VM 2014-06-20 00:41:28 +02:00
obscuren
933aa63b7d Length check on get 2014-06-19 21:41:37 +02:00
obscuren
3ec0c719b9 Verbose logging 2014-06-19 13:47:18 +02:00
obscuren
80ffe1610c Removed log 2014-06-19 13:45:46 +02:00
obscuren
9104dcc29c Fixed call 2014-06-19 13:45:29 +02:00
obscuren
7e6684d926 Method for checking contract addresses 2014-06-19 13:42:47 +02:00
obscuren
1b431f29e5 Added missing types 2014-06-19 13:42:28 +02:00
obscuren
5ea7598408 Update after each transition instead of at the end.
Updating the state /after/ the entire transition creates invalid
receipts.
2014-06-19 13:42:14 +02:00
obscuren
731f55a05d Reset state when a transition fails 2014-06-19 13:41:17 +02:00
zelig
a32a15ad93 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-06-18 18:12:31 +01:00