Commit Graph

289 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 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
obscuren 65cbea2b6a bump 2014-06-20 00:48:48 +02:00
obscuren c89566a42f Removed old debugger code 2014-06-20 00:42:53 +02:00
obscuren 3ec0c719b9 Verbose logging 2014-06-19 13:47:18 +02:00
obscuren c1220e8729 bump 2014-06-16 18:24:24 +02:00
obscuren 3744151359 Removed init fees 2014-06-16 11:15:08 +02:00
obscuren 7ab735eb02 Max 250 log 2014-06-15 00:02:41 +02:00
obscuren ef1b923b31 Added a log level slider which can change the log level 2014-06-14 15:44:32 +02:00
obscuren e7a22af0e6 Minor UI adjustments 2014-06-12 10:06:02 +02:00
Maran 1d300bbc10 Toggle inspector / reload using magic rectangle 2014-06-11 15:55:47 +02:00
Maran e36badd744 Reimplement -datadir flag. Implements #79
The config file is actually loaded from the folder that datadir points at
2014-06-11 12:33:11 +02:00
Maran 57e3b1b093 Implemented usedGas to the explorer 2014-06-11 11:40:13 +02:00
Maran 0ee258bb75 Add GasLimit to the block explorer 2014-06-11 10:27:58 +02:00
obscuren d929c63474 bump 2014-06-09 22:23:33 +02:00
obscuren ba3623d0cc Fixed debugger hang 2014-06-09 22:04:16 +02:00
obscuren cc20b0e3a0 debugger output 2014-06-06 12:13:13 +02:00
obscuren a107a5db05 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-06-05 09:01:10 +02:00
obscuren 964587b14a Added more debugger output 2014-06-05 09:00:57 +02:00
Maran 7843390ecd Implement getStateKeyVal for JS bindings.
Gives JS the option to 'loop' over contract key/val storage
2014-06-04 15:54:33 +02:00
Maran 3755616a29 Added namereg register option to qml wallet 2014-06-03 14:30:26 +02:00
Maran cc1d043423 Implemented transaction catching up. Implements #73 2014-06-03 11:48:44 +02:00
Maran 9e411d785b Tweaks and latency added to peeroverview 2014-06-03 10:42:36 +02:00
Maran a6f4eef1da Added Peer Window 2014-06-02 15:16:37 +02:00
obscuren d6acb74ac9 fixed logging issue that would otherwise crash the client. Fixes #68 2014-05-31 11:34:37 +02:00
obscuren be27309dbb show first? 2014-05-30 20:35:37 +02:00
obscuren 0bdb0a9d58 Added ini file for ethereum. fixes #66 2014-05-30 19:36:05 +02:00
obscuren 65c5a20e1c Added config file setup. Fixes #59
* Also fixes asset path problems
2014-05-30 16:56:56 +02:00
obscuren 1020d7ff67 Unified the contract interface and tx interface. Fixes #62 2014-05-30 16:14:46 +02:00
obscuren e7c9b86a5a Improved UI
* Added mining button
2014-05-30 13:28:31 +02:00
obscuren 0938b56829 Update peer info 2014-05-30 13:04:23 +02:00
obscuren fcbf99a30a Minor GUI updates
* IceCream => IceCREAM
* Added coin base to block info
2014-05-30 11:50:30 +02:00
obscuren 40d72ff40b . 2014-05-29 12:24:56 +02:00
obscuren efadfbfb17 Minor UI changes
* Moved log from block view
* Prepend instead of append for logs
2014-05-29 12:24:14 +02:00
obscuren 8ee6574d12 Minimal fee for sending transactions 2014-05-29 12:14:25 +02:00
obscuren efb3ee044b Removed regexp for namereg 2014-05-29 11:49:59 +02:00
obscuren 0b4c42d756 Disabled instruction selection 2014-05-29 02:05:06 +02:00
obscuren f802e17626 merge 2014-05-28 23:16:15 +02:00
obscuren 8fab7ce37d Fixes and improved debugger 2014-05-28 23:14:23 +02:00
Maran 44db1a1eb2 Add 0x when feeding data to debugger 2014-05-28 18:11:27 +02:00
Maran 58032d60e7 Bump to RC11 2014-05-28 16:17:57 +02:00
Maran d4f9daa631 Refactor hex encode and remove coupling of popup to main window 2014-05-28 16:14:24 +02:00
Maran 1eda1d25b0 Hooked up the Block Explorer to the Debugger so we can instantly debug made transactions 2014-05-28 15:48:17 +02:00
obscuren 540d39220d Merge branch 'master' into develop 2014-05-28 13:00:51 +02:00
obscuren 09728bf43c Debugger script&data now accept "0x" values 2014-05-28 13:00:45 +02:00
Maran 138b7fe2d8 Consolidated external qml files to hopefully prevent crashing bug 2014-05-28 11:52:52 +02:00
obscuren 969b4a4a36 Added some shortcuts 2014-05-27 16:23:53 +02:00
obscuren 34b861c19c bump 2014-05-27 16:10:15 +02:00
obscuren a0f73c2703 Minor fixes and improvements to the ui 2014-05-27 16:09:04 +02:00
obscuren 2be9823010 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Conflicts:
	ethereal/assets/qml/wallet.qml
