zelig
7dbbe1bedc
eth/backend: remove spurious and incorrent PeerInfo()
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
zelig
8ad0f1b8a3
eth:
...
- NodeInfo, PeerInfo types, PeersInfo(), NodeInfo() in eth/backend to support node admin IF
- start net only if MaxPeers > 0, close extraDb in Stop()
- defer s.extraDb.Close()
10 years ago
Felix Lange
e463479b6c
eth: add ResetWithGenesisBlock
...
This depends on a change in ethash which exposes UpdateCache.
10 years ago
Felix Lange
6f8a2d6b84
eth: add hook for database creation
10 years ago
Taylor Gerring
d4ed66c83d
Add web3_clientVersion
10 years ago
obscuren
ef6706696c
Add additional extra database for non-protocol related data
...
* Add transaction to extra database after a successful block process
10 years ago
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
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
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
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
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
obscuren
313fe3861b
fixed pow stuff
10 years ago
zelig
7e224b6834
db name database -> blockchain in backend error message
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
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
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
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
Felix Lange
a3cd218719
cmd/mist, cmd/ethereum: add CLI arguments for node key
10 years ago
Felix Lange
f1ebad2508
eth: don't warn if no BootNodes are specified
10 years ago
Felix Lange
028775a086
cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes
10 years ago
Felix Lange
2cf4fed11b
cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago