Felix Lange
6a7e02fc9f
rpc/http: delete package
10 years ago
Felix Lange
a11f1d6a7e
rpc: add dataDir parameter and JSON-RPC handler
10 years ago
Felix Lange
73d1ebe244
cmd/utils: add NewApp
10 years ago
Felix Lange
b4fa94c4b1
xeth: don't sign transactions for tx call
...
This should make calls faster and removes interaction
with account manager.
10 years ago
Felix Lange
2ee88a220a
core: remove Hash method from Message interface
...
This will simplify the next commmit. Hash was only used for logging.
10 years ago
Felix Lange
2dacb51fb0
cmd/blocktest: simplify to fix build
...
block tests only need the chain, not all of ethereum.
10 years ago
Felix Lange
6684ef201a
accounts: don't store address in unlocked and add commentary
...
This was suggested during review.
10 years ago
Felix Lange
fb53a9362e
accounts: AccountManager -> Manager
10 years ago
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.
10 years ago
Felix Lange
d6a7332993
accounts: fix uses of sync.RWMutex
...
RWMutexes must be write-locked when writing in order
to actually protect the writes.
10 years ago
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.
10 years ago
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.
10 years ago
Felix Lange
a2810c06d7
cmd/ethereum: add account commands
10 years ago
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.
10 years ago
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
10 years ago
Felix Lange
e64f727529
Merge pull request #433 from fjl/newcli
...
Improved CLI
10 years ago
Felix Lange
a91bf01429
Merge pull request #434 from fjl/poc-9
...
Godeps: bump github.com/ethereum/ethash
10 years ago
Felix Lange
71e510540e
Godeps: bump github.com/ethereum/ethash
...
This fixes the build.
10 years ago
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".
10 years ago
Felix Lange
2393de5d6b
Godeps: add github.com/peterh/liner
10 years ago
Felix Lange
38f6d60e6e
cmd/ethereum: new JS repl with cross-platform line editing
10 years ago
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.
10 years ago
Felix Lange
f9c6bc63df
Godeps: delete golang.org/x/net/websocket
...
It is no longer imported by any package in our tree.
10 years ago
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
10 years ago
obscuren
76e4e233ad
Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9
10 years ago
obscuren
d44fe4ec62
Merge branch 'develop' into poc-9
10 years ago
obscuren
72bf02bf15
Merge branch 'tendermint-develop_pull_request' into develop
10 years ago
obscuren
357d17ae58
Start at 0
10 years ago
obscuren
1d1ba40965
Merge branch 'develop_pull_request' of https://github.com/tendermint/ethermint into tendermint-develop_pull_request
10 years ago
Jeffrey Wilcke
3b30765378
Merge pull request #426 from Gustav-Simonsson/add_blockchain_tests
...
Add initial implementation of block tests
10 years ago
obscuren
377c8a13de
Merge branch 'develop' into poc-9
10 years ago
obscuren
201b09f99a
Merge branch 'alexvandesande-ui' into develop
10 years ago
obscuren
44b83c6ea6
Removed unused variables
10 years ago
obscuren
12ca70537f
Merge branch 'fjl-p2p-handshake-2' into poc-9
10 years ago
obscuren
ba0c41436c
Merge branch 'p2p-handshake-2' of https://github.com/fjl/go-ethereum into fjl-p2p-handshake-2
10 years ago
obscuren
fabaf4f1f0
wip math
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
=
a6fe92194f
Fixed iterator bug which skips the 0x000...000 key
10 years ago
Alexandre Van de Sande
178798ef87
network back to local files
10 years ago
Gustav Simonsson
871dfd399b
Add initial implementation of block tests
...
* Add blocktest cmd and support for block tests files in
tests/BlockTests , the launched node does not connect to
network, resets state with a genesis block from the test file
and starts the RPC API
10 years ago
Alexandre Van de Sande
671e38fb65
Fixed Average Return calculation
10 years ago
Alexandre Van de Sande
e1bae3771e
updated network app to latest build
10 years ago
Felix Lange
215c763d53
eth, p2p: delete p2p.Blacklist
...
It is unused and untested right now. We can
bring it back later if required.
10 years ago
Felix Lange
429828cd92
p2p: reject messages that cannot be written as simple RLPx frames
...
Until chunked frames are implemented we cannot send messages
with a size overflowing uint24.
10 years ago
Felix Lange
22659a7fea
p2p: restore read/write timeouts
...
They got lost in the transition to rlpxFrameRW.
10 years ago
Alexandre Van de Sande
5f25c117eb
Merge branch 'develop' into ui
10 years ago
Alexandre Van de Sande
cf880f78d5
network dashboard is now a local file
10 years ago
Felix Lange
6e7e5d5fd5
eth, whisper: fix msg.Payload reads
10 years ago
Felix Lange
7964f30dcb
p2p: msg.Payload contains list data
...
With RLPx frames, the message code is contained in the
frame and is no longer part of the encoded data.
EncodeMsg, Msg.Decode have been updated to match.
Code that decodes RLP directly from Msg.Payload will need
to change.
10 years ago
Felix Lange
21649100b1
p2p: verify protocol handshake node ID
10 years ago