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.
10 years ago
Felix Lange
9d4e1e8f8b
eth: return account errors directly
10 years ago
Felix Lange
9b3ae1fdb7
eth: fix tests
10 years ago
Felix Lange
63758db379
eth: delete unused RpcServer field
10 years ago
Gustav Simonsson
27c42ea934
Add empty total difficulty to test blocks and clean up stopping the node
10 years ago
Taylor Gerring
9723191b19
Undo client_version changes
10 years ago
Felix Lange
fb53a9362e
accounts: AccountManager -> Manager
10 years ago
Taylor Gerring
fca652eeea
Fix logger import path
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
obscuren
22b493a6ff
Fixed tests
10 years ago
obscuren
cd856cb213
Separated block db from state db. Partial fix for #416
10 years ago
obscuren
ed84b58af5
Debug option for VM & command line flag
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
obscuren
23ad2f02c0
debug comments & pow handling
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
Taylor Gerring
5948adfa10
Added eth.chain.received.new_block
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
zelig
7315962880
use ethash.Verify in blockpool
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
Taylor Gerring
c92e48ce3f
Add client_version RPC message
10 years ago
Felix Lange
6e7e5d5fd5
eth, whisper: fix msg.Payload reads
10 years ago
obscuren
15f491e500
Clean up REPL
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
zelig
fc47f0f27b
add eth.chain.received.new_block log to eth protocol
10 years ago
zelig
7e224b6834
db name database -> blockchain in backend error message
10 years ago
Taylor Gerring
a75af474f7
Fix logger import in tests
10 years ago
Taylor Gerring
e31ec57f88
Add event eth.tx.received
10 years ago
Taylor Gerring
0976c3024f
Don't import logger as ethlogger
10 years ago
Taylor Gerring
cfe0370280
Remove Websockets RPC transport
10 years ago
obscuren
cc5c8a444d
Report proper database directory. Closes #397
10 years ago
zelig
16ecda951b
integrate blockpool into eth
...
- remove blockpool code
- remove blockpool integration test (kinda embarrassing)
- remove errors.go
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
Felix Lange
e968928613
eth: persist node key between sessions ( #304 )
10 years ago
Felix Lange
e282ad25a8
eth: add poc-8.ethdev.com as second default bootstrap node
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
Maran
5aff8bfb59
Implement command line argument to set the amount of agents created by the miner
...
Defaults to the amount of cores available on the CPU
10 years ago
obscuren
05b1ec008b
Disabled ability to disable whisper. Closes #334
10 years ago
Taylor Gerring
f499f343ba
Update JSON Log types
10 years ago
obscuren
5ec8c5f71b
added bootnode back in
10 years ago
obscuren
7fc9b5b3f9
Changed to ChainEvent and fixed a nil pointer in transact
10 years ago
obscuren
567428fb34
Filter and mutex locks added
10 years ago
obscuren
8135752a32
"centralised" mining to backend. Closes #323
10 years ago
Felix Lange
1c1a3033be
eth: add default bootnode
10 years ago
obscuren
bde3ff16ad
merge
10 years ago
Felix Lange
d0a2e655c9
cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat
...
This deletes the old NAT implementation.
10 years ago
Taylor Gerring
db24fb792c
Move standard fields to LogEvent
10 years ago
Taylor Gerring
3c40eb9e5a
Temporarily skip broken TestVerifyPoW
10 years ago
Taylor Gerring
3d6fd601c5
Move event names within each object
10 years ago
Taylor Gerring
d53e5646ec
Use strongly-typed objects
10 years ago
Felix Lange
a21b30c901
eth: remove unused Ethereum sync fields
10 years ago