Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eth: added a few informative messages regarding downloading | obscuren | 2015-04-24 | 1 | -0/+6 |
| | |||||
* | eth/downloader: fixed tests | obscuren | 2015-04-24 | 1 | -12/+8 |
| | |||||
* | eth, eth/downloader: simplified synchronisation process | obscuren | 2015-04-24 | 2 | -31/+24 |
| | |||||
* | eth/downloader: removed peer td management and best peer selection | obscuren | 2015-04-24 | 2 | -16/+2 |
| | |||||
* | eth, eth/downloader: don't require td on downloader. Fixed tests | obscuren | 2015-04-24 | 4 | -25/+22 |
| | |||||
* | eth, eth/downloader: moved peer selection to protocol handler | obscuren | 2015-04-24 | 4 | -134/+127 |
| | |||||
* | eth: cleanup | obscuren | 2015-04-24 | 1 | -5/+1 |
| | |||||
* | Merge pull request #797 from tgerring/bootnodes | Jeffrey Wilcke | 2015-04-24 | 1 | -2/+3 |
|\ | | | | | Bootnodes update | ||||
| * | Updated bootnodes | Taylor Gerring | 2015-04-24 | 1 | -2/+3 |
| | | | | | | | | Update pub key for EU node and add new SA node | ||||
* | | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -18/+49 |
|/ | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | eth: moved mined, tx events to protocol-hnd and improved tx propagation | obscuren | 2015-04-23 | 3 | -28/+78 |
| | | | | | | | | | 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. | ||||
* | eth: start tx pool in a goroutine | obscuren | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #756 from Gustav-Simonsson/block_test_improvements | Jeffrey Wilcke | 2015-04-21 | 1 | -1/+4 |
|\ | | | | | Block test improvements | ||||
| * | eth: use NewDB hook also for extra DB | Felix Lange | 2015-04-19 | 1 | -1/+4 |
| | | | | | | | | (cherry picked from commit d5083033f15bb815a6212eddae16a7125db58738) | ||||
* | | Merge branch 'frontier/natspec' of ↵ | obscuren | 2015-04-21 | 1 | -0/+3 |
|\ \ | | | | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec | ||||
| * | | NatSpec cli option, resolver tests passing | zsfelfoldi | 2015-04-20 | 1 | -0/+3 |
| |/ | |||||
* / | core: added chain head reset to known block | obscuren | 2015-04-20 | 2 | -1/+4 |
|/ | |||||
* | geth: admin download status | obscuren | 2015-04-20 | 1 | -11/+15 |
| | |||||
* | downloader: fixed tests with low ttl | obscuren | 2015-04-19 | 2 | -2/+3 |
| | |||||
* | moved | obscuren | 2015-04-19 | 1 | -6/+6 |
| | |||||
* | Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum ↵ | obscuren | 2015-04-19 | 1 | -6/+6 |
|\ | | | | | | | | | | | | | into fjl-rlp-size-validation Conflicts: eth/protocol.go | ||||
| * | cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit | Felix Lange | 2015-04-17 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-19 | 1 | -4/+1 |
|\ \ | |||||
| * \ | Merge pull request #749 from fjl/fix-nodekey-persistence | Jeffrey Wilcke | 2015-04-19 | 1 | -4/+1 |
| |\ \ | | | | | | | | | Fix p2p node key persistence | ||||
| | * | | eth: fix node key persistence | Felix Lange | 2015-04-19 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | | Removed debug println | obscuren | 2015-04-19 | 1 | -3/+0 |
| | | | | |||||
* | | | | eth: drop blocks with low TD | obscuren | 2015-04-19 | 2 | -5/+7 |
| | | | | |||||
* | | | | downloader: moved chunk ignoring. Fixes issue with catching up | obscuren | 2015-04-19 | 4 | -31/+44 |
|/ / / | |||||
* | | | eth: temp 100% block propagation because of the current state of the net | obscuren | 2015-04-19 | 1 | -2/+2 |
| | | | |||||
* | | | downloader: defer peer reset after download | obscuren | 2015-04-19 | 2 | -4/+8 |
|/ / | |||||
* | | downloader: reset hashTtl on receive | obscuren | 2015-04-19 | 1 | -0/+2 |
| | | |||||
* | | eth: removed debug messages to stdout | obscuren | 2015-04-19 | 1 | -2/+2 |
| | | |||||
* | | downloader: don't remove peers. keep them around | obscuren | 2015-04-19 | 3 | -17/+17 |
| | | |||||
* | | typo | obscuren | 2015-04-19 | 1 | -1/+1 |
| | | |||||
* | | downloader: free up peers from work when the downloader resets | obscuren | 2015-04-19 | 3 | -5/+22 |
| | | |||||
* | | downloader: throw an error if there are no peers available for download | obscuren | 2015-04-19 | 1 | -6/+16 |
| | | | | | | | | | | | | If all peers have been tried during the block download process and some hashes are unfetchable (available peers > 0 and fetching == 0) throw an error so the process can be aborted. | ||||
* | | downloader: fixed a race condition for download status | obscuren | 2015-04-19 | 1 | -1/+0 |
| | | |||||
* | | eth: adapted to new synchronous api of downloader's AddBlock | obscuren | 2015-04-19 | 3 | -4/+14 |
| | | |||||
* | | downloader: improved downloading and synchronisation | obscuren | 2015-04-19 | 4 | -110/+129 |
| | | | | | | | | | | | | * Downloader's peers keeps track of peer's previously requested hashes so that we don't have to re-request * Changed `AddBlock` to be fully synchronous | ||||
* | | downloader: make sure that hashes are only accepted from the active peer | obscuren | 2015-04-18 | 2 | -20/+54 |
| | | |||||
* | | downloader: reset the queue if a peer response with an empty hash set | obscuren | 2015-04-18 | 3 | -15/+37 |
| | | |||||
* | | eth: ignore NewBlockMsg with lower td | obscuren | 2015-04-18 | 1 | -2/+3 |
| | | |||||
* | | downloader: all handlers check for isBusy | obscuren | 2015-04-18 | 1 | -7/+7 |
| | | |||||
* | | eth: fixed proper BroadcastBlock for mined blocks | obscuren | 2015-04-18 | 1 | -1/+1 |
| | | |||||
* | | eth: listen for mined blocks and propagate using the protocol manager | obscuren | 2015-04-18 | 1 | -17/+15 |
| | | |||||
* | | eth: drop blocks that are known | obscuren | 2015-04-18 | 1 | -0/+6 |
| | | |||||
* | | eth: additional cleanups to the subprotocol, improved block propagation | obscuren | 2015-04-18 | 3 | -56/+140 |
| | | | | | | | | | | | | | | | | * 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. | ||||
* | | eth: began split up of peers and protocol manager | obscuren | 2015-04-18 | 4 | -388/+369 |
| | | |||||
* | | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-18 | 2 | -5/+117 |
|\| | | | | | | | | | Conflicts: eth/downloader/downloader.go | ||||
| * | downloader: fixed a typo | obscuren | 2015-04-17 | 1 | -1/+1 |
| | | |||||
| * | downloader: added demotion / promotion in prep. for rep. system | obscuren | 2015-04-16 | 2 | -0/+25 |
| | | |||||
| * | downloader: updated downloader and fixed issues with catch up | obscuren | 2015-04-16 | 1 | -21/+47 |
| | | | | | | | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents). | ||||
* | | eth: basic implementation of the downloader | obscuren | 2015-04-17 | 1 | -0/+25 |
| | | |||||
* | | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-16 | 3 | -32/+79 |
|\ \ | |||||
| * | | downloader: updated downloader and fixed issues with catch up | obscuren | 2015-04-16 | 1 | -22/+48 |
| |/ | | | | | | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents). | ||||
| * | eth: limit the amount of peers that will receive Block/Tx messages | obscuren | 2015-04-14 | 1 | -2/+3 |
| | | | | | | | | All transaction and block messages are now limited using `sqrt(peers)` | ||||
| * | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-13 | 2 | -8/+28 |
| |\ | |||||
| | * | Merge pull request #702 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-13 | 1 | -7/+5 |
| | |\ | | | | | | | | | blockpool stability fixes: | ||||
| | | * | blockpool stability fixes: | zelig | 2015-04-13 | 1 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - follow up locks and fix them - chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test - make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers. - add purging to bounded nodeCache (config nodeCacheSize) - use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost) - minor error in addError - reduce idleBestPeerTimeout to 1 minute - correct status counts and unskip status passing status test - glogified logging | ||||
| | * | | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 1 | -1/+23 |
| | |/ | |||||
* | / | eth: added downloader for syncing up the chain | obscuren | 2015-04-13 | 2 | -37/+72 |
|/ / | |||||
* | | downloader: added missing blocks catchup functionality | obscuren | 2015-04-13 | 4 | -133/+303 |
| | | | | | | | | | | When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents. | ||||
* | | downloader: return an error for peer.fetch and return chunk to queue | obscuren | 2015-04-12 | 2 | -3/+16 |
| | | | | | | | | | | If a peer was somehow already fetching and somehow managed to end up in the `available` pool it should return it's work. | ||||
* | | downloader: renamed chunks to queue | obscuren | 2015-04-12 | 1 | -0/+0 |
| | | |||||
* | | downloader: implemented new downloader | obscuren | 2015-04-12 | 4 | -0/+602 |
|/ | |||||
* | Disabled TD check | obscuren | 2015-04-09 | 1 | -1/+1 |
| | | | | | @zelig: Temporarily commented out TD check untill the rest of the network has been fixed. | ||||
* | Moved log to debug | obscuren | 2015-04-09 | 1 | -5/+10 |
| | |||||
* | Moved handling of nonces to the managed state | obscuren | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | Improved transaction pool | obscuren | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | | 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 | ||||
* | Sync managed accounts to the network | obscuren | 2015-04-08 | 1 | -0/+15 |
| | |||||
* | Updated logging | obscuren | 2015-04-07 | 2 | -9/+9 |
| | |||||
* | Update ethash | obscuren | 2015-04-05 | 1 | -1/+1 |
| | |||||
* | Changed log to new logging | obscuren | 2015-04-04 | 1 | -1/+1 |
| | |||||
* | corrected | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | bumped network protocol | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | eth: update cpp bootnode address | Felix Lange | 2015-04-01 | 1 | -2/+2 |
| | |||||
* | change StatusMsgData.TD back to pointer type *big.Int | zelig | 2015-04-01 | 2 | -8/+8 |
| | |||||
* | check TxMsg | zelig | 2015-04-01 | 2 | -1/+43 |
| | | | | | | - add validation on TxMsg checking for nil - add test for nil transaction - add test for zero value transaction (no extra validation needed) | ||||
* | test for invalid rlp encoding of block in BlocksMsg | zelig | 2015-04-01 | 2 | -7/+32 |
| | | | | | | | - rename Validate -> ValidateFields not to confure consensus block validation - add nil transaction and nil uncle header validation - remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0) - add test for nil header, nil transaction | ||||
* | add tests for valid blocks msg handling | zelig | 2015-04-01 | 1 | -4/+46 |
| | |||||
* | eth: SEC-29 eth wire protocol decoding invalid message data crashes client | zelig | 2015-04-01 | 2 | -22/+104 |
| | | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg | ||||
* | Protocol bump | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Update Go bootnode address | Taylor Gerring | 2015-03-31 | 1 | -1/+1 |
| | |||||
* | settable etherbase | zelig | 2015-03-27 | 1 | -4/+23 |
| | | | | | | | | - 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 | ||||
* | Merge pull request #560 from tgerring/xethcleanup | Jeffrey Wilcke | 2015-03-25 | 1 | -18/+21 |
|\ | | | | | XEth cleanup | ||||
| * | Improve protocol version reporting | Taylor Gerring | 2015-03-25 | 1 | -18/+21 |
| | | |||||
* | | Store protocol version in the block db **NOT** extra db | obscuren | 2015-03-25 | 1 | -2/+2 |
|/ | |||||
* | Updated for PV59 | obscuren | 2015-03-24 | 1 | -1/+1 |
| | | | | * Value XFER are refunded back to the sender if the execution fails | ||||
* | better block propagation | obscuren | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | Implement RPC net_version | Taylor Gerring | 2015-03-24 | 1 | -5/+7 |
| | |||||
* | Merge pull request #551 from ethersphere/frontier/eth-version-exports | Taylor Gerring | 2015-03-24 | 1 | -9/+10 |
|\ | | | | | eth: fix protocol version/network id copied from config to Ethereum field | ||||
| * | eth: fix protocol version/network id copied from config to Ethereum field | zelig | 2015-03-24 | 1 | -9/+10 |
| | | |||||
* | | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'jsonlog' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-23 | 1 | -17/+21 |
|\ | | | | | | | | | | | | | ethersphere-jsonlog Conflicts: eth/backend.go | ||||
| * | independent flag for json structured logging | zelig | 2015-03-22 | 1 | -14/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - logjson flag remove logformat flag - passed to eth Config - logsystem not a field of Ethereum - LogSystem does not need to expose GetLogLevel/SetLogLevel - message struct just implements more generic LogMsg interface - LogMsg is a fmt.Stringer with Level() - jsonMsg ([]byte) implements LogMsg - remove "raw" systems - move level logic inside StdLogSystem - logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg | ||||
* | | Get work / submit work partially implemented. | obscuren | 2015-03-22 | 1 | -3/+3 |
|/ | | | | | * WIP missing arguments for submitting new work * GetWork **done** | ||||
* | eth: enable whisper again | Felix Lange | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ethersphere-frontier/blockpool' into conversion | obscuren | 2015-03-21 | 4 | -97/+15 |
|\ | |||||
| * | iterator returned wrong value | obscuren | 2015-03-21 | 1 | -2/+1 |
| | | |||||
| * | remove eth/wallet.go (only commented out content) | zelig | 2015-03-20 | 1 | -80/+0 |
| | | |||||
| * | use own total difficulty to limit best peer | zelig | 2015-03-20 | 2 | -11/+5 |
| | | | | | | | | | | | | | | | | | | - update blockpool td by subscribing to ChainHeadEvent - if ahead of best peer, demote it - addPeer now take own td as current td - removePeer now take own td as current td - add relevant tests to peers_test - eth: backend now calls blockpool with eth.eventMux and chainManager.Td | ||||
| * | peer suspension to disallow reconnect after disconnect on fatal error for ↵ | zelig | 2015-03-20 | 1 | -4/+9 |
| | | | | | | | | set period (PeerSuspensionInterval) | ||||
* | | wip | obscuren | 2015-03-21 | 1 | -1/+1 |
|/ | |||||
* | eth, whisper: adapt for RLP encoder switch in package p2p | Felix Lange | 2015-03-19 | 3 | -167/+121 |
| | | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone. | ||||
* | Merge branch 'develop' into conversion | obscuren | 2015-03-19 | 4 | -62/+49 |
|\ | |||||
| * | fix eth tests | zelig | 2015-03-18 | 1 | -3/+3 |
| | | |||||
| * | private network support | zelig | 2015-03-18 | 3 | -40/+51 |
| | | | | | | | | | | | | - protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend | ||||
| * | eth/backend: remove spurious and incorrent PeerInfo() | zelig | 2015-03-18 | 1 | -5/+4 |
| | | |||||
| * | eth: remove disused peer_util.go | zelig | 2015-03-18 | 1 | -23/+0 |
| | | |||||
* | | conversions. -compilable- | obscuren | 2015-03-18 | 2 | -35/+36 |
|/ | |||||
* | Merge branch 'frontier/js' into frontier/nodeadmin.js | zelig | 2015-03-16 | 4 | -25/+25 |
|\ | |||||
| * | Moved ethutil => common | obscuren | 2015-03-16 | 4 | -25/+25 |
| | | |||||
* | | eth: | zelig | 2015-03-15 | 1 | -3/+65 |
|/ | | | | | | - 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() | ||||
* | merge | obscuren | 2015-03-15 | 1 | -6/+21 |
|\ | |||||
| * | eth: add ResetWithGenesisBlock | Felix Lange | 2015-03-14 | 1 | -4/+11 |
| | | | | | | | | This depends on a change in ethash which exposes UpdateCache. | ||||
| * | eth: add hook for database creation | Felix Lange | 2015-03-14 | 1 | -2/+10 |
| | | |||||
* | | Merge branch 'rpcfrontier' into develop | obscuren | 2015-03-13 | 1 | -0/+3 |
|\ \ | |||||
| * | | Add web3_clientVersion | Taylor Gerring | 2015-03-13 | 1 | -0/+3 |
| | | | |||||
* | | | Bump protocol version 58 | obscuren | 2015-03-13 | 1 | -1/+1 |
|/ / | |||||
* / | Add additional extra database for non-protocol related data | obscuren | 2015-03-12 | 1 | -7/+9 |
|/ | | | | * Add transaction to extra database after a successful block process | ||||
* | miner: provide coinbase when starting the miner | Felix Lange | 2015-03-12 | 1 | -8/+15 |
| | | | | | | | | | | 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. | ||||
* | Merge branch origin/develop into accounts-integration | Felix Lange | 2015-03-11 | 1 | -0/+11 |
|\ | | | | | | | | | | | | | Conflicts: cmd/blocktest/main.go cmd/mist/debugger.go cmd/utils/cmd.go | ||||
| * | Add empty total difficulty to test blocks and clean up stopping the node | Gustav Simonsson | 2015-03-10 | 1 | -0/+11 |
| | | |||||
* | | eth: return account errors directly | Felix Lange | 2015-03-10 | 1 | -1/+1 |
| | | |||||
* | | eth: fix tests | Felix Lange | 2015-03-10 | 1 | -7/+7 |
| | | |||||
* | | Merge ethereum/poc-9 into accounts-integration | Felix Lange | 2015-03-10 | 3 | -11/+23 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go | ||||
| * | Fix logger import path | Taylor Gerring | 2015-03-08 | 1 | -1/+1 |
| | | |||||
| * | Fixed tests | obscuren | 2015-03-07 | 1 | -0/+1 |
| | | |||||
| * | Separated block db from state db. Partial fix for #416 | obscuren | 2015-03-07 | 1 | -10/+18 |
| | | |||||
| * | Debug option for VM & command line flag | obscuren | 2015-03-06 | 1 | -0/+4 |
| | | |||||
| * | Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9 | obscuren | 2015-03-06 | 1 | -2/+5 |
| |\ | |||||
| * | | debug comments & pow handling | obscuren | 2015-03-06 | 1 | -2/+1 |
| | | | |||||
* | | | eth: delete unused RpcServer field | Felix Lange | 2015-03-10 | 1 | -7/+0 |
| | | | |||||
* | | | accounts: AccountManager -> Manager | Felix Lange | 2015-03-08 | 1 | -17/+17 |
| | | | |||||
* | | | accounts, core, eth, xeth: use account manager for everything | Felix Lange | 2015-03-07 | 1 | -33/+14 |
| | | | | | | | | | | | | | | | The account manager is now responsible for picking the default account and the coinbase. | ||||
* | | | Integrate eth_accounts and eth_transact to use new account manager | Gustav Simonsson | 2015-03-06 | 1 | -17/+24 |
| |/ |/| | | | | | | | | | | | * 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 | ||||
* | | Merge pull request #433 from fjl/newcli | Felix Lange | 2015-03-06 | 1 | -2/+5 |
|\ \ | |/ |/| | Improved CLI | ||||
| * | ethutil: remove Config variable | Felix Lange | 2015-03-06 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Merge branch 'p2p-handshake-2' of https://github.com/fjl/go-ethereum into ↵ | obscuren | 2015-03-06 | 2 | -23/+22 |
|\ \ | |/ |/| | | | fjl-p2p-handshake-2 | ||||
| * | eth, p2p: delete p2p.Blacklist | Felix Lange | 2015-03-04 | 1 | -8/+1 |
| | | | | | | | | | | It is unused and untested right now. We can bring it back later if required. | ||||
| * | eth, whisper: fix msg.Payload reads | Felix Lange | 2015-03-04 | 1 | -15/+21 |
| | | |||||
* | | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 2 | -3/+2 |
|/ | |||||
* | Clean up REPL | obscuren | 2015-03-04 | 1 | -1/+2 |
| | |||||
* | Merge branch 'develop' into poc-9 | obscuren | 2015-03-04 | 1 | -5/+2 |
|\ | | | | | | | | | Conflicts: cmd/utils/cmd.go | ||||
| * | Merge pull request #411 from ethersphere/readme | Jeffrey Wilcke | 2015-03-04 | 1 | -1/+1 |
| |\ | | | | | | | [WIP] Update Readme | ||||
| | * | db name database -> blockchain in backend error message | zelig | 2015-03-03 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #409 from tgerring/jsonlogs | Jeffrey Wilcke | 2015-03-04 | 5 | -19/+26 |
| |\ \ | | | | | | | | | Updated JSON log events | ||||
| * | | | Remove Websockets RPC transport | Taylor Gerring | 2015-03-01 | 1 | -4/+1 |
| | |/ | |/| | |||||
* | | | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-04 | 3 | -13/+28 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ethersphere-jsonlogs Conflicts: eth/block_pool.go eth/block_pool_test.go eth/protocol_test.go miner/worker.go | ||||
| * | | | add eth.chain.received.new_block log to eth protocol | zelig | 2015-03-03 | 1 | -1/+9 |
| | |/ | |/| | |||||
| * | | Fix logger import in tests | Taylor Gerring | 2015-03-02 | 2 | -5/+5 |
| | | | |||||
| * | | Add event eth.tx.received | Taylor Gerring | 2015-03-02 | 1 | -0/+7 |
| | | | |||||
| * | | Don't import logger as ethlogger | Taylor Gerring | 2015-03-02 | 2 | -14/+14 |
| |/ | |||||
* | | fixed pow stuff | obscuren | 2015-03-04 | 2 | -3/+6 |
| | | |||||
* | | Merge branch 'ethersphere-blockpool2' into poc-9 | obscuren | 2015-03-01 | 27 | -2570/+61 |
|\ \ | |/ |/| | |||||
| * | integrate blockpool into eth | zelig | 2015-02-25 | 27 | -2570/+61 |
| | | | | | | | | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go | ||||
* | | Report proper database directory. Closes #397 | obscuren | 2015-02-27 | 1 | -1/+2 |
|/ | |||||
* | Merge pull request #359 from fjl/p2p-identity | Jeffrey Wilcke | 2015-02-22 | 1 | -6/+30 |
|\ | | | | | Persistent Node Key | ||||
| * | eth: persist node key between sessions (#304) | Felix Lange | 2015-02-20 | 1 | -6/+27 |
| | | |||||
| * | eth: add poc-8.ethdev.com as second default bootstrap node | Felix Lange | 2015-02-20 | 1 | -0/+3 |
| | | |||||
* | | Minor updates for release | obscuren | 2015-02-21 | 1 | -1/+1 |
|/ | |||||
* | dirty tracking for state objects fixed | obscuren | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | Merge pull request #345 from maran/feature/minerthreads | Jeffrey Wilcke | 2015-02-20 | 1 | -1/+3 |
|\ | | | | | Implement command line argument to set the amount miner threads | ||||
| * | Implement command line argument to set the amount of agents created by the miner | Maran | 2015-02-19 | 1 | -1/+3 |
| | | | | | | | | Defaults to the amount of cores available on the CPU | ||||
* | | Merge pull request #339 from tgerring/jsonlog | Taylor Gerring | 2015-02-19 | 1 | -2/+0 |
|\ \ | |/ |/| | JSON log updates | ||||
| * | Update JSON Log types | Taylor Gerring | 2015-02-18 | 1 | -2/+0 |
| | | |||||
* | | Disabled ability to disable whisper. Closes #334 | obscuren | 2015-02-18 | 1 | -1/+5 |
|/ | |||||
* | added bootnode back in | obscuren | 2015-02-18 | 1 | -2/+1 |
| | |||||
* | Changed to ChainEvent and fixed a nil pointer in transact | obscuren | 2015-02-18 | 1 | -2/+2 |
| | |||||
* | Filter and mutex locks added | obscuren | 2015-02-17 | 1 | -0/+1 |
| | |||||
* | "centralised" mining to backend. Closes #323 | obscuren | 2015-02-17 | 1 | -63/+19 |
| | |||||
* | eth: add default bootnode | Felix Lange | 2015-02-14 | 1 | -2/+11 |
| | |||||
* | merge | obscuren | 2015-02-13 | 1 | -11/+10 |
| | |||||
* | wip | obscuren | 2015-02-13 | 3 | -81/+75 |
|\ | |||||
| * | cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat | Felix Lange | 2015-02-13 | 1 | -9/+5 |
| | | | | | | | | This deletes the old NAT implementation. | ||||
| * | eth: remove unused Ethereum sync fields | Felix Lange | 2015-02-10 | 1 | -4/+0 |
| | | |||||
| * | cmd/mist, cmd/ethereum: add CLI arguments for node key | Felix Lange | 2015-02-10 | 1 | -3/+10 |
| | | |||||
| * | eth: don't warn if no BootNodes are specified | Felix Lange | 2015-02-09 | 1 | -0/+3 |
| | | |||||
| * | cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes | Felix Lange | 2015-02-07 | 1 | -9/+28 |
| | | |||||
| * | cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions | Felix Lange | 2015-02-07 | 1 | -6/+4 |
| | | |||||
| * | cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API | Felix Lange | 2015-02-06 | 3 | -63/+37 |
| | | |||||
* | | merge | obscuren | 2015-02-13 | 5 | -15/+33 |
|\ \ | |||||
| * | | Temporarily skip broken TestVerifyPoW | Taylor Gerring | 2015-02-11 | 1 | -0/+1 |
| |/ | |||||
| * | Merge pull request #287 from ethereum/system-testing | Jeffrey Wilcke | 2015-02-06 | 1 | -8/+4 |
| |\ | | | | | | | Seednode CLI param updates | ||||
| | * | Move hardcoded seed node address to app flag | Taylor Gerring | 2015-02-03 | 1 | -8/+4 |
| | | | | | | | | | | | | Replaces functionality `-seed=true` with `-seed="ip:port"` | ||||
| * | | fixed test | obscuren | 2015-02-05 | 1 | -0/+2 |
| | | | |||||
| * | | Propagate known transactions to new peers on connect | obscuren | 2015-02-05 | 1 | -0/+12 |
| | | | |||||
| * | | Docs & old code removed | obscuren | 2015-02-03 | 1 | -2/+2 |
| | | | |||||
| * | | Added (disabled) Jit validation | obscuren | 2015-02-01 | 1 | -2/+1 |
| |/ | |||||
| * | Merge branch 'develop' into qt5.4 | obscuren | 2015-01-29 | 2 | -2/+2 |
| |\ | |||||
| | * | upped pv | obscuren | 2015-01-29 | 2 | -2/+2 |
| | | | |||||
| * | | moving to a better xeth | obscuren | 2015-01-29 | 1 | -0/+4 |
| | | | |||||
| * | | Update CLI to use new Websocket RPC | Taylor Gerring | 2015-01-28 | 1 | -0/+4 |
| | | | | | | | | | | | | Use “wsport” flag to change default port | ||||
| * | | Move HTTP transport to sub package of RPC | Taylor Gerring | 2015-01-28 | 1 | -1/+1 |
| |/ | |||||
* | | Move standard fields to LogEvent | Taylor Gerring | 2015-02-12 | 1 | -1/+1 |
| | | |||||
* | | Move event names within each object | Taylor Gerring | 2015-02-11 | 1 | -1/+1 |
| | | |||||
* | | Use strongly-typed objects | Taylor Gerring | 2015-02-11 | 1 | -8/+7 |
| | | |||||
* | | Rename jsonlogger method | Taylor Gerring | 2015-01-22 | 1 | -1/+1 |
| | | |||||
* | | Add JsonLogger type | Taylor Gerring | 2015-01-22 | 1 | -0/+9 |
| | | |||||
* | | Add LogFormat flag | Taylor Gerring | 2015-01-22 | 1 | -1/+2 |
|/ | |||||
* | Print error instead of returning for seed node err | obscuren | 2015-01-19 | 1 | -1/+1 |
| | | | | | Returning an error would indicate a complete failure initialising the Ethereum backend. Instead we should print the message and continue. | ||||
* | Limit hashes. Closes #249 | obscuren | 2015-01-09 | 1 | -0/+7 |
| | |||||
* | Merge remote-tracking branch 'upstream/develop' into develop | zelig | 2015-01-09 | 1 | -7/+3 |
|\ | |||||
| * | just enable by default | obscuren | 2015-01-09 | 1 | -7/+3 |
| | | |||||
* | | major blockpool change | zelig | 2015-01-09 | 1 | -117/+350 |
| | | | | | | | | | | | | | | | | | | | | | | | | - the spec says response to getBlockHashes(from, max) should return all hashes starting from PARENT of from. This required major changes and results in much hackier code. - Introduced a first round block request after peer introduces with current head, so that hashes can be linked to the head - peerInfo records currentBlockHash, currentBlock, parentHash and headSection - AddBlockHashes checks header section and creates the top node from the peerInfo of the best peer - AddBlock checks peerInfo and updates the block there rather than in a node - request further hashes once a section is created but then no more until the root block is found (so that we know when to stop asking) - in processSection, when root node is checked and receives a block, we need to check if the section has a parent known to blockchain or blockPool - when peers are switched, new peer launches a new requestHeadSection loop or activates its actual head section, i.e., the section for it currentBlockHash - all tests pass | ||||
* | | add ErrInsufficientChainInfo error | zelig | 2015-01-09 | 1 | -0/+2 |
| | | |||||
* | | adapt unit tests to spec | zelig | 2015-01-09 | 1 | -53/+139 |
| | | | | | | | | | | | | | | - AddBlockHashes ignores the first hash (just used to match getBlockHashes query) sends the rest as blocksMsg - new test TestPeerWithKnownParentBlock - new test TestChainConnectingWithParentHash - adapt all other tests to the new scheme | ||||
* | | no need to call AddBlockHashes when receiving new block | zelig | 2015-01-09 | 1 | -10/+0 |
| | | |||||
* | | minor changes in integration tests | zelig | 2015-01-09 | 3 | -8/+8 |
|/ | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -4/+4 |
| | |||||
* | Adjusted difficulty and skip get tx messages | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Don't auto push jeff ... | obscuren | 2015-01-06 | 1 | -0/+1 |
| | |||||
* | Fixed port num | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Changed to poc-8 & removed GetTxs | obscuren | 2015-01-06 | 2 | -2/+1 |
| | |||||
* | eth, p2p: remove EncodeMsg from p2p.MsgWriter | Felix Lange | 2015-01-06 | 2 | -8/+4 |
| | | | | | | | | | | | | ...and make it a top-level function instead. The original idea behind having EncodeMsg in the interface was that implementations might be able to encode RLP data to their underlying writer directly instead of buffering the encoded data. The encoder will buffer anyway, so that doesn't matter anymore. Given the recent problems with EncodeMsg (copy-pasted implementation bug) I'd rather implement once, correctly. | ||||
* | unclean shutdown for now | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Merge | obscuren | 2015-01-06 | 27 | -1019/+2015 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 2 | -9/+89 |
| | |||||
* | Cleaned up some of that util | obscuren | 2015-01-04 | 1 | -16/+74 |
| | |||||
* | Fixed bug where logging could crash client during tx adding | obscuren | 2015-01-03 | 1 | -2/+4 |
| | |||||
* | Updated protocol version | obscuren | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | Removed the need of having a backend for the tx pool | obscuren | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 2 | -2/+2 |
| | | | | * Includes new rlp decoder | ||||
* | Merge fixes | obscuren | 2014-12-18 | 1 | -2/+2 |
| | |||||
* | Added whisper handler | obscuren | 2014-12-16 | 1 | -0/+4 |
| | |||||
* | Removed goroutine from "Run" | obscuren | 2014-12-16 | 1 | -8/+8 |
| | |||||
* | made mist in a compilable, workable state using the new refactored packages | obscuren | 2014-12-15 | 2 | -0/+27 |
| | |||||
* | Moved peer helper metheds | obscuren | 2014-12-15 | 1 | -17/+0 |
| | |||||
* | removed filter manager from base | obscuren | 2014-12-15 | 2 | -36/+22 |
| | |||||
* | Added old filter. Needs some refactoring | obscuren | 2014-12-15 | 1 | -57/+6 |
| | |||||
* | WIP | obscuren | 2014-12-15 | 1 | -3/+5 |
| | |||||
* | added protocol handler | obscuren | 2014-12-15 | 1 | -1/+1 |
| | |||||
* | added whisper | obscuren | 2014-12-15 | 1 | -18/+19 |
| | |||||
* | WIP | obscuren | 2014-12-15 | 1 | -43/+10 |
| | |||||
* | adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW func | zelig | 2014-12-15 | 2 | -12/+3 |
| | |||||
* | blockmanager start/stop obsolete | zelig | 2014-12-15 | 1 | -2/+0 |
| | |||||
* | blockpool rewritten , tests broken FIXME | zelig | 2014-12-15 | 2 | -292/+8 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -7/+83 |
| | | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects) | ||||
* | initial commit for eth blockpool + test | zelig | 2014-12-15 | 1 | -2/+3 |
| | |||||
* | eth protocol changes | zelig | 2014-12-15 | 2 | -11/+132 |
| | | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary) | ||||
* | initial commit for eth-p2p integration | zelig | 2014-12-15 | 2 | -1/+165 |
| | |||||
* | blockpool rewritten , tests broken FIXME | zelig | 2014-12-15 | 1 | -363/+863 |
| | |||||
* | add protocol error types specific to blockpool | zelig | 2014-12-15 | 1 | -0/+4 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -50/+52 |
| | | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects) | ||||
* | initial commit for new backend (eth.Ethereum) | zelig | 2014-12-15 | 1 | -0/+357 |
| | |||||
* | initial commit for eth blockpool + test | zelig | 2014-12-15 | 2 | -0/+712 |
| | |||||
* | eth protocol changes | zelig | 2014-12-15 | 2 | -70/+122 |
| | | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary) | ||||
* | no logging in error (to be refactored into p2p) | zelig | 2014-12-15 | 1 | -6/+0 |
| | |||||
* | initial commit for eth-p2p integration | zelig | 2014-12-15 | 3 | -0/+500 |