2014-05-27 13:31:57 +02:00
obscuren 47417506c3 New debugger implemented 2014-05-27 13:28:11 +02:00
obscuren d0b31e2030 New debugger 2014-05-27 13:09:47 +02:00
Maran 6fe42f007c Uhm what 2014-05-27 12:46:02 +02:00
Maran 1ab865a994 Adding new blocks on broadcast 2014-05-27 11:49:42 +02:00
obscuren 4fd267a778 Sep debugger from main 2014-05-27 10:42:37 +02:00
Maran 07204f129e Increase size for asm 2014-05-27 10:38:51 +02:00
Maran 47a58b40cd Removed recursive function for loop 2014-05-27 10:29:39 +02:00
Maran 474c85bc9d Fix merge conflict 2014-05-27 10:29:12 +02:00
obscuren d694e00a33 Fixed debugger 2014-05-26 21:11:38 +02:00
Maran f7eb4e587f Remove extra log statement 2014-05-26 17:18:34 +02:00
Maran 5fc6ee6a4a Implemented simple block/tx explorer 2014-05-26 17:07:20 +02:00
Maran 5374a95c58 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-05-26 10:53:58 +02:00
obscuren 818bc84591 Bump 2014-05-26 00:39:05 +02:00
obscuren b42c70be9c Recv send for txs 2014-05-26 00:10:38 +02:00
obscuren d35380c19e New main script through init return value 2014-05-23 14:37:03 +02:00
Maran 36683f2e29 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-05-23 10:29:17 +02:00
obscuren 5f8911f7cb Custom identifier 2014-05-22 10:38:37 +02:00
Maran 6b115659ca Hide inspector by default 2014-05-22 10:27:21 +02:00
Maran 8419ba0ec0 Fix merge conflicts 2014-05-22 10:26:39 +02:00
obscuren 3ddaf56afd Bumped 2014-05-21 14:04:11 +02:00
obscuren 10e2c40b59 Improved on some ui elements 2014-05-21 14:00:54 +02:00
obscuren 68f4a12a8b Fixed unconfirmed balance string 2014-05-21 13:37:46 +02:00
obscuren 16bd88c10a Removed method name 2014-05-21 12:14:39 +02:00
obscuren d16d56d39f Updated readme to reflect options 2014-05-20 22:13:39 +02:00
obscuren 34014c1c51 Bump 2014-05-20 17:08:23 +02:00
Maran 0cf617ef0c Implemented GUI watchers for rapid reload. Implements #46 2014-05-20 16:58:13 +02:00
obscuren a05adb1128 Refactored file structure 2014-05-20 12:48:34 +02:00
Maran dfc3cb441b Increase default peer amount to 10 2014-05-20 11:52:36 +02:00
obscuren 43f88b2bbb Removed nonce incrementing 2014-05-19 12:14:32 +02:00
obscuren 770808ce0d Readline repl for linux & osx 2014-05-17 15:15:46 +02:00
obscuren 6a78e080e6 Tell config which loggers to use 2014-05-15 22:17:09 +02:00
obscuren 3a2bddc160 Refactored to reactor. Fixes #42 2014-05-15 14:06:06 +02:00
obscuren a73ae8727d Bumped version 2014-05-14 21:34:01 +02:00
obscuren 278ee3f16c Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-05-14 14:57:16 +02:00
obscuren 9a057021c3 Update wallet value for coinbase rewards. Implements #44 & #43 2014-05-14 14:57:05 +02:00
Maran c9db87277b Fix merge conflicts 2014-05-14 14:04:43 +02:00
obscuren f18ec51cb3 Switched to new keyring methods 2014-05-14 13:55:08 +02:00
Maran 9fce273ce9 Refactored RPC client to utils so it can be reused 2014-05-14 13:32:49 +02:00
Maran e8147cf7c6 Refactored mining into utils and exposed it to ethereal. Partly fixes #43 2014-05-14 12:41:30 +02:00
obscuren faa3073625 Changed validators to regexp validators
IntValidator limits to 32bit int (JavaScript limitation) and therefor
the input fields are limited in length.
2014-05-13 22:25:05 +02:00
obscuren 7f94b266c7 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-05-13 16:39:23 +02:00
obscuren 9caf53f8c6 Bumped 2014-05-13 16:37:15 +02:00
Maran fca36cc03d Typo 2014-05-13 16:36:29 +02:00
Maran b71094b01c Removed harcoded addresses from GetBlock JS bindings. Fixes #39 2014-05-13 16:32:35 +02:00
Maran edc281ac5f Depcrecated set 2014-05-13 14:53:46 +02:00
Maran ee2cef3b2e Adding new API test case html 2014-05-13 14:49:21 +02:00
Maran 20ea78945e Implemented new JS/EthPub methods
- getTxCountAt
- getPeerCount
- getIsMining
- getIsListening
- getCoinbase
2014-05-13 14:43:08 +02:00
obscuren dd60382fc3 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop
Conflicts:
	ethereal/ethereum.go
	ethereum/ethereum.go
