Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | downloader: reset hashTtl on receive | obscuren | 2015-04-19 | 1 | -0/+2 |
| | |||||
* | Merge branch 'downloader-proto' into develop | obscuren | 2015-04-19 | 13 | -453/+790 |
|\ | |||||
| * | cleanup | obscuren | 2015-04-19 | 1 | -3/+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 |
| | | |||||
| * | geth: added identity flag which allows to set a custom node name | obscuren | 2015-04-19 | 2 | -0/+10 |
| | | |||||
| * | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-19 | 1 | -1/+7 |
| |\ | |/ |/| | |||||
* | | core: merge using equal block numbers rather than the current block | obscuren | 2015-04-19 | 1 | -1/+7 |
| | | |||||
| * | miner: reverted back to old event | obscuren | 2015-04-19 | 1 | -1/+1 |
| | | |||||
| * | typo | obscuren | 2015-04-19 | 1 | -1/+1 |
| | | |||||
| * | miner: changed listener | 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 |
| | | |||||
| * | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-18 | 22 | -366/+916 |
| |\ | |/ |/| | |||||
* | | updated ethash | obscuren | 2015-04-18 | 2 | -4/+4 |
| | | |||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-18 | 19 | -362/+910 |
|\ \ | |||||
| * \ | Merge pull request #736 from frozeman/develop | Felix Lange | 2015-04-18 | 1 | -1/+1 |
| |\ \ | | | | | | | | | add extra space to miner icon | ||||
| | * | | add extra space to miner icon | Fabian Vogelsteller | 2015-04-17 | 1 | -1/+1 |
| |/ / | |||||
| * | | Merge pull request #718 from karalabe/whisper-cleanup | Felix Lange | 2015-04-17 | 16 | -356/+899 |
| |\ \ | | | | | | | | | Whisper cleanup, part 2 | ||||
| | * | | whisper: cleanup lefover scoping | Péter Szilágyi | 2015-04-17 | 3 | -4/+4 |
| | | | | |||||
| | * | | whisper: hide some internal types | Péter Szilágyi | 2015-04-17 | 1 | -3/+3 |
| | | | | |||||
| | * | | whisper: don't issue signature warning if none present | Péter Szilágyi | 2015-04-16 | 1 | -0/+5 |
| | | | | |||||
| | * | | whisper: track active peers, add peer cache expiry test | Péter Szilágyi | 2015-04-16 | 2 | -22/+86 |
| | | | | |||||
| | * | | whisper: remove dead code, rename a few constants | Péter Szilágyi | 2015-04-16 | 6 | -59/+7 |
| | | | | |||||
| | * | | whisper: use async handshakes to handle blocking peers | Péter Szilágyi | 2015-04-15 | 3 | -47/+12 |
| | | | | |||||
| | * | | whisper: remove some unneeded testing complexity | Péter Szilágyi | 2015-04-15 | 3 | -32/+5 |
| | | | | |||||
| | * | | whisper: global message expiration tests, polishes | Péter Szilágyi | 2015-04-15 | 3 | -16/+49 |
| | | | | |||||
| | * | | whisper: mock tests to use simulated peers | Péter Szilágyi | 2015-04-15 | 2 | -71/+55 |
| | | | | |||||
| | * | | whisper: add basic tests for the whiper peers | Péter Szilágyi | 2015-04-14 | 2 | -0/+221 |
| | | | | |||||
| | * | | whisper: shorten constants to TTL and PoW | Péter Szilágyi | 2015-04-14 | 5 | -15/+15 |
| | | | | |||||
| | * | | whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakages | Péter Szilágyi | 2015-04-14 | 3 | -20/+19 |
| | | | | |||||
| | * | | whisper: add known message expiration to peers, cleanup | Péter Szilágyi | 2015-04-14 | 2 | -95/+145 |
| | | | | |||||
| | * | | whisper: general cleanups, documentation | Péter Szilágyi | 2015-04-14 | 4 | -129/+146 |
| | | | | |||||
| | * | | whisper: fix anonymous broadcast drop, add broadcast tests | Péter Szilágyi | 2015-04-14 | 3 | -24/+99 |
| | | | | |||||
| | * | | whisper: add utility functions for creating topics | Péter Szilágyi | 2015-04-14 | 3 | -8/+58 |
| | | | | |||||
| | * | | whisper: push work in progress for bug report | Péter Szilágyi | 2015-04-13 | 2 | -6/+19 |
| | | | | |||||
| | * | | whisper: start adding integration tests | Péter Szilágyi | 2015-04-13 | 1 | -18/+118 |
| | | | | |||||
| | * | | whisper: clean up and integrate topics | Péter Szilágyi | 2015-04-13 | 7 | -43/+85 |
| | | | | |||||
| | * | | whisper: separate out magic number from the code | Péter Szilágyi | 2015-04-13 | 4 | -25/+29 |
| | | | | |||||
| * | | | Merge pull request #733 from fjl/p2p-dial-timer | Jeffrey Wilcke | 2015-04-17 | 1 | -3/+8 |
| |\ \ \ | | | | | | | | | | | p2p: fix the dial timer | ||||
| | * | | | p2p: fix the dial timer | Felix Lange | 2015-04-17 | 1 | -3/+8 |
| |/ / / | | | | | | | | | | | | | | | | | The dial timer was not reset properly when the peer count reached MaxPeers. | ||||
| * | | | Merge pull request #728 from tgerring/issue727 | Jeffrey Wilcke | 2015-04-17 | 1 | -2/+2 |
| |\ \ \ | | | | | | | | | | | Fix RPC Call output when empty | ||||
| | * | | | Fix call output when empty | Taylor Gerring | 2015-04-16 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | rpc: set from. Closes #742 | obscuren | 2015-04-18 | 1 | -0/+2 |
|/ / / / | |||||
| | | * | 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 |
| | | | | |||||
| | | * | core: improved uncle validation error message | obscuren | 2015-04-18 | 1 | -3/+2 |
| | | | | |||||
| | | * | 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 |
| | | | | |||||
| | | * | geth: bump version number | obscuren | 2015-04-18 | 1 | -2/+3 |
| | | | | |||||
| | | * | 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 | 43 | -253/+4347 |
| | | |\ | |_|_|/ |/| | | | | | | | | | | | Conflicts: eth/downloader/downloader.go | ||||
* | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-17 | 41 | -248/+4230 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #730 from Gustav-Simonsson/update_transaction_tests | Jeffrey Wilcke | 2015-04-17 | 41 | -248/+4230 |
| |\ \ \ \ | | | | | | | | | | | | | Update transaction tests | ||||
| | * | | | | Fixes for TransactionTests | Gustav Simonsson | 2015-04-16 | 3 | -41/+53 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Include tests which now has consistent HEX encodings * Comment out two failing tests: " "TransactionWithHihghNonce" due to wrong nonce size "TransactionWithSvalueHigh" due to wrong ECDSA s range * Cleanup conversion functions and fix expected encodings for tests validation fields | ||||
| | * | | | | Update JSON tests | Gustav Simonsson | 2015-04-16 | 38 | -207/+4177 |
| |/ / / / | |||||
* / / / / | 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 | 121 | -1166509/+19667 |
| | | |\ | |||||
| | | | * | 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). | ||||
* | | | | core: changed split detection to also account for number less than | obscuren | 2015-04-16 | 1 | -1/+2 |
|/ / / | |||||
* | | | miner: start a newly registered agent if the miner is running. Closes #681 | obscuren | 2015-04-15 | 2 | -3/+9 |
| | | | |||||
* | | | common: Added debug reporter | obscuren | 2015-04-15 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | NOTE: For known, non-consensus, hard to reproduce bugs consider the following method `common.Report("extra", stuff, "you need logged")` will give you a stack trace and a friendly request to submit it as an issue on our issue tracker. | ||||
* | | | miner: moved bad uncle logging to ridiculous log level. Closes #720 | obscuren | 2015-04-15 | 2 | -2/+7 |
| | | | |||||
* | | | core: fixed issue for logs filter. Closes #629 | obscuren | 2015-04-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Log filter `Address` field was cast to a Hash which causes it to always fail. | ||||
* | | | core/types: Changed bloom lookup to take anything bytes backed | obscuren | 2015-04-15 | 1 | -2/+6 |
| | | | |||||
* | | | rpc: changed logging to use glog | obscuren | 2015-04-15 | 1 | -2/+3 |
| | | | |||||
* | | | geth: fixed failing cli tests | obscuren | 2015-04-15 | 1 | -2/+2 |
| | | | |||||
* | | | rpc: change eth_protocolVersion to eth_version. Closes #714 | obscuren | 2015-04-15 | 1 | -1/+1 |
| | | | |||||
* | | | geth: added print block to admin | obscuren | 2015-04-14 | 1 | -1/+32 |
| | | | |||||
* | | | 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)` | ||||
* | | | state: fixed mutex lockes | obscuren | 2015-04-14 | 1 | -2/+14 |
| | | | |||||
* | | | p2p: added limiter function to limit package broadcasting | obscuren | 2015-04-14 | 1 | -0/+13 |
| | | | |||||
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-14 | 6 | -41/+14 |
|\ \ \ | |||||
| * \ \ | Merge pull request #704 from fjl/p2p-concurrency-fixups | Jeffrey Wilcke | 2015-04-14 | 6 | -41/+14 |
| |\ \ \ | | | | | | | | | | | p2p: more concurrency fixups | ||||
| | * | | | p2p/discover: improve timer handling for reply timeouts | Felix Lange | 2015-04-14 | 1 | -2/+3 |
| | | | | | |||||
| | * | | | p2p/discover: remove unused field Node.activeStamp | Felix Lange | 2015-04-13 | 2 | -16/+0 |
| | | | | | |||||
| | * | | | p2p: fix unsynchronized map access during Server shutdown | Felix Lange | 2015-04-13 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | removePeer can be called even after listenLoop and dialLoop have returned. | ||||
| | * | | | p2p: fix yet another disconnect hang | Felix Lange | 2015-04-13 | 1 | -22/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Peer.readLoop will only terminate if the connection is closed. Fix the hang by closing the connection before waiting for readLoop to terminate. This also removes the british disconnect procedure where we're waiting for the remote end to close the connection. I have confirmed with @subtly that cpp-ethereum doesn't adhere to it either. | ||||
| | * | | | p2p: fix goroutine leak when handshake read fails | Felix Lange | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | This regression was introduced in b3c058a9e4e9. | ||||
* | | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-14 | 1 | -2/+2 |
|\| | | | | |||||
| * | | | | Merge pull request #709 from ligi/patch-1 | Felix Lange | 2015-04-14 | 1 | -2/+2 |
| |\ \ \ \ | | | | | | | | | | | | | Fix links | ||||
| | * | | | | Fix links | ligi | 2015-04-14 | 1 | -2/+2 |
| |/ / / / | | | | | | | | | | | Where 404s before - now linking to the path that they stay valid a little longer ;-) | ||||
* | | | | | core: during split properly insert parent blocks | obscuren | 2015-04-14 | 1 | -1/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During a split parent and grand parent were included in the database but not in the canonical chain (numbered chain). Added a `merge` function which finds the common ancestor of the chains and reinserts the missing blocks. | ||||
* | | | | | miner: don't break loop when encountering gas limit reach err | obscuren | 2015-04-14 | 1 | -8/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Processing transactions should continue when a transaction throws a gas limit reached error. Other transactions may actually succeed. | ||||
* | | | | | state: fixed nonce issue in managed state | obscuren | 2015-04-14 | 1 | -2/+2 |
|/ / / / | | | | | | | | | | | | | Rlock => Lock when creating a new nonce | ||||
* | | | | rpc: removed hash from LogRes. Closes #701 | obscuren | 2015-04-14 | 1 | -1/+0 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-13 | 101 | -1166413/+19449 |
|\ \ \ \ | |||||
| * \ \ \ | Merge pull request #702 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-13 | 13 | -366/+370 |
| |\ \ \ \ | | | | | | | | | | | | | blockpool stability fixes: | ||||
| | * | | | | blockpool stability fixes: | zelig | 2015-04-13 | 13 | -366/+370 |
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | ||||
| * | | | | Merge pull request #700 from bas-vk/issue_650 | Jeffrey Wilcke | 2015-04-13 | 6 | -29/+188 |
| |\ \ \ \ | | | | | | | | | | | | | Added blockchain DB versioning support, closes #650 | ||||
| | * | | | | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 6 | -29/+188 |
| | | | | | | |||||
| * | | | | | Merge pull request #689 from Gustav-Simonsson/add_transaction_tests | Jeffrey Wilcke | 2015-04-13 | 74 | -1165839/+18528 |
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | Add transaction tests | ||||
| | * | | | | Enable more tx tests by expecting most common encoding of values | Gustav Simonsson | 2015-04-10 | 2 | -15/+8 |
| | | | | | | |||||
| | * | | | | Remove unneeded map assignments for working tx RLP tests | Gustav Simonsson | 2015-04-10 | 1 | -7/+0 |
| | | | | | | |||||
| | * | | | | Add TransactionTests wrapped as Go tests | Gustav Simonsson | 2015-04-10 | 3 | -3/+211 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add initial go wrapping for TransactionTests with some tests disabled in lieu of consistent HEX encodings and a few other pending bugfixes * TODO: Consider better way of perhaps modelling each test in the JSON files as a single Go test, instead of one Go test per JSON file | ||||
| | * | | | | Update JSON test files | Gustav Simonsson | 2015-04-10 | 71 | -1165836/+18331 |
| | | | | | | |||||
| * | | | | | Merge pull request #690 from karalabe/whisper-cleanup | Felix Lange | 2015-04-13 | 9 | -179/+363 |
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | Whisper cleanup, part 1 | ||||
| | * | | | | whisper: fix comment entity capitalizations | Péter Szilágyi | 2015-04-12 | 2 | -7/+7 |
| | | | | | | |||||
| | * | | | | xeth/whisper, ui/qt/qwhisper: fix API update breaks. | Péter Szilágyi | 2015-04-10 | 2 | -4/+4 |
| | | | | | | |||||
| | * | | | | whisper: polish the Envelope a bit, prep for tests. | Péter Szilágyi | 2015-04-10 | 6 | -65/+75 |
| | | | | | | |||||
| | * | | | | whisper: polish the messages, fix some bugs, tests | Péter Szilágyi | 2015-04-10 | 6 | -88/+209 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bugs fixed: - Use randomly generated flags as the spec required. - During envelope opening check the first bit only for signature. | ||||
| | * | | | | whisper: rename test file according to Go style | Péter Szilágyi | 2015-04-10 | 1 | -0/+0 |
| | | | | | | |||||
| | * | | | | whisper: make the test app runnable & do something inside | Péter Szilágyi | 2015-04-10 | 1 | -12/+65 |
| | |/ / / | |||||
| | | | * | 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 |
|/ / / | |||||
* | | | Merge pull request #695 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-11 | 1 | -7/+15 |
|\ \ \ | | | | | | | | | bugfixes for headsection deadlocks | ||||
| * | | | bugfixes for headsection deadlocks | zelig | 2015-04-11 | 1 | -7/+15 |
|/ / / | | | | | | | | | | | | | - switchC initialised as closed - move select in setChainInfoFromBlock out of peer lock | ||||
* | | | Updated glog | obscuren | 2015-04-11 | 1 | -11/+15 |
| | | | |||||
* | | | Set input to nil for create | obscuren | 2015-04-11 | 1 | -1/+4 |
| | | | |||||
* | | | Bump | obscuren | 2015-04-11 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-11 | 4 | -139/+148 |
|\ \ \ | |||||
| * \ \ | Merge pull request #692 from ethersphere/frontier/blockpool | Jeffrey Wilcke | 2015-04-11 | 4 | -139/+148 |
| |\ \ \ | | | | | | | | | | | td update from node + bugfix | ||||
| | * | | | td update from node | zelig | 2015-04-10 | 4 | -139/+148 |
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | - reorg and simplify AddBlock - introduce nodeCache - TestPeerPromotionByTdOnBlock unskipped and passes - move switchC/idleC channel creation around: solves deadlock (now respects the contract with section process: either can activate or complete at any one time) | ||||
* | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-10 | 8 | -183/+354 |
|\| | | | |||||
| * | | | Merge pull request #691 from fjl/discovery-fixes | Jeffrey Wilcke | 2015-04-10 | 8 | -183/+354 |
| |\ \ \ | | |/ / | |/| | | p2p: a bunch of fixes | ||||
| | * | | p2p: limit number of lingering inbound pre-handshake connections | Felix Lange | 2015-04-10 | 1 | -1/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is supposed to apply some back pressure so Server is not accepting more connections than it can actually handle. The current limit is 50. This doesn't really need to be configurable, but we'll see how it behaves in our test nodes and adjust accordingly. | ||||
| | * | | p2p: use RLock instead of Lock for pre-dial checks | Felix Lange | 2015-04-10 | 1 | -10/+12 |
| | | | | |||||
| | * | | p2p: improve disconnect signaling at handshake time | Felix Lange | 2015-04-10 | 4 | -35/+111 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of this commit, p2p will disconnect nodes directly after the encryption handshake if too many peer connections are active. Errors in the protocol handshake packet are now handled more politely by sending a disconnect packet before closing the connection. | ||||
| | * | | p2p: don't mess with the socket deadline in Peer.readLoop | Felix Lange | 2015-04-10 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | netWrapper already sets a read deadline in ReadMsg. | ||||
| | * | | p2p: properly decrement peer wait group counter for setup errors | Felix Lange | 2015-04-10 | 1 | -0/+11 |
| | | | | |||||
| | * | | p2p: fix Peer shutdown deadlocks | Felix Lange | 2015-04-10 | 4 | -78/+139 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were multiple synchronization issues in the disconnect handling, all caused by the odd special-casing of Peer.readLoop errors. Remove the special handling of read errors and make readLoop part of the Peer WaitGroup. Thanks to @Gustav-Simonsson for pointing at arrows in a diagram and playing rubber-duck. | ||||
| | * | | p2p: improve peer selection logic | Felix Lange | 2015-04-10 | 1 | -56/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a new (temporary) peer selection strategy based on random lookups. While we're here, also implement the TODOs in dialLoop. | ||||
| | * | | p2p/discover: don't log packet content | Felix Lange | 2015-04-10 | 1 | -3/+4 |
| | | | | |||||
| | * | | p2p/discover: make packet processing less concurrent | Felix Lange | 2015-04-10 | 1 | -6/+4 |
| |/ / | |||||
* / / | Added pprof | obscuren | 2015-04-10 | 1 | -0/+8 |
|/ / | |||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-10 | 3 | -13/+13 |
|\ \ | |||||
| * \ | Merge pull request #687 from karalabe/develop | Jeffrey Wilcke | 2015-04-10 | 2 | -9/+10 |
| |\ \ | | |/ | |/| | xeth: fix #640, panic converting nil recipient to hex. | ||||
| | * | cmd/mist: fix another nil recipient address panic. | Péter Szilágyi | 2015-04-10 | 1 | -7/+5 |
| | | | |||||
| | * | cmd/mist: fix #640, panic converting nil recipient to hex. | Péter Szilágyi | 2015-04-10 | 1 | -2/+5 |
| |/ | | | | | | | | | | | Fetching the recipient address from a transaction was changed to return nil instead of a zero-address, but this code path was not updated, so whenever a contract was created, a nil panic occured. | ||||
| * | Merge pull request #682 from bas-vk/issue_567 | Jeffrey Wilcke | 2015-04-10 | 1 | -4/+3 |
| |\ | | | | | | | bugfix as a result of PR 671 | ||||
| | * | bugfix as a result of PR 671 | Bas van Kervel | 2015-04-10 | 1 | -4/+3 |
| | | | |||||
* | | | Skipped td test | obscuren | 2015-04-10 | 1 | -0/+1 |
|/ / | |||||
* | | Added some quotes .... | obscuren | 2015-04-10 | 2 | -3/+2 |
| | | |||||
* | | glog | obscuren | 2015-04-10 | 1 | -1/+3 |
| | | |||||
* | | Added proper contract for registrar | obscuren | 2015-04-09 | 2 | -3/+3 |
| | | |||||
* | | bump | obscuren | 2015-04-09 | 1 | -1/+1 |
| | | |||||
* | | added contracts | obscuren | 2015-04-09 | 2 | -2/+6 |
| | | |||||
* | | Merge branch 'ethersphere-frontier/blockpool' into develop | obscuren | 2015-04-09 | 12 | -88/+180 |
|\ \ | |||||
| * | | Disabled TD check | obscuren | 2015-04-09 | 3 | -1/+5 |
| | | | | | | | | | | | | | | | @zelig: Temporarily commented out TD check untill the rest of the network has been fixed. | ||||
| * | | Moved log to debug | obscuren | 2015-04-09 | 2 | -5/+20 |
| | | | |||||
| * | | Merge branch 'frontier/blockpool' of ↵ | obscuren | 2015-04-09 | 10 | -83/+156 |
|/| | | | | | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/blockpool | ||||
| * | | separate lock for blacklist | zelig | 2015-04-09 | 1 | -3/+6 |
| | | | |||||
| * | | oops peer unlocked before return - fixes deadlock | zelig | 2015-04-09 | 2 | -0/+2 |
| | | | |||||
| * | | uncomment future block TD check, add test for skipping TD check on future block | zelig | 2015-04-09 | 4 | -9/+46 |
| | | | |||||
| * | | fix deadlock issue in AddBlock | zelig | 2015-04-09 | 4 | -39/+46 |
| | | | | | | | | | | | | | | | | | | - add peer switch channel arg to activateChain - no peer locking within - proper locking in AddBlock - fixes deadlock issue - comment out TD check and skip incorrect TD test again for hotfix | ||||
| * | | future queued block support | zelig | 2015-04-09 | 3 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | | | - queued bool // flag for blockpool to skip TD check - set to true when future block queued - in checkTD: skip check if queued - TODO: add test (insertchain sets future block) | ||||
| * | | put back checkTD and unskip incorrectTD test | zelig | 2015-04-09 | 2 | -5/+5 |
| | | | |||||
| * | | introduce peers registry on nodes | zelig | 2015-04-09 | 2 | -43/+41 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - TestPeerPromotionByTdOnBlock renamed and skipped for now test should pass iff if TD is updated based on an agreement - senders register in AddBlock, flag records if they are coming from newblock message (and therefore advertise their TD with the block) or block message (TODO: latter are stored on the cache and updated by checkTD call; protocol should also call AddBlock on newblock messages by non-best peers) - remove TD update from optional TD field in addBlock: this is no longer part of the eth protocol spec -> TODO: reflect in wiki - only initialise peer map if at least two | ||||
| * | | fix blockpool deadlock | zelig | 2015-04-09 | 3 | -12/+22 |
| | | | | | | | | | | | | | | | | | | - do not break from headsection on error [remove peer after protocol quit will close switchC, until then head block can arrive and block on channel while keeping peers lock causing a deadlock.] - more careful locking in AddBlock | ||||
| * | | fix TestPoolStatus test crashing, skip tests failing (due to @obscuren hotfixes) | zelig | 2015-04-09 | 3 | -1/+11 |
| | | | |||||
* | | | Added default registrar | obscuren | 2015-04-09 | 2 | -9/+2 |
| | | | |||||
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-09 | 5 | -7/+174 |
|\| | | |||||
| * | | Merge pull request #678 from bas-vk/feature_635 | Jeffrey Wilcke | 2015-04-09 | 2 | -5/+11 |
| |\ \ | | | | | | | | | Support for import/export hex encoded keys | ||||
| | * | | removed utility function and implemented hex conversation in crypto functions | Bas van Kervel | 2015-04-09 | 2 | -14/+9 |
| | | | | |||||
| | * | | Support for import/export hex encoded keys, closes #635 | Bas van Kervel | 2015-04-09 | 3 | -5/+16 |
| | | | | |||||
| * | | | Merge pull request #671 from bas-vk/issue_567 | Jeffrey Wilcke | 2015-04-09 | 3 | -2/+163 |
| |\ \ \ | | | |/ | | |/| | Add path expansion support for command line arguments, closes 567 | ||||
| | * | | reformat code with goimports | Bas van Kervel | 2015-04-09 | 3 | -94/+94 |
| | | | | |||||
| | * | | Add path expansion support for command line arguments, closes 567 | Bas van Kervel | 2015-04-08 | 3 | -3/+164 |
| | | | | |||||
* | | | | Updated xeth logger | obscuren | 2015-04-09 | 2 | -4/+4 |
|/ / / | |||||
* | | | Removed from as a requirement and changed | obscuren | 2015-04-09 | 3 | -21/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed the from as a requiremet from the RPC eth_call. Xeth#Call now also default values to: 1. Supplied account 2. First account if any 3. No managed account => 000000..00 | ||||
* | | | Moved handling of nonces to the managed state | obscuren | 2015-04-09 | 3 | -6/+9 |
| | | | |||||
* | | | Default log to stderr | obscuren | 2015-04-09 | 2 | -2/+2 |
| | | | |||||
* | | | Make sure mist runs ... :-) | obscuren | 2015-04-09 | 1 | -6/+10 |
| | | | |||||
* | | | Improved transaction pool | obscuren | 2015-04-09 | 8 | -143/+105 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | | Fixed tests to reflect log changes | obscuren | 2015-04-09 | 5 | -28/+28 |
| | | | |||||
* | | | ignore invalid txs right after being added if they prove incorrect | obscuren | 2015-04-09 | 2 | -2/+6 |
| | | | |||||
* | | | Changed how logs are being recorded | obscuren | 2015-04-08 | 12 | -122/+83 |
| |/ |/| | | | | | | | | | | | Logs are now recorded per transactions instead of tossing them out after each transaction. This should also fix an issue with `eth_getFilterLogs` (#629) Also now implemented are the `transactionHash, blockHash, transactionIndex, logIndex` on logs. Closes #654. | ||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-08 | 1 | -0/+4 |
|\ \ | |||||
| * \ | Merge pull request #658 from Gustav-Simonsson/add_ec_point_on_curve_check | Jeffrey Wilcke | 2015-04-08 | 1 | -0/+4 |
| |\ \ | | | | | | | | | Add IsOnCurve check to EC unmarshalling in ECIES decryption | ||||
| | * | | Add IsOnCurve check to EC unmarshalling in ECIES decryption | Gustav Simonsson | 2015-04-08 | 1 | -0/+4 |
| |/ / | |||||
* | | | Sync managed accounts to the network | obscuren | 2015-04-08 | 2 | -3/+17 |
| | | | |||||
* | | | Added additional methods to the managed state | obscuren | 2015-04-08 | 2 | -2/+44 |
|/ / | | | | | | | | | * GetNonce Returns the canonical nonce * SetNonce Set the managed account's nonce | ||||
* | | Improved tx pool to ignore invalid transactions | obscuren | 2015-04-08 | 2 | -9/+30 |
| | | | | | | | | | | Transaction pool will attempt to ignore invalid transactions it had previously encountered. | ||||
* | | fixed stop of miner | obscuren | 2015-04-08 | 1 | -14/+12 |
| | | |||||
* | | Queued level db writes and batch writes. Closes #647 | obscuren | 2015-04-08 | 3 | -46/+94 |
| | | |||||
* | | Merge pull request #648 from ↵ | Jeffrey Wilcke | 2015-04-08 | 4 | -13/+28 |
|\ \ | | | | | | | | | | | | | Gustav-Simonsson/forward_ecrecover_err_and_remove_dup_checks Forward and log EC recover err and remove dup pubkey len check | ||||
| * | | Use logger.Error instead of 0 with glog | Gustav Simonsson | 2015-04-07 | 3 | -3/+6 |
| | | | |||||
| * | | Forward and log EC recover err and remove dup pubkey len check | Gustav Simonsson | 2015-04-07 | 4 | -13/+25 |
| | | | |||||
* | | | Merge pull request #657 from Gustav-Simonsson/disable_libsecp256k1_debug_check | Jeffrey Wilcke | 2015-04-08 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | libsecp256k1 #define NDEBUG | ||||
| * | | | libsecp256k1 #define NDEBUG | Gustav Simonsson | 2015-04-08 | 1 | -0/+1 |
|/ / / | |||||
* | | | Merge branch 'Gustav-Simonsson-update_bitcoin_secp256k1_lib2' into develop | obscuren | 2015-04-07 | 75 | -5046/+10533 |
|\ \ \ | |||||
| * | | | Link GMP | obscuren | 2015-04-07 | 1 | -0/+3 |
| | | | | |||||
| * | | | Merge branch 'update_bitcoin_secp256k1_lib2' of ↵ | obscuren | 2015-04-07 | 75 | -5049/+10533 |
|/| | | | | | | | | | | | | | | | https://github.com/Gustav-Simonsson/go-ethereum into Gustav-Simonsson-update_bitcoin_secp256k1_lib2 | ||||
| * | | | Update Go wrapper around libbsecp256k1 | Gustav Simonsson | 2015-04-07 | 1 | -89/+25 |
| | | | | |||||
| * | | | Update bitcoin secp256k1 lib | Gustav Simonsson | 2015-04-07 | 74 | -4960/+10508 |
| | | | | |||||
* | | | | Merge branch 'tgerring-rpcfabian' into develop | obscuren | 2015-04-07 | 6 | -67/+514 |
|\ \ \ \ | |_|_|/ |/| | | | |||||
| * | | | merge conflict | obscuren | 2015-04-07 | 6 | -67/+514 |
|/| | | | |||||
| * | | | More type fixes | Taylor Gerring | 2015-04-07 | 1 | -10/+9 |
| | | | | |||||
| * | | | Output format and nil fixes | Taylor Gerring | 2015-04-07 | 1 | -11/+21 |
| | | | | |||||
| * | | | Increased test coverage for args | Taylor Gerring | 2015-04-05 | 1 | -0/+214 |
| | | | | |||||
| * | | | Improved test coverage for rpc types | Taylor Gerring | 2015-04-04 | 2 | -14/+158 |
| | | | | |||||
| * | | | More test coverage for responses | Taylor Gerring | 2015-04-04 | 1 | -34/+111 |
| | | | | |||||
| * | | | Allow "earliest" block height | Taylor Gerring | 2015-04-04 | 1 | -0/+2 |
| | | | | |||||
| * | | | Merge branch 'develop' into rpcfabian | Taylor Gerring | 2015-04-04 | 40 | -774/+2865 |
| |\ \ \ | |||||
* | | | | | updated logging | obscuren | 2015-04-07 | 2 | -8/+6 |
| | | | | | |||||
* | | | | | Updated logging | obscuren | 2015-04-07 | 13 | -58/+76 |
| | | | | | |||||
* | | | | | Updated ethash | obscuren | 2015-04-07 | 16 | -261/+315 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-07 | 1 | -10/+6 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Merge pull request #653 from debris/circular_structure | Jeffrey Wilcke | 2015-04-07 | 1 | -10/+6 |
| |\ \ \ \ | | |_|_|/ | |/| | | | fixed printing circular structures | ||||
| | * | | | fixed printing circular structures | Marek Kotewicz | 2015-04-07 | 1 | -10/+6 |
| |/ / / | |||||
* | | | | Fixed tests | obscuren | 2015-04-07 | 2 | -5/+3 |
| | | | | |||||
* | | | | Updated ethereum.js | obscuren | 2015-04-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fixed pending states | obscuren | 2015-04-07 | 3 | -29/+83 |
|/ / / | |||||
* | | | Block header changed & console miner control | obscuren | 2015-04-06 | 8 | -14/+41 |
| | | | | | | | | | | | | | | | | | | * miner control moved to `admin.miner` * miner option to set extra data * block extra now bytes | ||||
* | | | updated ethash. closes 646 | obscuren | 2015-04-06 | 2 | -3/+2 |
| | | | |||||
* | | | time lapse | obscuren | 2015-04-05 | 1 | -1/+3 |
| | | | |||||
* | | | v bump | obscuren | 2015-04-05 | 1 | -1/+1 |
| | | | |||||
* | | | reflect ethash changes | obscuren | 2015-04-05 | 1 | -1/+1 |
| | | | |||||
* | | | Update ethash | obscuren | 2015-04-05 | 22 | -129/+746 |
| | | | |||||
* | | | Disabled PoW check | obscuren | 2015-04-05 | 1 | -9/+12 |
| | | | | | | | | | | | | @zelig we need to discuss this | ||||
* | | | removed hash rate from info log. Added hashrate js func | obscuren | 2015-04-05 | 2 | -1/+6 |
| | | | |||||
* | | | Remove debug log | obscuren | 2015-04-05 | 1 | -1/+0 |
| | | | |||||
* | | | Updated logging | obscuren | 2015-04-05 | 5 | -22/+38 |
| | | | |||||
* | | | set backtrace during runtime | obscuren | 2015-04-05 | 1 | -0/+12 |
| | | | |||||
* | | | Temp removed unrequested block error | obscuren | 2015-04-05 | 1 | -9/+13 |
| | | | | | | | | | | | | @zelig look in to this please | ||||
* | | | Skipping test | obscuren | 2015-04-05 | 1 | -0/+2 |
| | | | | | | | | | | | | @zelig this will need updating with the TD checking | ||||
* | | | Changed R S to big int and fixed tests | obscuren | 2015-04-05 | 4 | -8/+28 |
| | | | |||||
* | | | Changed R & S to *big.Int | obscuren | 2015-04-05 | 1 | -6/+6 |
| | | | |||||
* | | | Reject integers w/ appended zero's | obscuren | 2015-04-05 | 2 | -0/+10 |
| | | | |||||
* | | | Added thread safe each | obscuren | 2015-04-05 | 2 | -4/+15 |
| | | | |||||
* | | | Removed debugging | obscuren | 2015-04-05 | 2 | -9/+0 |
| | | | |||||
* | | | prevent deadlock | obscuren | 2015-04-05 | 3 | -17/+12 |
| | | | |||||
* | | | bumped version number | obscuren | 2015-04-04 | 1 | -1/+1 |
| | | | |||||
* | | | Improved chain manager, improved block processor, fixed tests | obscuren | 2015-04-04 | 4 | -7/+44 |
| | | | | | | | | | | | | | | | | | | * ChainManager allows cached future blocks for later processing * BlockProcessor allows a 4 second window on future blocks * Fixed tests | ||||
* | | | Added block cache delete method | obscuren | 2015-04-04 | 2 | -0/+29 |
| | | | |||||
* | | | Disabled peer TD check to support suspended blocks (Future blocks) | obscuren | 2015-04-04 | 2 | -6/+6 |
| | | | | | | | | | | | | | | | | | | @zelig When blocks are in the future they'll be cached and processed at a later time. Because of this the returned TD will be much lower than the broadcasted TD. | ||||
* | | | Changed log to new logging | obscuren | 2015-04-04 | 3 | -10/+16 |
| | | | |||||
* | | | Make sure we're not mining on an invalid TS | obscuren | 2015-04-04 | 1 | -0/+3 |
| | | | |||||
* | | | added verbosity to js admin | obscuren | 2015-04-04 | 1 | -0/+13 |
| | | | |||||
* | | | Moved logging to logger.Core | obscuren | 2015-04-04 | 6 | -12/+12 |
| | | | |||||
* | | | check for nil block (tmp). | obscuren | 2015-04-04 | 1 | -0/+3 |
| | | | | | | | | | | | | @zelig this needs to be addressed in the block pool. | ||||
* | | | basic glog | obscuren | 2015-04-04 | 10 | -49/+47 |
| | | | |||||
* | | | Merge branch 'develop' into glog | obscuren | 2015-04-04 | 1 | -1/+1 |
|\ \ \ | | |/ | |/| | |||||
| * | | version bump | obscuren | 2015-04-03 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'develop' into glog | obscuren | 2015-04-03 | 9 | -44/+194 |
|\| | | |||||
| * | | do not include BlockEqualTS as valid uncles | obscuren | 2015-04-03 | 2 | -2/+3 |
| | | | |||||
| * | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-03 | 7 | -42/+191 |
| |\ \ |