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
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
f63f3853bb
Merge branch 'release/0.5.14' into develop
2014-06-20 00:47:59 +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
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
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
obscuren
509389be97
Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
2014-06-18 13:48:52 +02:00
obscuren
f911087eab
Logging
2014-06-18 13:48:42 +02:00
obscuren
c4af1340fa
Updated test
2014-06-18 13:48:29 +02:00
obscuren
3bc57fe5b5
CALLDATALOAD return 32 byte at all times
2014-06-18 13:48:08 +02:00
obscuren
7f94bd09ae
Return a single byte if byte get called
2014-06-18 13:47:40 +02:00
Maran
d179f31d4f
Merge branch 'feature/peers' into develop
2014-06-18 13:19:12 +02:00
Maran
fba6de834e
Merge branch 'develop' of github.com:ethereum/eth-go into develop
2014-06-18 13:19:03 +02:00
Maran
1f79175898
Reworked peers to check for public key duplication and adding peers to peerlist only after the handshake has come in
2014-06-18 13:06:48 +02:00
obscuren
2fbcfd8824
Proper checks for multiple data items. Fixes #80
2014-06-18 11:55:05 +02:00
Maran
22e16f15a6
Reduce peer timeout to 10 seconds
2014-06-18 10:39:42 +02:00
obscuren
dc9c9369e0
log
2014-06-18 00:36:23 +02:00
obscuren
2565a79575
Swapped vars
2014-06-18 00:32:48 +02:00
obscuren
8a885c2606
Fixed GT and LT
2014-06-18 00:25:58 +02:00
obscuren
ca79360fd7
Verbose logging for VM
2014-06-17 18:49:26 +02:00
obscuren
34c8045d5b
Fixed issue where JUMPI would do an equally check with 1 instead of GT
2014-06-17 18:05:46 +02:00
Maran
a90ffe1af1
Merge branch 'develop' of github.com:ethereum/eth-go into develop
2014-06-17 11:40:37 +02:00
Maran
01e6f63e98
A handful of GUI fixes
2014-06-17 11:40:23 +02:00
obscuren
3621988e15
Removed deprecated states
2014-06-17 11:07:37 +02:00
obscuren
53e30f750d
Removal of manual updating of state objects
...
* You'll only ever need to update the state by calling Update. Update
will take care of the updating of it's child state objects.
2014-06-17 11:06:06 +02:00
obscuren
6656f99c54
Merge branch 'release/0.5.13' into develop
2014-06-16 18:25:33 +02:00
obscuren
ff0f15f763
bump
2014-06-16 18:25:21 +02:00