Commit Graph

148 Commits

Author SHA1 Message Date
Felix Lange 9f0e3bd286 cmd/ethereum: unlock accounts on JS REPL 2015-03-10 02:00:57 +01:00
Felix Lange d1e04f7388 cmd/ethereum: allow multiple js files 2015-03-10 00:24:11 +01:00
Felix Lange 9bf513e993 Merge ethereum/poc-9 into accounts-integration
Conflicts:
	cmd/utils/cmd.go
	cmd/utils/flags.go
	core/manager.go
	eth/backend.go
	rpc/http/server.go
	xeth/xeth.go
2015-03-09 23:25:46 +01:00
Felix Lange a11f1d6a7e rpc: add dataDir parameter and JSON-RPC handler 2015-03-09 23:08:46 +01:00
Felix Lange 73d1ebe244 cmd/utils: add NewApp 2015-03-09 23:08:46 +01:00
obscuren 20741a96ac Updated xeth instances to take extra param for ui.Interface
Please be aware that if any of the instances on xeth.frontend are called
the program will crash due to the default, temporarily, frontend
interface.
2015-03-09 13:50:05 +01:00
zelig 41a89e18f6 version output
- make version output more verbose
- include NetworkId
- go version and os not displayed like env vars (confusing)
2015-03-08 22:50:27 +07:00
zelig 51eed7964e add export blockchain subcommand, remove BlockDo 2015-03-08 22:44:48 +07:00
obscuren 69920c735a Bump v 2015-03-08 00:59:26 +01:00
Felix Lange a2810c06d7 cmd/ethereum: add account commands 2015-03-07 12:39:52 +01:00
obscuren cd856cb213 Separated block db from state db. Partial fix for #416 2015-03-06 18:26:16 +01:00
obscuren ed84b58af5 Debug option for VM & command line flag 2015-03-06 16:58:52 +01:00
Felix Lange de86403f33 cmd/ethereum: fix JS REPL exit and add support for dumb terminals
It is now possible to exit the REPL using Ctrl-C, Ctrl-D or by typing "exit".
2015-03-06 13:08:11 +01:00
Felix Lange 38f6d60e6e cmd/ethereum: new JS repl with cross-platform line editing 2015-03-06 03:57:13 +01:00
Felix Lange bae7e93a9c cmd/ethereum: improve command line interface
The ethereum command line interface is now structured using subcommands.
These separate the different tasks it can perform.

Almost all flag names are backwards compatible.

The key tasks have not been ported to subcommands since they will be
replaced by the new accounts infrastructure very soon.
2015-03-06 03:57:13 +01:00
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 15f491e500 Clean up REPL 2015-03-04 12:18:26 +01:00
obscuren 5817dab89e Merge branch 'develop' into poc-9 2015-03-04 10:51:44 +01:00
obscuren a56243075a removed double flag. Closes #421 2015-03-04 10:51:17 +01:00
obscuren 08fd0715f9 updated genesis 2015-03-03 21:09:29 +01:00
Jeffrey Wilcke 253eb778d1 Merge pull request #411 from ethersphere/readme
[WIP] Update Readme
2015-03-03 20:17:51 +01:00
zelig deb2e50296 minor cleanup 2015-03-03 01:45:50 +07:00
Taylor Gerring 4cb0bfe939 Merge branch 'develop' of github.com:ethereum/go-ethereum into removews
Conflicts:
	cmd/ethereum/flags.go
	cmd/mist/flags.go
