Commit Graph

51 Commits

Author SHA1 Message Date
Felix Lange bdba044a80 ethutil: remove Config variable
Various functions throughout the codebase used it to grab settings. This
has to stop because I want to use them without reading the config file.

These functions can now be used without reading the config first:

* ethdb.NewLDBDatabase
* ethrepl.NewJSRepl
* vm.New
2015-03-06 02:46:56 +01:00
obscuren fed3e6a808 Refactored ethutil.Config.Db out 2015-01-07 13:17:48 +01:00
obscuren c5bd32b0ad Refactored VM to two separate VMs; std & debug
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
2014-10-14 11:48:52 +02:00
obscuren 41bd38147c Clean up and util methods 2014-07-26 11:24:44 +02:00
obscuren 04f8c455e2 Added diff type 2014-07-14 00:37:50 +02:00
obscuren 9010857677 Special diff output for execution 2014-07-11 16:04:09 +02:00
zelig f02602d02d ConfigManager (transitional)
- remove clientstring handling from ethutil.Config
- ReadConfig takes no Identifier argument
- members Ver, ClientString, ClientIdentifier removed from Config
- type ConfValue removed
- expose public type ethutil.ConfigManager
- Set -> Save(key string, value interface{}) now takes any value to allow for persisting non-string values directly
- TODO: eliminate all eth specific configs, just a wrapper around globalconf
2014-07-03 17:30:51 +01:00
obscuren 7a9ff4f8d4 bump 2014-07-01 16:28:17 +02:00
zelig 89630d2826 merge upstream 2014-07-01 15:03:02 +01:00
obscuren 39263b674c Paranoia 2014-07-01 09:56:10 +02:00
zelig d87857ffdb config Pubkey removed (unused) 2014-06-29 15:59:57 +01:00
zelig 79009ca074 transitional ethutil.ReadConfig fixes in ethchain tests (they still fail! FIXME :) 2014-06-27 15:56:45 +01:00
zelig d551a75c35 bump v5.15 2014-06-26 21:20:02 +01:00
zelig 853053a3b2 go fmt 2014-06-26 18:45:57 +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
obscuren 7ad073fb30 bump 2014-06-20 00:47:50 +02:00
obscuren ff0f15f763 bump 2014-06-16 18:25:21 +02:00
obscuren 6d52da58d9 Logging mechanism 2014-06-14 15:44:13 +02:00
obscuren 3a9d7d318a log changes 2014-06-12 10:07:27 +02:00
obscuren a51dfe89c0 bump 2014-06-09 22:23:30 +02:00
obscuren 9e8127accb woops 2014-05-30 19:51:19 +02:00
obscuren 17c825f53a Peer changes broadcasting and minor miner fix 2014-05-30 16:57:58 +02:00
Maran 76a59274bf Bump to RC11 2014-05-28 16:19:25 +02:00
obscuren a428533160 bump 2014-05-27 16:10:18 +02:00
obscuren 1f3f76cb09 bump 2014-05-26 00:38:53 +02:00
obscuren 230aafbf66 Working on interop
* Receipts after each transaction
* Fee structure
* Applying fees to miners
2014-05-22 17:35:26 +02:00
obscuren 8f5eddd0ba Bumped 2014-05-21 14:04:19 +02:00
obscuren c37b3cef7d Bump 2014-05-20 17:08:53 +02:00
obscuren a2fb265563 Added a fatal method 2014-05-19 17:02:16 +02:00
obscuren 8730dfdcc2 Changed how changes are being applied to states 2014-05-17 14:07:52 +02:00
obscuren ad4ffdc947 Bumped version 2014-05-14 21:34:13 +02:00
obscuren 86d6aba012 Bumped 2014-05-13 16:36:43 +02:00
obscuren d3d9ed62e2 Upgraded to new mutan 2014-05-10 16:23:07 +02:00
obscuren dbf8645aaf Bump 2014-05-10 02:02:54 +02:00
obscuren afe83af219 Moved seeding and moved manifest 2014-05-09 16:09:28 +02:00
obscuren fedd4c906f bump 2014-05-05 15:55:26 +02:00
Maran 9b1f11695d Get rid of that annoying number that keeps popping up in stdout 2014-05-05 14:20:20 +02:00
obscuren 338b698091 Refactoring and added documentation comments 2014-04-27 17:16:53 +02:00
obscuren 16e52327a4 Upped version number 2014-04-27 16:53:35 +02:00
obscuren f21eb88ad1 Some minor updates 2014-03-20 17:27:48 +01:00
obscuren 344e827061 Added client string to configuration
Clients can set their own client string which will be send to connected
peers during the handshake.
2014-03-17 12:08:16 +01:00
obscuren b462ca4aad Bump 2014-02-28 16:45:46 +01:00
obscuren 4bfd717ba2 Added the ability to extend the logger with more sub systems 2014-02-22 01:53:09 +01:00
obscuren d4cc125456 Added more logging functions 2014-02-19 16:27:22 +01:00
obscuren 0936e5ccf5 Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop
Conflicts:
	ethutil/config.go
2014-02-19 11:40:02 +01:00
obscuren 24f2b2afc3 Running contracts fixed 2014-02-19 11:35:17 +01:00
Jeffrey Wilcke bbcf304b99 Merge pull request #3 from josephyzhou/develop
Migrated to here
2014-02-18 16:04:45 +01:00
obscuren c866fcc5b3 Added new address 2014-02-18 12:10:21 +01:00
Joey Zhou c5b009ba6f new line 2014-02-17 15:47:33 -08:00
obscuren fd1aa869e1 Bumped version number 2014-02-15 11:52:28 +01:00