Commit Graph

1247 Commits

Author SHA1 Message Date
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
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