2015-03-02 07:06:08 -06:00
Taylor Gerring cfe0370280 Remove Websockets RPC transport 2015-03-01 16:19:06 +01:00
obscuren fdf939a6f9 Fixed miner threads for ethereum CLI 2015-02-28 23:01:41 +01:00
Jeffrey Wilcke cdb77f0ecd Merge pull request #402 from tgerring/rpcupdates
Set RPC listening address via param
2015-02-28 21:07:46 +01:00
obscuren 7ab13e0f17 Unused variable 2015-02-28 20:24:20 +01:00
obscuren 6ea7aae29c Removed some methods from the JS REPL 2015-02-28 19:15:57 +01:00
Taylor Gerring f6e821fd33 Add flag to set RPC port 2015-02-28 01:00:42 +01:00
obscuren 3ab05ddd25 Bump 2015-02-26 20:26:37 +01:00
Maran 40adb7feb6 Implement OS sensitive dataDirs 2015-02-23 11:28:20 +01:00
obscuren 321dce1f47 Bump 2015-02-22 13:26:10 +01:00
obscuren 92337baa5a reverted back to proper version number 2015-02-21 00:42:57 +01:00
obscuren cc43ab9a81 Minor updates for release 2015-02-20 18:05:46 +01:00
Taylor Gerring 4322632c59 Merge pull request #339 from tgerring/jsonlog
JSON log updates
2015-02-19 12:25:45 +01:00
obscuren 05b1ec008b Disabled ability to disable whisper. Closes #334 2015-02-18 11:42:01 +01:00
Taylor Gerring 07bdba687f Re-add LogFormat to Config 2015-02-18 10:52:36 +01:00
obscuren 790de35e7f Fixed issue in peer window
* Fixed issues where new peer window could cause a crash when entering
  an empty string
2015-02-13 17:57:46 +01:00
obscuren 76fa75b394 wip 2015-02-13 15:35:54 +01:00
obscuren a5ea21cd85 merge 2015-02-13 15:05:56 +01:00
Felix Lange d0a2e655c9 cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat
This deletes the old NAT implementation.
2015-02-13 11:39:31 +01:00
Felix Lange a3cd218719 cmd/mist, cmd/ethereum: add CLI arguments for node key 2015-02-10 12:30:09 +01:00
Felix Lange 028775a086 cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes 2015-02-07 00:52:49 +01:00
Felix Lange 56f777b2fc cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API 2015-02-06 00:03:59 +01:00
obscuren 2f30a27b2b Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-02-05 12:22:44 -08:00
Taylor Gerring 2656a2d038 Use different default RPC port per #186 2015-02-04 10:57:47 -06:00
Taylor Gerring 1f4ed49b4c Move hardcoded seed node address to app flag
Replaces functionality `-seed=true` with `-seed="ip:port"`
2015-02-02 13:04:00 -06:00
obscuren 3847e248df Bumped version number 2015-01-30 14:37:07 +01:00
Taylor Gerring 5f50fe7a4a Update CLI to use new Websocket RPC
Use “wsport” flag to change default port
2015-01-27 12:29:08 -06:00
Taylor Gerring bdf99e0981 Add LogFormat flag 2015-01-21 10:17:07 -06:00
obscuren acc8f7fadc Add defer rescued back in 2015-01-16 14:51:38 +01:00
obscuren fed3e6a808 Refactored ethutil.Config.Db out 2015-01-07 13:17:48 +01:00
obscuren 032ab66529 Added version flag 2015-01-07 01:21:55 +01:00
obscuren 117f66e823 Added license headers 2015-01-06 12:13:57 +01:00
obscuren c9985bf563 Fixed peer window. Minor tweaks and fixes 2015-01-05 19:53:53 +01:00
obscuren 6abf8ef78f Merge 2015-01-05 17:10:42 +01:00
obscuren 08b03afa4b Version bump 2015-01-04 14:34:04 +01:00
obscuren 09841b1c9b Cleaned up some of that util 2015-01-04 14:20:16 +01:00
obscuren 16f417f5af Fixed bug where logging could crash client during tx adding 2015-01-02 22:19:58 +01:00
obscuren dc7c584a4d export => import 2014-12-24 14:54:06 +01:00
obscuren 804af9658a merge 2014-12-24 11:31:45 +01:00
obscuren c9f963a77e Bump 2014-12-24 11:30:04 +01:00
obscuren 780abaec98 Switched to new trie 2014-12-23 18:35:36 +01:00
obscuren 1054c155db Moved import to utils 2014-12-23 15:37:03 +01:00
obscuren 7d2353f24d Close the file 2014-12-23 15:31:03 +01:00
obscuren 34f72ddb3d Decode from stream directly 2014-12-23 15:18:48 +01:00
obscuren 9e5257b83b Chain importer 2014-12-23 14:33:15 +01:00
obscuren 4cd79d8ddd Refactored block & Transaction
* Includes new rlp decoder
2014-12-23 13:48:44 +01:00
obscuren 125bdc3253 Merge branch 'develop' into poc8
Conflicts:
	cmd/ethereum/flags.go
