aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | * | | p2p/discover: improve timer handling for reply timeoutsFelix Lange2015-04-141-2/+3
| | | | |
| | * | | p2p/discover: remove unused field Node.activeStampFelix Lange2015-04-132-16/+0
| | | | |
| | * | | p2p: fix unsynchronized map access during Server shutdownFelix Lange2015-04-131-0/+2
| | | | | | | | | | | | | | | | | | | | removePeer can be called even after listenLoop and dialLoop have returned.
| | * | | p2p: fix yet another disconnect hangFelix Lange2015-04-131-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 failsFelix Lange2015-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | This regression was introduced in b3c058a9e4e9.
* | | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-141-2/+2
|\| | | |
| * | | | Merge pull request #709 from ligi/patch-1Felix Lange2015-04-141-2/+2
| |\ \ \ \ | | | | | | | | | | | | Fix links
| | * | | | Fix links ligi2015-04-141-2/+2
| |/ / / / | | | | | | | | | | Where 404s before - now linking to the path that they stay valid a little longer ;-)
* | | | | core: during split properly insert parent blocksobscuren2015-04-141-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 errobscuren2015-04-141-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 stateobscuren2015-04-141-2/+2
|/ / / / | | | | | | | | | | | | Rlock => Lock when creating a new nonce
* | | | rpc: removed hash from LogRes. Closes #701obscuren2015-04-141-1/+0
| | | |
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-13101-1166413/+19449
|\ \ \ \
| * \ \ \ Merge pull request #702 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-1313-366/+370
| |\ \ \ \ | | | | | | | | | | | | blockpool stability fixes:
| | * | | | blockpool stability fixes:zelig2015-04-1313-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_650Jeffrey Wilcke2015-04-136-29/+188
| |\ \ \ \ | | | | | | | | | | | | Added blockchain DB versioning support, closes #650
| | * | | | Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-136-29/+188
| | | | | |
| * | | | | Merge pull request #689 from Gustav-Simonsson/add_transaction_testsJeffrey Wilcke2015-04-1374-1165839/+18528
| |\ \ \ \ \ | | |_|/ / / | |/| | | | Add transaction tests
| | * | | | Enable more tx tests by expecting most common encoding of valuesGustav Simonsson2015-04-102-15/+8
| | | | | |
| | * | | | Remove unneeded map assignments for working tx RLP testsGustav Simonsson2015-04-101-7/+0
| | | | | |
| | * | | | Add TransactionTests wrapped as Go testsGustav Simonsson2015-04-103-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 filesGustav Simonsson2015-04-1071-1165836/+18331
| | | | | |
| * | | | | Merge pull request #690 from karalabe/whisper-cleanupFelix Lange2015-04-139-179/+363
| |\ \ \ \ \ | | | |_|/ / | | |/| | | Whisper cleanup, part 1
| | * | | | whisper: fix comment entity capitalizationsPéter Szilágyi2015-04-122-7/+7
| | | | | |
| | * | | | xeth/whisper, ui/qt/qwhisper: fix API update breaks.Péter Szilágyi2015-04-102-4/+4
| | | | | |
| | * | | | whisper: polish the Envelope a bit, prep for tests.Péter Szilágyi2015-04-106-65/+75
| | | | | |
| | * | | | whisper: polish the messages, fix some bugs, testsPéter Szilágyi2015-04-106-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 stylePéter Szilágyi2015-04-101-0/+0
| | | | | |
| | * | | | whisper: make the test app runnable & do something insidePéter Szilágyi2015-04-101-12/+65
| | |/ / /
| | | | * eth: added downloader for syncing up the chainobscuren2015-04-132-37/+72
| |_|_|/ |/| | |
* | | | downloader: added missing blocks catchup functionalityobscuren2015-04-134-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 queueobscuren2015-04-122-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 queueobscuren2015-04-121-0/+0
| | | |
* | | | downloader: implemented new downloaderobscuren2015-04-124-0/+602
|/ / /
* | | Merge pull request #695 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-111-7/+15
|\ \ \ | | | | | | | | bugfixes for headsection deadlocks
| * | | bugfixes for headsection deadlockszelig2015-04-111-7/+15
|/ / / | | | | | | | | | | | | - switchC initialised as closed - move select in setChainInfoFromBlock out of peer lock
* | | Updated glogobscuren2015-04-111-11/+15
| | |
* | | Set input to nil for createobscuren2015-04-111-1/+4
| | |
* | | Bumpobscuren2015-04-111-1/+1
| | |
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-114-139/+148
|\ \ \
| * \ \ Merge pull request #692 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-114-139/+148
| |\ \ \ | | | | | | | | | | td update from node + bugfix