2014-05-13 12:46:40 +02:00
obscuren 32c6126593 Fix 2014-05-13 12:45:47 +02:00
obscuren 03371b74d7 Public ethereum interface uses EthManager 2014-05-13 12:42:01 +02:00
Maran c99aa7bdcf Fix merge conflict 2014-05-13 12:40:45 +02:00
Maran 5208b04821 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-05-13 12:08:54 +02:00
Maran 9a03df7bd8 Implemented a flag for a different RPC port; --rpcport 2014-05-13 12:00:48 +02:00
obscuren 67820506cb Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-05-13 11:59:13 +02:00
obscuren 8c9e6746ce Fixed wallet crash for new account. Fixes #38 2014-05-13 11:59:03 +02:00
Maran b9876df5dc Added support to NewJsonRpc to return an error as well as an interface 2014-05-13 11:50:39 +02:00
Maran a5963d1377 Enable seed again 2014-05-13 11:34:47 +02:00
Maran c3ad210846 Merge branch 'develop' of github.com:ethereum/go-ethereum into develop 2014-05-12 17:23:16 +02:00
Maran 618f523124 Actually start the Ethereum server on starting the GUI 2014-05-12 17:23:14 +02:00
obscuren c7132e5d22 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2014-05-12 13:56:37 +02:00
obscuren c43ea30e75 Refactored some code and fixed #37 2014-05-12 13:56:29 +02:00
Maran cf7ab07264 Disable seed by default
Seed host seems down, only causes timeouts, not helpful
2014-05-12 13:41:52 +02:00
obscuren 23fc50c61b Upgraded to new mutan 2014-05-10 16:22:57 +02:00
obscuren 109395daaa Bump 2014-05-10 02:02:59 +02:00
obscuren f73a5f067a fxed 2014-05-10 02:00:18 +02:00
obscuren 1471585af0 Moved Ext app js to its own dir 2014-05-10 01:57:10 +02:00
obscuren 0bf2d24cb0 Changed seeding 2014-05-09 14:51:02 +02:00
obscuren f59f515def Cleanup 2014-05-08 18:24:28 +02:00
obscuren 71defc11fa Fixed closure 2014-05-08 14:20:17 +02:00
obscuren 53eb59ed81 Normalized font 2014-05-05 20:56:48 +02:00
Maran c9852c4929 Renamed etherpc to ethrpc
All work and no play makes Maran a dull boy
2014-05-05 15:15:04 +02:00
Maran cb9ca992de Merge branch 'develop' into feature/rpc 2014-05-05 14:17:20 +02:00
Maran e94e5ac75d Implemented rpc for ethereal and ethereum 2014-05-05 14:16:14 +02:00
obscuren 91824af46b Changed getkey and secrettoaddress 2014-05-05 13:09:11 +02:00
obscuren dd45197bcd Added storage watch 2014-05-05 11:56:05 +02:00
obscuren 2582d719b2 Updated sample coin 2014-05-02 14:08:38 +02:00
Maran 231ad9b562 Merge branch 'develop' into feature/rpc 2014-05-02 14:08:08 +02:00
obscuren ed64434dcc Moved public interface 2014-05-02 13:55:58 +02:00
Maran 60f9966cd8 Merge branch 'develop' into feature/rpc 2014-05-02 13:35:44 +02:00
obscuren f1da6f0564 Fixed samplecoin 2014-05-02 13:35:12 +02:00
Maran 3424bf17ca Moved RPC Server and implemented it as a package 2014-05-02 13:35:03 +02:00
obscuren ee04c6ff67 Added string conversion API
* bin
* pad
* unpad
* conversion bin/hex/dec
2014-05-02 12:08:52 +02:00
obscuren 5a692b9f2b Moved API 2014-05-02 12:08:15 +02:00
obscuren 471bd398f3 Moved Ext ethereum api
Moved the external ethereum api which can be used by any 3rd party
application.
2014-05-02 12:07:24 +02:00
obscuren 9e481804a7 Added a 'set' method to change window settings for external applications 2014-05-01 22:59:16 +02:00
obscuren 76cd14ab7b Moved and improved sample coin 2014-05-01 22:15:34 +02:00
obscuren abb2bebf7f Fixed minor issue with upnp where 'err' wasn't checked resulting in crash 2014-05-01 19:02:35 +02:00
obscuren da7828f336 Fixed tx nonce 2014-04-30 17:13:12 +02:00
obscuren c5481b7654 getBalanceAt getStorageAt, fixed get balance api call 2014-04-30 14:54:59 +02:00
obscuren 183dbcc6a0 fixed state object changes for eth api 2014-04-30 14:42:57 +02:00
obscuren e85d5dd428 API changes 2014-04-30 01:44:12 +02:00
obscuren 64c2550b31 Split off External applications from main library
External applications now accept containers which function as the
frontend where the ExtApplication functions as the backend. Containers
execute within their own engine and have their own context and are
destroyed when released.
2014-04-30 01:44:02 +02:00
obscuren 922974c760 Added muted 2014-04-28 23:24:42 +02:00
Casey Kuhlman a0f35d3248 PreProcess moved to Mutan package 2014-04-28 11:40:05 +02:00
obscuren 68e5568804 Draft mut(an)ed(itor) 2014-04-28 00:25:01 +02:00
obscuren 0e8ca84b67 Updated version number 2014-04-27 16:52:48 +02:00
obscuren e16fd323e8 Leverage the new watch & address:changed functionality 2014-04-26 01:47:04 +02:00
obscuren d0438ac10a Moved 2014-04-25 19:24:39 +02:00
obscuren 6ca99709d2 Merge 2014-04-25 10:34:57 +02:00