2014-12-20 02:45:05 +01:00
obscuren 0a9dc1536c Increased peer from 10 to 30 2014-12-20 02:33:45 +01:00
obscuren 88af879f7a version bump 2014-12-19 01:18:22 +01:00
obscuren 721e8ae93f Merged develop 2014-12-18 13:19:41 +01:00
obscuren 2d09e67713 Updated to new methods 2014-12-18 13:17:24 +01:00
zelig 72290f67fe resolve merge conflict hell 2014-12-14 20:57:29 +00:00
zelig 61940b2275 adapt cmd/cli to new backend
- new flag nat for nat support UPNP|PMP
- new flag pmp for PMP gateway IP
- add NatType to utils/cmd to get p2p.NAT from nat type string
- obsolete usepnp flag
- get rid of IsUpToDate and sleep in miner start
- ethereum constructor takes nat type, port, maxpeer
- add pubkey arg to client identity
2014-12-14 20:52:28 +00:00
zelig d9b16c1197 new cli options
- nat UPNP|PMP
- gateway for PMP NAT
- obsolete usepnp
- add pubkey to client identity
2014-12-14 20:30:56 +00:00
zelig 50e1dcc43a import eth pkg 2014-12-14 20:30:56 +00:00
obscuren 9925916851 upped proto version and modified block pool 2014-12-05 16:26:39 +01:00
obscuren 73c4ca3a6f Upped protocol version 2014-12-04 15:31:48 +01:00
obscuren 83663ed4b0 Renames for chain, updated VM, moved methods
* Renamed a couple more chain => core
* Updated VM `pc` to be uint64 rather than big int
* XEth interface cleanup
2014-12-04 10:53:49 +01:00
obscuren 6095edac58 merge 2014-12-03 13:50:51 +01:00
obscuren 3d9a4e7084 Fixed mem error in vm. Fixed logs tests 2014-12-03 12:21:12 +01:00
obscuren 1bce02eff7 Fixed merge 2014-11-28 21:44:34 +01:00
obscuren a3559c5e1b updated PV 2014-11-28 21:38:10 +01:00
Eric Robitaille 0f47129113 Updated main.go - fix for broken develop build
Transaction execution fixes - 60cdb1148c
2014-11-20 14:16:22 -05:00
obscuren 93e693be72 Fixed tests for 'types' 2014-11-18 19:52:45 +01:00
Taylor Gerring 3588c4a9fe formatting update per gofmt 2014-11-15 20:21:03 -06:00
Taylor Gerring 1ecb3b4cf3 Remove failing Printf 2014-11-14 15:53:45 -06:00
obscuren 711be7009e Version bump 2014-11-14 13:51:41 +01:00
obscuren 60cdb1148c Transaction execution fixes 2014-11-12 01:36:36 +01:00
obscuren d56d0c64aa Version bump 2014-11-04 01:50:16 +01:00
Felix Lange f3473312ba all: fix rename breakage 2014-10-31 18:52:58 +01:00
obscuren 8826e9694c Moved utils to cmd 2014-10-31 14:20:11 +01:00
obscuren b1c247231b ethlog => logger 2014-10-31 12:56:05 +01:00
obscuren fd9da72536 ethcrypto => crypto 2014-10-31 12:37:43 +01:00
obscuren 9e2f071d26 Removed events from the state manager 2014-10-29 14:20:42 +01:00
Felix Lange 184055b3e2 cmd/*: add license headers 2014-10-23 15:48:53 +02:00
Felix Lange 69baa465ea Merge eth-go repository into go-ethereum
mist, etheruem have been moved to cmd/
2014-10-23 15:01:27 +02:00