zelig
b6aa88c099
private network support
...
- protocolversion, networkid global int flags to cli and mist
- fix bug with protocolversion check using wrong db
- log protocolversion & networkid in backend
10 years ago
zelig
7dbbe1bedc
eth/backend: remove spurious and incorrent PeerInfo()
10 years ago
zelig
1872418316
eth: remove disused peer_util.go
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
obscuren
aa9f981d5f
Bump protocol version 58
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
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