Gustav Simonsson
da9fe951da
Use common.Address type for accounts.Address
10 years ago
Bas van Kervel
b79dd188d9
replaced several path.* with filepath.* which is platform independent
10 years ago
obscuren
96d4a7d087
eth, ethdb: lower the amount of open files & improve err messages for db
...
Closes #880
10 years ago
obscuren
13f8f65a58
eth, ethdb: lower the amount of open files & improve err messages for db
...
Closes #880
10 years ago
obscuren
21e52efdfe
cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
...
Miner threads are now settable through the admin interface (closes #897 )
and specify 0 CPU worker threads when eth_getWork is called (closes #916 )
10 years ago
obscuren
a2919b5e17
core, eth, miner: improved tx removal & fatal error on db sync err
...
* core: Added GasPriceChange event
* eth: When one of the DB flush methods error a fatal error log message
is given. Hopefully this will prevent corrupted databases from
occuring.
* miner: remove transactions with low gas price. Closes #906 , #903
10 years ago
obscuren
cb1fa523e4
cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosity
10 years ago
Péter Szilágyi
4d5a719f25
cmd, eth, p2p: introduce pending peer cli arg, add tests
10 years ago
Gustav Simonsson
b1cc9cdc74
Integrate new ethash API and change geth makedag cmd
10 years ago
Péter Szilágyi
4accc187d5
eth, p2p: add trusted node list beside static list
10 years ago
obscuren
016f152b36
eth, eth/downloader: Moved block processing & graceful shutdown
...
The downloader is no longer responsible for processing blocks. The
eth-protocol handler now takes care of this instead.
Added graceful shutdown during block processing. Closes #846
10 years ago
Péter Szilágyi
413ace37d3
eth, p2p: rename trusted nodes to static, drop inbound extra slots
10 years ago
obscuren
15873fafc0
core: added a wait group to chain manager for graceful shutdown
10 years ago
Péter Szilágyi
701591b403
cmd, eth, p2p: fix review issues enumerated by Felix
10 years ago
Péter Szilágyi
679c90b873
cmd/geth, cmd/utils, eth: internalize trusted node config file
10 years ago
Péter Szilágyi
de0549fabb
cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers
10 years ago
Felix Lange
fc747ef4a6
p2p/discover: new endpoint format
...
This commit changes the discovery protocol to use the new "v4" endpoint
format, which allows for separate UDP and TCP ports and makes it
possible to discover the UDP address after NAT.
10 years ago
obscuren
459d898705
eth, rpc, xeth: ext_hanhrate => eth_hashrate
10 years ago
Péter Szilágyi
19bc4624ea
eth: pull in a lost merge change
...
Ref: 21c4c155ee
10 years ago
obscuren
405720b218
xeth, core, cmd/utils: Transaction can not be over block gas limit
...
Transactions will be invalidated when the tx.gas_limit > block.gas_limit
10 years ago
Péter Szilágyi
8646365b42
cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design
10 years ago
obscuren
31f82eb334
eth, eth/downloader: don't require td on downloader. Fixed tests
10 years ago
zelig
be843959cb
backend: start miner in its go routine (no wait to generate DAG)
10 years ago
Péter Szilágyi
6def110c37
cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.
10 years ago
Péter Szilágyi
5f735d6fce
cmd, eth, p2p, p2p/discover: init and clean up the seed cache
10 years ago
Taylor Gerring
24995f9ab7
Updated bootnodes
...
Update pub key for EU node and add new SA node
10 years ago
Bas van Kervel
c273ed7d82
Moved leveldb update loop to eth/backend
...
change order of block insert and update LastBlock
bugfix, wrong hash stored in blockDb
10 years ago
obscuren
d3be1a2719
eth: moved mined, tx events to protocol-hnd and improved tx propagation
...
Transactions are now propagated to peers from which we have not yet
received the transaction. This will significantly reduce the chatter on
the network.
Moved new mined block handler to the protocol handler and moved
transaction handling to protocol handler.
10 years ago
obscuren
5cb5df003d
eth: start tx pool in a goroutine
10 years ago
Bas van Kervel
07e85d8e14
Moved leveldb update loop to eth/backend
10 years ago
Kobi Gurkan
41b83fe1cd
adds eth_hashrate RPC method
10 years ago
zsfelfoldi
c4b7d4d3f7
NatSpec cli option, resolver tests passing
10 years ago
Felix Lange
da4a0e0555
eth: fix node key persistence
...
crypto.LoadECDSA has been modified to expect hex data.
The key was being saved as raw bytes, causing the file
to be rewritten on every start.
10 years ago
Felix Lange
2ce21cefdc
eth: use NewDB hook also for extra DB
...
(cherry picked from commit d5083033f1
)
10 years ago
obscuren
a6c0a75f9a
eth: fixed proper BroadcastBlock for mined blocks
10 years ago
obscuren
12e8d9c4dd
eth: listen for mined blocks and propagate using the protocol manager
10 years ago
obscuren
cc436c4b28
eth: additional cleanups to the subprotocol, improved block propagation
...
* Improved block propagation by sending blocks only to peers to which, as
far as we know, the peer does not know about.
* Made sub protocol its own manager
* SubProtocol now contains the p2p.Protocol which is used instead of
a function-returning-protocol thing.
10 years ago
obscuren
c2f410214c
eth: began split up of peers and protocol manager
10 years ago
obscuren
9800c84348
eth: limit the amount of peers that will receive Block/Tx messages
...
All transaction and block messages are now limited using `sqrt(peers)`
10 years ago
obscuren
97d2954e22
eth: added downloader for syncing up the chain
10 years ago
Bas van Kervel
49a513bdeb
Added blockchain DB versioning support, closes #650
10 years ago
obscuren
204ac81188
Moved handling of nonces to the managed state
10 years ago
obscuren
6184781b49
Improved transaction pool
...
The transaction pool will now some easily be able to pre determine the
validity of a transaction by checking the following:
* Account existst
* gas limit higher than the instrinsic gas
* enough funds to pay upfront costs
* nonce check
10 years ago
obscuren
a953f3ec97
Sync managed accounts to the network
10 years ago
obscuren
688d118c7e
Updated logging
10 years ago
obscuren
09d3f2cf2a
Update ethash
10 years ago
Felix Lange
76218959ab
eth: update cpp bootnode address
10 years ago
Taylor Gerring
6daa455243
Update Go bootnode address
10 years ago
zelig
b375bbee5f
settable etherbase
...
- etherbase flag for block reward destination
- coinbase => etherbase
- CLI- eth Config -> eth, xeth -> RPC / Miner
- use primary instead of coinbase as the unlock magic wildcard
- accounts: firstAddr/Coinbase -> Primary
10 years ago
Taylor Gerring
2b93843d86
Improve protocol version reporting
10 years ago