Commit Graph

629 Commits

Author SHA1 Message Date
zelig 12972b4b65 DBKeyStore.Load returns no error if keyring not found in db 2014-06-29 20:53:26 +01:00
zelig 2920795168 using keyPair.Mnemonic() in file key store Save method 2014-06-29 20:28:54 +01:00
zelig 25314313f8 added Mnemonic() and AsStrings() methods, added memoization for address 2014-06-29 20:28:04 +01:00
zelig a8be0d9f48 add InitFromString method to be used in gui 2014-06-29 20:26:55 +01:00
zelig dabaa4cce0 change all modified calls to ethtrie, ethutil and ethcrypto functions 2014-06-29 18:30:05 +01:00
zelig 707d413761 refactor ethutil/trie to ethtrie 2014-06-29 16:26:58 +01:00
zelig 4be3521727 import math/big 2014-06-29 16:17:33 +01:00
zelig e3b911652d move CreateAddress from ethutil/common to ethcrypto 2014-06-29 16:08:33 +01:00
zelig 5e50b50dc3 no strconv import needed 2014-06-29 16:06:54 +01:00
zelig 772e7e8c8d Key Manager
- keypair, keyring:
-- consistent naming of methods
-- error propagation
-- no panic
- keyManager: persist, import, export, initialize and (re)set keyring
- no global public "singleton" keyring, instead interface via keyManager
- keys test
- KeyStore interface, DB and File store implementations
2014-06-29 16:02:23 +01:00
zelig e1ea41ee9c remove ethutil helpers (refactored), and keypair (key management under ethcrypto package) 2014-06-29 16:01:57 +01:00
zelig d87857ffdb config Pubkey removed (unused) 2014-06-29 15:59:57 +01:00
zelig 1db3e2241e move ethutil/mnemonic to ethcrypto - electrum word list now sourced from file 2014-06-29 15:59:35 +01:00
zelig d085133c6d move ethutil helper crypto functions to ethcrypto/crypto 2014-06-29 15:57:12 +01:00
zelig 5c1e0a6dc4 move ethutil hex conversion functions to bytes 2014-06-29 15:56:40 +01:00
zelig 7489fb784e move ethutil helper slice functions -> slice 2014-06-29 15:56:19 +01:00
Jeffrey Wilcke 2eae52ebd1 Merge pull request #27 from ethersphere/bugfix/ethchain-test
transitional ethutil.ReadConfig fixes in ethchain tests (they still fail...
2014-06-28 10:22:23 +02:00
zelig 79009ca074 transitional ethutil.ReadConfig fixes in ethchain tests (they still fail! FIXME :) 2014-06-27 15:56:45 +01:00
obscuren 423beddf57 nil check 2014-06-27 00:16:49 +02:00
obscuren 8119d77a21 :-( 2014-06-27 00:08:19 +02:00
obscuren 8935a93cf8 Merge branch 'release/0.5.15' into develop 2014-06-26 19:55:19 +02:00
obscuren a98e6a262a Merge branch 'develop' into release/0.5.15 2014-06-26 19:53:08 +02:00
obscuren 491925b71e Merge branch 'ethersphere-feature/logging' into develop 2014-06-26 19:52:31 +02:00
zelig 853053a3b2 go fmt 2014-06-26 18:45:57 +01:00
obscuren 21e389bec5 bump 2014-06-26 19:04:57 +02:00
zelig da38faa8f7 merge upstream; fix port in use warning; new logger API 2014-06-26 16:37:56 +01:00
zelig 098136b681 ethereum logs server started/stopped message 2014-06-26 10:43:02 +01:00
obscuren 0ed19d9f20 Logging, variable rearrangement 2014-06-26 11:26:42 +02:00
obscuren 39cb34850a Added instruction numbers 2014-06-26 11:25:43 +02:00
zelig 782f780476 space in miner logging message 2014-06-25 18:43:35 +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 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 6d32bef65a Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop 2014-06-25 17:22:30 +02: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 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
Maran 0c55a11318 Support hex and decimal keys for GetStorageAt RPC. Fixes ethereum/go-ethereum#74 2014-06-24 11:15:26 +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