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
11 years ago
zelig
7bcf875c57
add logging for jsre
11 years ago
zelig
f90001e938
add logging start/exit to js console
11 years ago
obscuren
3744151359
Removed init fees
11 years ago
Maran
e36badd744
Reimplement -datadir flag. Implements #79
...
The config file is actually loaded from the folder that datadir points at
11 years ago
Maran
7843390ecd
Implement getStateKeyVal for JS bindings.
...
Gives JS the option to 'loop' over contract key/val storage
11 years ago
Maran
307fe4a3cd
Add loading of extra build in js files to JS-Repl. Implements #67
11 years ago
Maran
a6f4eef1da
Added Peer Window
11 years ago
obscuren
98811f11e5
ethereum instead of ethereal. Fixes #69
11 years ago
obscuren
0bdb0a9d58
Added ini file for ethereum. fixes #66
11 years ago
obscuren
65c5a20e1c
Added config file setup. Fixes #59
...
* Also fixes asset path problems
11 years ago
obscuren
d35380c19e
New main script through init return value
11 years ago
obscuren
5f8911f7cb
Custom identifier
11 years ago
obscuren
01b833146f
Added mining stop and start
11 years ago
obscuren
b902de20c7
Fixes #49
11 years ago
obscuren
3f5b348451
Fixes #50
11 years ago
obscuren
16bd88c10a
Removed method name
11 years ago
obscuren
93e12250c7
Switch variables as intended
11 years ago
obscuren
f4551a7e9f
Changed flag parsing
11 years ago
obscuren
563c035eb5
Refactored some of the functions
11 years ago
obscuren
de1dfae717
Forked version of otto so we can support lowerCased methods
11 years ago
obscuren
0ef7f63729
Removed old console in favor of the new JS REPL
11 years ago
obscuren
a05adb1128
Refactored file structure
11 years ago
Maran
dfc3cb441b
Increase default peer amount to 10
11 years ago
obscuren
92eaa98e83
Added js interpret mode
11 years ago
obscuren
017bbbb582
Improved REPL output
11 years ago
obscuren
16421106d4
Added multi-line support
11 years ago
obscuren
3b7707c3fd
Improved console
...
* Added watch
11 years ago
obscuren
770808ce0d
Readline repl for linux & osx
11 years ago
obscuren
6a78e080e6
Tell config which loggers to use
11 years ago
obscuren
0a03484188
Implemented JavaScript console
11 years ago
obscuren
cbce882f5e
Basic javascript console
11 years ago
obscuren
9a057021c3
Update wallet value for coinbase rewards. Implements #44 & #43
11 years ago
Maran
a1dcc5cd17
Prevent crash during import of privkeys.
...
@obscuren please check if this was commented out for a reason
11 years ago
obscuren
f18ec51cb3
Switched to new keyring methods
11 years ago
Maran
9fce273ce9
Refactored RPC client to utils so it can be reused
11 years ago
Maran
e8147cf7c6
Refactored mining into utils and exposed it to ethereal. Partly fixes #43
11 years ago
Maran
0d9c948b9b
Generate coinbase from privatekey, not pubkey. Partily fixes #43
11 years ago
Maran
54eff2d778
Change coinbase to be the address not public key
11 years ago
Maran
20ea78945e
Implemented new JS/EthPub methods
...
- getTxCountAt
- getPeerCount
- getIsMining
- getIsListening
- getCoinbase
11 years ago
obscuren
32c6126593
Fix
11 years ago
Maran
9a03df7bd8
Implemented a flag for a different RPC port; --rpcport
11 years ago
Maran
b9876df5dc
Added support to NewJsonRpc to return an error as well as an interface
11 years ago
Maran
a5963d1377
Enable seed again
11 years ago
Maran
cf7ab07264
Disable seed by default
...
Seed host seems down, only causes timeouts, not helpful
11 years ago
obscuren
5d15563ea7
PreProcess => PreParse
11 years ago
obscuren
0bf2d24cb0
Changed seeding
11 years ago
Maran
c9852c4929
Renamed etherpc to ethrpc
...
All work and no play makes Maran a dull boy
11 years ago
Maran
e94e5ac75d
Implemented rpc for ethereal and ethereum
11 years ago
Maran
bcb3ad7332
Fix circular deps
11 years ago