obscuren
30584c7cfb
Merge commit 'e2c75b0fa17394553b93fe7ddd62c0f6a6441119' into poc-9
2015-03-08 15:29:27 +01:00
obscuren
5dfc67efbd
ignore
2015-03-08 15:29:23 +01:00
zelig
0743d68d4c
rename constructor New
2015-03-08 20:17:20 +07:00
zelig
97dc4edb45
natspec for poc-9
...
- put natspec.js in a heredoc string (to help binary)
- constructor takes no args, just sets up js vm
- API: only exports Notice(transaction, abi, method, expression string) (string, error)
- effort to turn natspec.js error strings to proper go errors
- test errors
2015-03-08 20:09:13 +07:00
Felix Lange
6684ef201a
accounts: don't store address in unlocked and add commentary
...
This was suggested during review.
2015-03-08 02:47:05 +01:00
Felix Lange
fb53a9362e
accounts: AccountManager -> Manager
2015-03-08 01:58:35 +01:00
Felix Lange
3750ec7b7d
accounts: prevent early drops and zero keys in memory when dropping
...
Private keys would be locked early if SignLocked was called more than
once because the unlockLater was still running. Terminate it properly.
2015-03-08 01:44:15 +01:00
obscuren
f6df3740a8
ignore
2015-03-08 01:31:19 +01:00
obscuren
07955b3041
merge
2015-03-08 01:09:34 +01:00
obscuren
405c0ca4b0
removed
2015-03-08 01:06:59 +01:00
obscuren
e189758d55
Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9
2015-03-08 01:02:46 +01:00
obscuren
8ea0444655
updated ethash
2015-03-08 01:02:39 +01:00
obscuren
69920c735a
Bump v
2015-03-08 00:59:26 +01:00
obscuren
e26ebc3110
Updated ethereum.js
2015-03-08 00:54:18 +01:00
Felix Lange
d6a7332993
accounts: fix uses of sync.RWMutex
...
RWMutexes must be write-locked when writing in order
to actually protect the writes.
2015-03-08 00:36:06 +01:00
Felix Lange
afc530ea41
accounts: use time.Duration correctly
...
There is no point to using time.Duration if the value is interpreted as
milliseconds. Callers should use the standard multiplication idiom to
choose the unit. In fact, the only caller outside of the tests already
does so.
2015-03-08 00:35:23 +01:00
Felix Lange
fda7b4c79d
accounts: use pointers consistently
...
Account is now always a non-pointer. This will be important once
the manager starts remembering accounts.
AccountManager is now always a pointer because it contains locks
and locks cannot be copied.
2015-03-08 00:18:13 +01:00
Taylor Gerring
fca652eeea
Fix logger import path
2015-03-07 10:48:38 -06:00
obscuren
70cbfb199d
Added deploy scripts from go-build
2015-03-07 13:16:13 +01:00
Felix Lange
a2810c06d7
cmd/ethereum: add account commands
2015-03-07 12:39:52 +01:00
Felix Lange
d66f93cecd
accounts, core, eth, xeth: use account manager for everything
...
The account manager is now responsible for picking the
default account and the coinbase.
2015-03-07 12:38:33 +01:00
Jeffrey Wilcke
c27c2be584
Merge pull request #435 from zsfelfoldi/poc-9
...
Natspec + test
2015-03-06 20:11:43 +01:00
obscuren
22b493a6ff
Fixed tests
2015-03-06 20:10:59 +01:00
Fefe
e157147253
Now using github.com/obscuren/otto, no need for an Ethereum object
...
(got rid of some messy code in test)
2015-03-06 18:54:26 +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
Taylor Gerring
dc7022cd61
Increased args test coverage
2015-03-06 09:54:08 -06:00
obscuren
548e104171
Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9
2015-03-06 16:40:21 +01:00
obscuren
8d9be18b29
Queued approach to delivering chain events
2015-03-06 15:50:44 +01:00
Gustav Simonsson
bc45e5c6de
Integrate eth_accounts and eth_transact to use new account manager
...
* Add from to eth_transact / xeth.Transact and add static pass in lieu
of integrating with native Mist window for user passphrase entry
* Make eth_accounts return AccountManager.Accounts()
* Add a Generate Key menu item in Mist
2015-03-06 13:10:42 +00:00
Felix Lange
e64f727529
Merge pull request #433 from fjl/newcli
...
Improved CLI
2015-03-06 14:02:16 +01:00
Felix Lange
a91bf01429
Merge pull request #434 from fjl/poc-9
...
Godeps: bump github.com/ethereum/ethash
2015-03-06 13:31:41 +01:00
Felix Lange
71e510540e
Godeps: bump github.com/ethereum/ethash
...
This fixes the build.
2015-03-06 12:28:00 +00: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
obscuren
b72ca57775
Merge branch 'ethersphere-blockpool3' into poc-9
2015-03-06 12:10:23 +01:00
Felix Lange
2393de5d6b
Godeps: add github.com/peterh/liner
2015-03-06 10:39:31 +01:00
obscuren
23ad2f02c0
debug comments & pow handling
2015-03-06 10:22:40 +01:00
Taylor Gerring
5da3d911cf
Initial args tests
2015-03-06 00:03:22 -06:00
Taylor Gerring
18b076861e
Add web3_sha3 test
2015-03-05 22:41:55 -06:00
Taylor Gerring
03dc760ca0
Tidy
2015-03-05 21:48:03 -06:00
Taylor Gerring
ef9d825cfa
Refactor & cleanup
2015-03-05 21:37:45 -06: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
Fefe
b67ded9f27
Natspec + test
2015-03-06 03:43:34 +01:00
Felix Lange
f9c6bc63df
Godeps: delete golang.org/x/net/websocket
...
It is no longer imported by any package in our tree.
2015-03-06 02:54:57 +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
5f4a6069c5
Merge branch 'blockpool3' of https://github.com/ethersphere/go-ethereum into ethersphere-blockpool3
2015-03-05 21:53:42 +01:00
Taylor Gerring
94e543bc39
Merge pull request #431 from tgerring/jsonlogs
...
Structured logging updates
2015-03-05 14:32:41 -06:00
obscuren
580d09084d
Merge branch 'ethersphere-blockpool2' into poc-9
2015-03-05 20:38:36 +01:00
obscuren
e089478a1c
Merge branch 'blockpool2' of https://github.com/ethersphere/go-ethereum into ethersphere-blockpool2
2015-03-05 20:38:19 +01:00