aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-244-134/+127
|
* Update README.mdJeffrey Wilcke2015-04-241-0/+1
|
* Merge pull request #800 from obscuren/ethereum_js_updateJeffrey Wilcke2015-04-247-12/+7
|\ | | | | Ethereum js update
| * web3: updatedobscuren2015-04-243-4/+1
| |
| * cmd/geth, jsre: updated ethereum.js => web3.jsobscuren2015-04-243-3/+5
| |
| * eth: cleanupobscuren2015-04-241-5/+1
|/
* Merge pull request #797 from tgerring/bootnodesJeffrey Wilcke2015-04-242-7/+4
|\ | | | | Bootnodes update
| * Updated bootnodesTaylor Gerring2015-04-241-2/+3
| | | | | | | | Update pub key for EU node and add new SA node
| * Cleanup README developer infoTaylor Gerring2015-04-241-5/+1
| |
* | Merge pull request #778 from bas-vk/issue764Jeffrey Wilcke2015-04-245-48/+62
|\ \ | | | | | | Moved database update loop to eth/backend
| * \ Merge branch 'issue764' of https://github.com/bas-vk/go-ethereum into issue764Bas van Kervel2015-04-240-0/+0
| |\ \
| | * | bugfix, wrong hash stored in blockDbBas van Kervel2015-04-231-1/+1
| | | |
| | * | change order of block insert and update LastBlockBas van Kervel2015-04-221-4/+4
| | | |
| | * | Moved leveldb update loop to eth/backendBas van Kervel2015-04-224-42/+56
| | | |
| * | | Moved leveldb update loop to eth/backendBas van Kervel2015-04-235-48/+62
| | |/ | |/| | | | | | | | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb
* | | Merge pull request #794 from Gustav-Simonsson/block_tests_more_validationsJeffrey Wilcke2015-04-241-0/+82
|\ \ \ | |/ / |/| | Add block header validations for block tests
| * | Add block header validations for block testsGustav Simonsson2015-04-231-0/+82
|/ /
* | Merge pull request #792 from veox/doc-crypto-secp256k1Jeffrey Wilcke2015-04-231-1/+4
|\ \ | | | | | | doc: crypto/secp256k1 GMP dependency package name.
| * | doc: crypto/secp256k1 GMP dependency package name.Noel Maersk2015-04-231-1/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | Linux build documentation is mostly geared towards Ubuntu 14.04 (LTS). Appropriate package is called `libgmp-dev` there. Note that on pristine installations building `geth` with godep will fail because this header is missing. This is not documented in the top-level README, but is on the wiki: https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu#building-geth-command-line-client That page recommends `libgmp3-dev`, which ATM provides same version as `libgmp-dev`.
* | Merge pull request #769 from obscuren/developJeffrey Wilcke2015-04-2312-66/+261
|\ \ | | | | | | core: transaction queue
| * | core: pending txs now re-validated once every secondobscuren2015-04-231-3/+27
| | |
| * | miner: show error message for gas limit per accountobscuren2015-04-231-2/+2
| | |
| * | natspec: fixed test to work with new queued transactionsobscuren2015-04-231-1/+1
| | |
| * | core: added accessor for queued transactionsobscuren2015-04-231-0/+12
| | |
| * | eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-234-30/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | core: fixed testobscuren2015-04-231-1/+3
| | |
| * | core: set the state for the managed tx stateobscuren2015-04-231-1/+1
| | | | | | | | | | | | | | | Set the state for the managed tx state instead of creating a new managed state.
| * | core: improved error message for invalid nonce txsobscuren2015-04-231-1/+1
| | |
| * | core: only post event once per tx & fixed testobscuren2015-04-232-15/+21
| | |
| * | xeth, miner: updated some loggingobscuren2015-04-232-3/+4
| | |
| * | eth: start tx pool in a goroutineobscuren2015-04-231-1/+1
| | |
| * | core: implemented a queued approach processing transactionsobscuren2015-04-233-25/+123
|/ / | | | | | | | | | | | | Implemented a new transaction queue. Transactions with a holes in their nonce sequence are also not propagated over the network. N: 0,1,2,5,6,7 = propagate 0..2 -- 5..N is kept in the tx pool
* | Merge pull request #779 from Gustav-Simonsson/block_tests_reloadedJeffrey Wilcke2015-04-2333-6328/+5653
|\ \ | | | | | | Block tests reloaded
| * | Include ZeroByteAtTheEnd and RandomByteAtTheEnd testsGustav Simonsson2015-04-231-8/+1
| | |
| * | Validate block header UncleHash against calculated hashGustav Simonsson2015-04-232-2/+13
| | |
| * | Unskip BlockTests/bcInvalidHeaderTest.json wrongUncleHashGustav Simonsson2015-04-231-4/+1
| | |
| * | Finally, glorious HEXGustav Simonsson2015-04-231-4/+4
| | |
| * | Add StateTests/stMemoryStressTest.json but skip for nowGustav Simonsson2015-04-231-0/+6
| | |
| * | Exclude TransactionWithSvalue0 as it expects invalid s value to be validGustav Simonsson2015-04-231-0/+1
| | |
| * | Update github.com/ethereum/tests filesGustav Simonsson2015-04-2326-6304/+5619
| | |
| * | Explicitly skip TransactionTests/tt10mbDataField.jsonGustav Simonsson2015-04-232-6/+3
| | |
| * | Add test wrapper for VMTests/vmInputLimits1.jsonGustav Simonsson2015-04-231-0/+5
|/ /
* | Merge pull request #780 from maran/arm_buildJeffrey Wilcke2015-04-231-0/+2
|\ \ | | | | | | Adding flags to facilitate cross compiling to ARM
| * | Adding flags to facilitate cross compiling to ARMMaran2015-04-221-0/+2
| | |
* | | Merge pull request #786 from tgerring/issue739Jeffrey Wilcke2015-04-231-1/+5
|\ \ \ | | | | | | | | Empty Call response should return 0x instead of 0x00. Closes #739
| * | | Handle bug in parent call responseTaylor Gerring2015-04-231-1/+5
| | | |
* | | | Merge pull request #782 from alexvandesande/developJeffrey Wilcke2015-04-231-1/+1
|\ \ \ \ | | | | | | | | | | Changed "Welcome to the Frontier" to something more geeky
| * | | | Changed "Welcome to the Frontier" to something more geekyAlexandre Van de Sande2015-04-231-1/+1
| | |/ / | |/| |
* | | | Merge pull request #783 from tgerring/issue777Jeffrey Wilcke2015-04-232-11/+61
|\ \ \ \ | | | | | | | | | | Issue 777
| * | | | Tests for magic wordsTaylor Gerring2015-04-231-0/+35
| | | | |
| * | | | Accept num or hex as indexTaylor Gerring2015-04-232-5/+5
| | | | |
| * | | | Update eth_getBlockByNumber to accept wordsTaylor Gerring2015-04-232-6/+21
| | |/ / | |/| |
* | | | Merge pull request #784 from tgerring/issue737Jeffrey Wilcke2015-04-231-1/+1
|\ \ \ \ | | | | | | | | | | Rename eth_Version to eth_protocolVersion. Closes #737
| * | | | Rename eth_Version to eth_protocolVersion. Closes #737Taylor Gerring2015-04-231-1/+1
| |/ / /
* | | | Merge pull request #787 from ethereum/revert-785-revert-781-developFelix Lange2015-04-233-39/+54
|\ \ \ \ | | | | | | | | | | Revert "Revert "refactor Dockerfile""
| * | | | Revert "Revert "refactor Dockerfile""Felix Lange2015-04-233-39/+54
|/ / / /
* | | | Merge pull request #785 from ethereum/revert-781-developFelix Lange2015-04-233-54/+39
|\ \ \ \ | |/ / / |/| | | Revert "refactor Dockerfile"
| * | | Revert "refactor Dockerfile"Felix Lange2015-04-233-54/+39
|/ / /
* | | Merge pull request #781 from caktux/developcaktux2015-04-233-39/+54
|\ \ \ | |/ / |/| | refactor Dockerfile
| * | refactor Dockerfilecaktux2015-04-223-39/+54
|/ /
* | Merge pull request #776 from fjl/win32-build-fixesJeffrey Wilcke2015-04-226-246/+89
|\ \ | | | | | | Win32 build fixes
| * | cmd/geth: improve the JS testsFelix Lange2015-04-222-209/+71
| | | | | | | | | | | | | | | These changes ensure that the JS tests run without networking and fixes the block chain export and its associated test.
| * | p2p: return zero node from Self if the server is not runningFelix Lange2015-04-221-1/+6
| | | | | | | | | | | | This helps with fixing the tests for cmd/geth to run without networking.
| * | miner: use 32bit atomic operationsFelix Lange2015-04-221-11/+12
| | | | | | | | | | | | 64bit atomic operations are not available on all 32bit platforms.
| * | common: delete BinaryLengthFelix Lange2015-04-222-25/+0
|/ / | | | | | | | | The test is failing the 32bit build and the function is not used anywhere.
* | Merge pull request #765 from Gustav-Simonsson/more_block_test_improvementsFelix Lange2015-04-224-130/+185
|\ \ | | | | | | Further fixes to block test wrapper
| * | Further fixes to block test wrapperGustav Simonsson2015-04-214-130/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move go test wrapper for block tests from cmd/geth to tests * Fix logic for when tests are valid or not, by adding correct validations for expected valid/invalid blocks * Change block insertion helper to work on single blocks * Add one test case for each file in BlockTests and comment out the tests which are currently failing * Add Skip call in all block tests in lieu of performance fixes around ethash cache which are needed before it will be fast enough to start / stop the node between each test
* | | Merge pull request #766 from tgerring/issue762Jeffrey Wilcke2015-04-221-41/+46
|\ \ \ | |_|/ |/| | Treat hexnums as big.Int instead of int64. Closes #762
| * | Treat hexnums as big.Int instead of int64Taylor Gerring2015-04-211-41/+46
|/ /
* | Updated README to include windows buildsJeffrey Wilcke2015-04-211-2/+2
| |
* | Merge pull request #760 from obscuren/developJeffrey Wilcke2015-04-2120-4053/+45
|\ \ | | | | | | core: transaction fixes
| * \ Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-217-115/+294
| |\ \ | |/ / |/| |
* | | Merge pull request #756 from Gustav-Simonsson/block_test_improvementsJeffrey Wilcke2015-04-215-108/+293
|\ \ \ | | |/ | |/| Block test improvements
| * | Add block tests wrapper and fixes for tx testsGustav Simonsson2015-04-203-65/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Add fixes to parsing and converting of fields in tx tests * Correct logic in tx tests; validation of fields and correct logic for when RLP decoding works/fails and when this is expected or not * Rename files for consistency * Add block tests wrapper to run block tests with go test
| * | tests: hopefully improve test conversion helpersFelix Lange2015-04-192-30/+35
| | | | | | | | | | | | (cherry picked from commit 035a30acbefb5eeadc1fc8dbd567775d5688f8a9)
| * | cmd/geth, tests: enable running multiple tests from a single fileFelix Lange2015-04-192-33/+105
| | | | | | | | | | | | | | | | | | | | | | | | This commit also changes the block test loading so tests containing invalid RLP blocks can be loaded and return an error only when they are run. (cherry picked from commit 898ba87984791249586b97c9ce340dd087b79d67)
| * | eth: use NewDB hook also for extra DBFelix Lange2015-04-191-1/+4
| | | | | | | | | | | | (cherry picked from commit d5083033f15bb815a6212eddae16a7125db58738)
* | | Merge pull request #763 from aboreum/developJeffrey Wilcke2015-04-211-6/+0
|\ \ \ | | | | | | | | Remove "minGasPrice" field from JSON responses. Closes. #754
| * \ \ syncing to mainline ethereumAndy2015-04-210-0/+0
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #761 from aboreum/developJeffrey Wilcke2015-04-211-1/+1
|\ \ \ \ | | | | | | | | | | trivial fix for: Broken link for detailed go build instructions #661
| | * | | fix for: Please remove the "minGasPrice" from block returns #754Andy2015-04-211-6/+0
| | | | |
| | * | | syncing to developAndy2015-04-213-4/+128
| |/| | | | |/ / / |/| | |
| * | | Broken link for detailed go build instructions #661Andy2015-04-211-1/+1
| | | |
| * | | Merge branch 'develop' of https://github.com/aboreum/go-ethereum into developAndy2015-04-210-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
| * \ \ \ fix for: Broken link for detailed go build instructions #661Andy2015-04-212-22/+48
| |\ \ \ \
| | | | | * blockpool: deletedobscuren2015-04-2113-4038/+0
| | | | | |
| | | | | * core/rpc: fix for null entries in log filters. Closes #725obscuren2015-04-212-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can now specify `null` as a way of saying "not interested in this topic, match all". core.Filter assumes the zero'd address to be the wildcard. JSON rpc assumes empty strings to be wildcards.
| | | | | * core: removed nonce resetting from the block processor.obscuren2015-04-213-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | All nonce error handling has been moved to the worker
| | | | | * miner: ignore a tx's transactor after a gas limit has been returnedobscuren2015-04-211-3/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When worker encounters a gas limit error, subsequent txs should be ignored from that particular account. This will prevent: 1. Nonce errors been thrown all around 2. The "Known tx" error. Closes #719 3. Repeated contract address. Closes #731
| | | | | * Merge branch 'develop' of github.com-obscure:obscuren/go-ethereum into developobscuren2015-04-215-26/+176
| | | | | |\ | |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #734 from bas-vk/issue-729Jeffrey Wilcke2015-04-213-4/+128
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | admin.StopRPC added to console
| * | | | | Don't export types/functionsBas van Kervel2015-04-192-16/+16
| | | | | |
| * | | | | Replaced channel pointer field with non pointer channelBas van Kervel2015-04-192-11/+14
| | | | | |
| * | | | | Stop accepted and alive connections (http keep-alive) when the rpc service ↵Bas van Kervel2015-04-172-38/+67
| | | | | | | | | | | | | | | | | | | | | | | | is stopped
| * | | | | admin.stopRPC support added which stops the RPC HTTP listenerBas van Kervel2015-04-163-2/+94
| | | | | |
* | | | | | Merge pull request #755 from karalabe/command-flags-cleanupJeffrey Wilcke2015-04-212-22/+48
|\ \ \ \ \ \ | |_|/ / / / |/| | / / / | | |/ / / | |/| | | cmd/geth, cmd/utils: add cli flags for pprof and whisper
| * | | | cmd/geth, cmd/utils: invert --pprof once morePéter Szilágyi2015-04-212-5/+5
| | | | |
| * | | | cmd/geth, cmd/utils: use pprof disable flag, start globallyPéter Szilágyi2015-04-202-8/+10
| | | | |
| * | | | cmd/geth, cmd/utils: add cli flags for pprof and whisper.Péter Szilágyi2015-04-202-22/+46
| | | | |
| | | | * core: shuffled some codeobscuren2015-04-211-7/+13
| |_|_|/ |/| | |
* | | | core: upgraded block chain versionobscuren2015-04-211-1/+1
| | | |
* | | | Merge branch 'ethersphere-frontier/natspec' into developobscuren2015-04-2118-72/+5095
|\ \ \ \ | |/ / / |/| | |
| * | | Merge branch 'frontier/natspec' of ↵obscuren2015-04-2118-72/+5095
|/| | | | | | | | | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec
| * | | contract addresses include hex prefixzelig2015-04-204-37/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - simplify resolver and tests - added missing test for KeyToUrl - fix notice error message and its test with !%x(MISSING) - natspec test: insertTx modified - does not prepend 0x to contract address - disable networking in e2e test
| * | | fix end to end test import cyclezelig2015-04-201-3/+1
| | | |
| * | | fixed resolver testzsfelfoldi2015-04-201-2/+6
| | | |
| * | | URLhint support for URLs longer than 32 byteszsfelfoldi2015-04-203-22/+70
| | | |
| * | | added missing source filezsfelfoldi2015-04-201-0/+36
| | | |
| * | | fixed incomplete mergezsfelfoldi2015-04-201-19/+21
| | | |
| * | | test account is no longer permanently in genesis block, only put there when ↵zsfelfoldi2015-04-202-12/+15
| | | | | | | | | | | | | | | | testing
| * | | NatSpec contracts are now not in the genesis block but added by the testzsfelfoldi2015-04-204-65/+45
| | | |
| * | | utils linked to natspec notice eval, test notice now using utils.toHex()zsfelfoldi2015-04-203-8/+4048
| | | |
| * | | NatSpec cli option, resolver tests passingzsfelfoldi2015-04-206-32/+45
| | | |
| * | | default fallback NatSpec messageszsfelfoldi2015-04-203-22/+50
| | | |
| * | | natspec test bugfixzsfelfoldi2015-04-201-15/+12
| | | |
| * | | NatSpec passing end to end testzsfelfoldi2015-04-207-73/+226
| | | |
| * | | szsfelfoldi2015-04-204-52/+81
| | | |
| * | | NatSpec contracts in genesis block, end to end test (unfinished)zsfelfoldi2015-04-209-60/+217
| | | |
| * | | resolver testszelig2015-04-205-21/+85
| | | | | | | | | | | | | | | | | | | | | | | | - add resolver tests and fix resolver to pass - statereg constructor fixed - comments added to natspec plus docserver integration for natspec userdoc fetching
| * | | reorg:zelig2015-04-205-116/+66
| | | | | | | | | | | | | | | | | | | | - statereg methods move to natspec/resolver/docserver - fix failing test on invalid js input
| * | | add docserver using net/http Transport/Roundtripzelig2015-04-202-0/+131
| | | |
| * | | NatSpec, URL register storage retrievalzsfelfoldi2015-04-207-39/+222
| | | | | | | | | | | | | | | | fixed 2/3 tests
| * | | add common/resolver skeletonzelig2015-04-202-0/+62
| | | |
| * | | natspec integrated to console frontend confirmTransactionzelig2015-04-201-2/+11
| | | |
| * | | new natspeczelig2015-04-202-51/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - constructor takes abidoc, userdoc - json parsing of userdoc - method found by abi data - notice found from method
* | | | geth: added a `admin.debug.block` command which reprocess the blockobscuren2015-04-201-0/+25
| | | |
* | | | core: force block process & fixed chain manager testobscuren2015-04-203-4/+24
| | | |
* | | | core: added chain reset mechanism on bad blocksobscuren2015-04-202-12/+30
| | | |
* | | | core: added chain head reset to known blockobscuren2015-04-204-11/+65
| | | |
* | | | geth: bump version numberobscuren2015-04-201-1/+1
| | | |
* | | | core: moved TD calculation from proc to chainobscuren2015-04-206-24/+24
| |_|/ |/| |
* | | miner: go fmtobscuren2015-04-201-8/+7
| | |
* | | Switched getWork third output from difficulty to targetVitalik Buterin2015-04-201-1/+8
| | |
* | | miner: fixed remote miner current workobscuren2015-04-201-1/+2
|/ /
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-203-0/+55
|\ \
| * \ Merge pull request #748 from fjl/build-script-unixJeffrey Wilcke2015-04-193-0/+55
| |\ \ | | | | | | | | Makefile: for non-gophers
| | * | Makefile: for non-gophersFelix Lange2015-04-193-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many people need or want to build go-ethereum from the git repository, mostly to stay up to date with recent changes. We cannot expect that people without Go experience grok the Go workspace concept. With the Makefile, building from github requires only three steps (provided that a Go toolchain is installed): - git clone https://github.com/ethereum/go-ethereum - ... install C libraries (libgmp, etc.) ... - make
* | | | geth: admin download statusobscuren2015-04-202-11/+22
| | | |
* | | | miner: removed default timer & update dag when threads > 0obscuren2015-04-202-16/+8
|/ / /
* | | downloader: fixed tests with low ttlobscuren2015-04-192-2/+3
| | |
* | | movedobscuren2015-04-191-6/+6
| | |
* | | Merge branch 'fjl-rlp-size-validation' into developobscuren2015-04-1913-233/+481
|\ \ \
| * | | Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum ↵obscuren2015-04-1913-233/+481
|/| | | | | | | | | | | | | | | | | | | | | | | | | | | into fjl-rlp-size-validation Conflicts: eth/protocol.go
| * | | rlp: require declared number of input elements for array typesFelix Lange2015-04-172-40/+26
| | | |
| * | | p2p: make DiscReason bigger than byteFelix Lange2015-04-171-1/+1
| | | | | | | | | | | | | | | | | | | | We decode into [1]DiscReason in a few places. That doesn't work anymore because package rlp no longer accepts RLP lists for byte arrays.
| * | | rlp: stop accepting lists for byte slices and byte arraysFelix Lange2015-04-172-45/+10
| | | |
| * | | core/types: add rlp tag "nil" for Transaction.RecipientFelix Lange2015-04-171-1/+1
| | | |
| * | | rlp: stricter rules for structs and pointersFelix Lange2015-04-174-52/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rules have changed as follows: * When decoding into pointers, empty values no longer produce a nil pointer. This can be overriden for struct fields using the struct tag "nil". * When decoding into structs, the input list must contain an element for each field.
| * | | rlp: reject non-minimal input stringsFelix Lange2015-04-172-15/+45
| | | | | | | | | | | | | | | | | | | | Input strings of length 1 containing a byte < 56 are non-minimal and should be encoded as a single byte instead. Reject such strings.
| * | | rlp: stricter validation of canonical integer formatFelix Lange2015-04-172-42/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All integers (including size information in type tags) need to be encoded using the smallest possible encoding. This commit expands the stricter validation introduced for *big.Int in commit 59597d23a5ee268 to all integer types and size tags.
| * | | rlp: fix handling of single byte zero when decoding into a pointerFelix Lange2015-04-172-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | A single zero byte carries information and should not set the pointer to nil. This is arguably a corner case. While here, fix the comment to explain pointer reuse.
| * | | whisper: fix comment for rlpenvFelix Lange2015-04-171-4/+5
| | | |
| * | | p2p/discover: use rlp.DecodeBytesFelix Lange2015-04-171-1/+1
| | | |
| * | | rlp: fix integer overflow in list element size validationFelix Lange2015-04-172-2/+5
| | | | | | | | | | | | | | | | It is not safe to add anything to s.size.
| * | | cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limitFelix Lange2015-04-175-7/+8
| | | |
| * | | rlp: check top-level value sizes against input limitFelix Lange2015-04-172-56/+171
| | | | | | | | | | | | | | | | | | | | | | | | This is a preliminary fix for #420 (SEC-18 RLP decoder unsafe allocation). If a sane input limit is set on the rlp.Stream, it should no longer be possible to cause huge []byte allocations.
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-192-6/+4
|\ \ \ \
| * \ \ \ Merge pull request #749 from fjl/fix-nodekey-persistenceJeffrey Wilcke2015-04-192-6/+4
| |\ \ \ \ | | | | | | | | | | | | Fix p2p node key persistence
| | * | | | crypto: update {Load,Save}ECDSA comments to mention hex encodingFelix Lange2015-04-191-2/+3
| | | | | |
| | * | | | eth: fix node key persistenceFelix Lange2015-04-191-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 printlnobscuren2015-04-191-3/+0
| | | | | |
* | | | | | eth: drop blocks with low TDobscuren2015-04-192-5/+7
| | | | | |
* | | | | | geth: added getBlockRlp for dumping block in rlp formatobscuren2015-04-191-0/+26
| | | | | |
* | | | | | downloader: moved chunk ignoring. Fixes issue with catching upobscuren2015-04-194-31/+44
|/ / / / /
* | | | | eth: temp 100% block propagation because of the current state of the netobscuren2015-04-191-2/+2
| | | | |
* | | | | downloader: defer peer reset after downloadobscuren2015-04-192-4/+8
|/ / / /
* | | | downloader: reset hashTtl on receiveobscuren2015-04-191-0/+2
| | | |
* | | | Merge branch 'downloader-proto' into developobscuren2015-04-1913-453/+790
|\ \ \ \ | |_|/ / |/| | |
| * | | cleanupobscuren2015-04-191-3/+2
| | | |
| * | | eth: removed debug messages to stdoutobscuren2015-04-191-2/+2
| | | |
| * | | downloader: don't remove peers. keep them aroundobscuren2015-04-193-17/+17
| | | |
| * | | geth: added identity flag which allows to set a custom node nameobscuren2015-04-192-0/+10
| | | |
| * | | Merge branch 'develop' into downloader-protoobscuren2015-04-191-1/+7
| |\ \ \ | |/ / / |/| | |
* | | | core: merge using equal block numbers rather than the current blockobscuren2015-04-191-1/+7
| | | |
| * | | miner: reverted back to old eventobscuren2015-04-191-1/+1
| | | |
| * | | typoobscuren2015-04-191-1/+1
| | | |
| * | | miner: changed listenerobscuren2015-04-191-1/+1
| | | |
| * | | downloader: free up peers from work when the downloader resetsobscuren2015-04-193-5/+22
| | | |
| * | | downloader: throw an error if there are no peers available for downloadobscuren2015-04-191-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 statusobscuren2015-04-191-1/+0
| | | |
| * | | eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-193-4/+14
| | | |
| * | | downloader: improved downloading and synchronisationobscuren2015-04-194-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 peerobscuren2015-04-182-20/+54
| | | |
| * | | Merge branch 'develop' into downloader-protoobscuren2015-04-1822-366/+916
| |\ \ \ | |/ / / |/| | |
* | | | updated ethashobscuren2015-04-182-4/+4
| | | |
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-1819-362/+910
|\ \ \ \
| * \ \ \ Merge pull request #736 from frozeman/developFelix Lange2015-04-181-1/+1
| |\ \ \ \ | | |_|/ / | |/| | | add extra space to miner icon
| | * | | add extra space to miner iconFabian Vogelsteller2015-04-171-1/+1
| |/ / /
| * | | Merge pull request #718 from karalabe/whisper-cleanupFelix Lange2015-04-1716-356/+899
| |\ \ \ | | | | | | | | | | Whisper cleanup, part 2
| | * | | whisper: cleanup lefover scopingPéter Szilágyi2015-04-173-4/+4
| | | | |
| | * | | whisper: hide some internal typesPéter Szilágyi2015-04-171-3/+3
| | | | |
| | * | | whisper: don't issue signature warning if none presentPéter Szilágyi2015-04-161-0/+5
| | | | |
| | * | | whisper: track active peers, add peer cache expiry testPéter Szilágyi2015-04-162-22/+86
| | | | |
| | * | | whisper: remove dead code, rename a few constantsPéter Szilágyi2015-04-166-59/+7
| | | | |
| | * | | whisper: use async handshakes to handle blocking peersPéter Szilágyi2015-04-153-47/+12
| | | | |
| | * | | whisper: remove some unneeded testing complexityPéter Szilágyi2015-04-153-32/+5
| | | | |
| | * | | whisper: global message expiration tests, polishesPéter Szilágyi2015-04-153-16/+49
| | | | |
| | * | | whisper: mock tests to use simulated peersPéter Szilágyi2015-04-152-71/+55
| | | | |
| | * | | whisper: add basic tests for the whiper peersPéter Szilágyi2015-04-142-0/+221
| | | | |
| | * | | whisper: shorten constants to TTL and PoWPéter Szilágyi2015-04-145-15/+15
| | | | |
| | * | | whisper, xeth/whisper, ui/qt/qwhispe: fix API polish breakagesPéter Szilágyi2015-04-143-20/+19
| | | | |
| | * | | whisper: add known message expiration to peers, cleanupPéter Szilágyi2015-04-142-95/+145
| | | | |
| | * | | whisper: general cleanups, documentationPéter Szilágyi2015-04-144-129/+146
| | | | |
| | * | | whisper: fix anonymous broadcast drop, add broadcast testsPéter Szilágyi2015-04-143-24/+99
| | | | |
| | * | | whisper: add utility functions for creating topicsPéter Szilágyi2015-04-143-8/+58
| | | | |
| | * | | whisper: push work in progress for bug reportPéter Szilágyi2015-04-132-6/+19
| | | | |
| | * | | whisper: start adding integration testsPéter Szilágyi2015-04-131-18/+118
| | | | |
| | * | | whisper: clean up and integrate topicsPéter Szilágyi2015-04-137-43/+85
| | | | |
| | * | | whisper: separate out magic number from the codePéter Szilágyi2015-04-134-25/+29
| | | | |
| * | | | Merge pull request #733 from fjl/p2p-dial-timerJeffrey Wilcke2015-04-171-3/+8
| |\ \ \ \ | | | | | | | | | | | | p2p: fix the dial timer
| | * | | | p2p: fix the dial timerFelix Lange2015-04-171-3/+8
| |/ / / / | | | | | | | | | | | | | | | | | | | | The dial timer was not reset properly when the peer count reached MaxPeers.
| * | | | Merge pull request #728 from tgerring/issue727Jeffrey Wilcke2015-04-171-2/+2
| |\ \ \ \ | | | | | | | | | | | | Fix RPC Call output when empty
| | * | | | Fix call output when emptyTaylor Gerring2015-04-161-2/+2
| | | | | |
* | | | | | rpc: set from. Closes #742obscuren2015-04-181-0/+2
|/ / / / /
| | | * | downloader: reset the queue if a peer response with an empty hash setobscuren2015-04-183-15/+37
| | | | |
| | | * | eth: ignore NewBlockMsg with lower tdobscuren2015-04-181-2/+3
| | | | |
| | | * | core: improved uncle validation error messageobscuren2015-04-181-3/+2
| | | | |
| | | * | downloader: all handlers check for isBusyobscuren2015-04-181-7/+7
| | | | |
| | | * | eth: fixed proper BroadcastBlock for mined blocksobscuren2015-04-181-1/+1
| | | | |
| | | * | geth: bump version numberobscuren2015-04-181-2/+3
| | | | |
| | | * | eth: listen for mined blocks and propagate using the protocol managerobscuren2015-04-181-17/+15
| | | | |
| | | * | eth: drop blocks that are knownobscuren2015-04-181-0/+6
| | | | |
| | | * | eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-183-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 managerobscuren2015-04-184-388/+369
| | | | |
| | | * | Merge branch 'develop' into downloader-protoobscuren2015-04-1843-253/+4347
| | | |\ \ | |_|_|/ / |/| | | | | | | | | | | | | | Conflicts: eth/downloader/downloader.go
* | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-1741-248/+4230
|\ \ \ \ \
| * \ \ \ \ Merge pull request #730 from Gustav-Simonsson/update_transaction_testsJeffrey Wilcke2015-04-1741-248/+4230
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Update transaction tests
| | * | | | Fixes for TransactionTestsGustav Simonsson2015-04-163-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 testsGustav Simonsson2015-04-1638-207/+4177
| |/ / / /
* / / / / downloader: fixed a typoobscuren2015-04-171-1/+1
|/ / / /
* | | | downloader: added demotion / promotion in prep. for rep. systemobscuren2015-04-162-0/+25
| | | |
* | | | downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-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 downloaderobscuren2015-04-171-0/+25
| | | |
| | | * Merge branch 'develop' into downloader-protoobscuren2015-04-16121-1166509/+19667
| | | |\
| | | | * downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-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 thanobscuren2015-04-161-1/+2
|/ / /
* | | miner: start a newly registered agent if the miner is running. Closes #681obscuren2015-04-152-3/+9
| | |
* | | common: Added debug reporterobscuren2015-04-151-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 #720obscuren2015-04-152-2/+7
| | |
* | | core: fixed issue for logs filter. Closes #629obscuren2015-04-151-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 backedobscuren2015-04-151-2/+6
| | |
* | | rpc: changed logging to use glogobscuren2015-04-151-2/+3
| | |
* | | geth: fixed failing cli testsobscuren2015-04-151-2/+2
| | |
* | | rpc: change eth_protocolVersion to eth_version. Closes #714obscuren2015-04-151-1/+1
| | |
* | | geth: added print block to adminobscuren2015-04-141-1/+32
| | |
* | | eth: limit the amount of peers that will receive Block/Tx messagesobscuren2015-04-141-2/+3
| | | | | | | | | | | | All transaction and block messages are now limited using `sqrt(peers)`
* | | state: fixed mutex lockesobscuren2015-04-141-2/+14
| | |
* | | p2p: added limiter function to limit package broadcastingobscuren2015-04-141-0/+13
| | |
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-146-41/+14
|\ \ \
| * \ \ Merge pull request #704 from fjl/p2p-concurrency-fixupsJeffrey Wilcke2015-04-146-41/+14
| |\ \ \ | | | | | | | | | | p2p: more concurrency fixups