Commit Graph

4153 Commits

Author SHA1 Message Date
obscuren 9fb52c517b Changed V to byte. Closes #456 2015-03-12 00:18:03 +01:00
Jeffrey Wilcke 6af078bd8c Merge pull request #462 from fjl/miner-coinbase
miner: provide coinbase when starting the miner
2015-03-11 23:56:48 +01:00
Felix Lange d5aaf413e0 cmd/ethereum: remove extra check for 'no accounts' error
This error can no longer be returned from eth.New.
2015-03-11 23:43:27 +01:00
Felix Lange d7b5a87b3b miner: provide coinbase when starting the miner
This avoids having to query the coinbase when creating the miner, which
in turn eliminates the dreaded startup error when no accounts are set
up. Later, this will also allow us to simply restart the miner when the
user picks a different coinbase.

This causes a lot of changes in other packages. These are included in
this commit because they're impossible to separate.
2015-03-11 23:43:27 +01:00
Taylor Gerring 70f6f2af07 shh_uninstallFilter 2015-03-11 15:49:21 -05:00
Taylor Gerring c2181fdbf2 block&index args unmarshal plus test 2015-03-11 15:26:28 -05:00
Taylor Gerring 5a9f712144 Comment out broken test (return type does not exist) 2015-03-11 14:43:39 -05:00
Taylor Gerring 485e37e889 Move MakeName to ethutil 2015-03-11 14:29:07 -05:00
obscuren 587f748d92 Merge branch 'fjl-unencrypted-keys' into develop 2015-03-11 17:47:17 +01:00
obscuren 629f4b1d3c merge 2015-03-11 17:46:58 +01:00
obscuren 239e17de12 Merge branch 'rpcfrontier' into develop 2015-03-11 17:37:17 +01:00
obscuren c01d4c2f4c Lowered default gas price and increased default gas limit 2015-03-11 17:36:35 +01:00
obscuren 2da7af4ba0 Merge branch 'rpcfrontier' of github.com-obscure:ethereum/go-ethereum into rpcfrontier 2015-03-11 17:00:30 +01:00
obscuren e8d1b622d9 Default block number changes 2015-03-11 17:00:20 +01:00
Taylor Gerring 90f34ed40a Rename Topic to Topics 2015-03-11 10:56:44 -05:00
Taylor Gerring 61bf29be36 Check length of timestring before taking slice 2015-03-11 10:43:52 -05:00
obscuren 08b1154033 Changed logging to use internal logger 2015-03-11 16:36:10 +01:00
obscuren 477815c044 Improved error reporting and removed commented code 2015-03-11 16:33:39 +01:00
obscuren 6b63759ded Reverted global 2015-03-11 16:33:04 +01:00
obscuren 7add66c8bb Use the state to up the balance of the coinbase 2015-03-11 16:32:37 +01:00
Taylor Gerring 9e89c803f1 Get Uncles 2015-03-11 10:27:32 -05:00
Taylor Gerring 53ac85cfd3 BlockHash must be a string 2015-03-11 10:27:24 -05:00
Taylor Gerring d465e410ef TxIndex -> Index 2015-03-11 10:25:15 -05:00
Felix Lange 99bc44cf52 cmd/ethereum: add a flag to switch to unencrytped keystore
This is mostly for automated tests. The tests can use the following
commands to start the node:

    ethereum --unencrypted-keys account new
    ...
    ethereum --unencrypted-keys
2015-03-11 13:58:01 +01:00
Taylor Gerring 6bca40274f Merge branch 'rpcfrontier' of github.com:ethereum/go-ethereum into rpcfrontier 2015-03-10 22:25:32 -05:00
Taylor Gerring 9ce5229ddf Get transaction via block & index 2015-03-10 22:25:07 -05:00
Taylor Gerring ece29c5d8d Nil check block 2015-03-10 19:34:07 -05:00
obscuren 074ee19fe5 Merge branch 'develop' into rpcfrontier 2015-03-11 01:11:20 +01:00
obscuren 64933321fb Merge branch 'rpcfrontier' of github.com-obscure:ethereum/go-ethereum into rpcfrontier 2015-03-11 01:10:58 +01:00
obscuren 58909117be Use ECDSA instead of elliptic 2015-03-11 01:10:25 +01:00
Taylor Gerring 499f816e30 Output hex should be prepended with 0x 2015-03-10 19:10:02 -05:00
obscuren 7e0ccc9de5 Merge branch 'develop' into rpcfrontier
Conflicts:
	rpc/api.go
	rpc/args.go
2015-03-11 01:08:42 +01:00
Taylor Gerring fda4d02f94 Left-pad odd length hex inputs and tests 2015-03-10 18:08:31 -05:00
obscuren eba4f389a6 don't log whisper start ups 2015-03-10 22:43:07 +01:00
obscuren 7d77a2ffc3 Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop 2015-03-10 22:42:24 +01:00
Jeffrey Wilcke 73171d18b9 Merge pull request #447 from fjl/accounts-integration
Accounts integration
2015-03-10 22:42:03 +01:00
obscuren eb1b4c8ffe Merge branch 'fjl-accounts-integration' into develop 2015-03-10 20:37:23 +01:00
obscuren ce595b9266 fallback 2015-03-10 20:28:20 +01:00
obscuren 35841e5190 id to hex 2015-03-10 20:16:53 +01:00
obscuren d9f96293be Merge branch 'rpcfrontier' of github.com-obscure:ethereum/go-ethereum into rpcfrontier
Conflicts:
	rpc/args.go
2015-03-10 20:16:08 +01:00
obscuren f22684439a Updated RPC
* Added a generic RawMessage deserialiser
* Updated ethereum.js
* Updated coin test app
2015-03-10 20:14:38 +01:00
Taylor Gerring 3d6519e45b Update response types 2015-03-10 12:52:45 -05:00
Taylor Gerring 617804c327 Merge branch 'rpcfrontier' of github.com:ethereum/go-ethereum into rpcfrontier 2015-03-10 12:50:13 -05:00
Felix Lange 269cfbb8ac Merge branch origin/develop into accounts-integration
Conflicts:
	cmd/blocktest/main.go
	cmd/mist/debugger.go
	cmd/utils/cmd.go
2015-03-10 17:14:31 +01:00
Felix Lange 972e2c1e31 cmd/utils: improve CLI help templates
Help for a specific command now shows available subcommands.
2015-03-10 16:44:48 +01:00
Felix Lange 221fae4112 cmd/ethereum: show some help before prompting for encryption passphrase 2015-03-10 16:44:22 +01:00
Felix Lange 2407f006ad Godeps: bump github.com/codegangsta/cli 2015-03-10 16:41:33 +01:00
Felix Lange 0bb7377ebe cmd/ethereum: show more helpful message if no accounts exist 2015-03-10 15:44:05 +01:00
Felix Lange 9d4e1e8f8b eth: return account errors directly 2015-03-10 15:42:58 +01:00
Felix Lange c3f94a4341 cmd/utils: remove extra space in fatal error message 2015-03-10 15:42:25 +01:00