aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eth, eth/downloader, miner: use download events to check miner startobscuren2015-05-156-18/+83
|
* core: changed how head events are checkedobscuren2015-05-152-2/+4
|
* core: improved uncle messagesobscuren2015-05-151-3/+3
|
* core: changed log message for forks. closes #952obscuren2015-05-141-11/+13
|
* Merge pull request #974 from karalabe/downloader-fix-unknown-parent-attackJeffrey Wilcke2015-05-144-38/+92
|\ | | | | eth, eth/downloader: handle a potential unknown parent attack
| * eth/downloader: add a small additional check to the testPéter Szilágyi2015-05-141-0/+3
| |
| * eth/downloader: remove a previous leftoverPéter Szilágyi2015-05-141-1/+0
| |
| * eth, eth/downloader: remove parent verification from the downlaoderPéter Szilágyi2015-05-144-46/+17
| |
| * eth, eth/downloader: handle a potential unknown parent attackPéter Szilágyi2015-05-143-31/+112
| |
* | Merge pull request #971 from fjl/p2p-limit-tweaksJeffrey Wilcke2015-05-147-64/+16
|\ \ | | | | | | p2p: tweak connection limits
| * | p2p/discover: limit open files for node databaseFelix Lange2015-05-141-2/+3
| | |
| * | p2p: remove testlogFelix Lange2015-05-143-51/+0
| | |
| * | p2p/discover: bump maxBondingPingPongs to 16Felix Lange2015-05-141-1/+1
| | | | | | | | | | | | | | | This should increase the speed a bit because all findnode results (up to 16) can be verified at the same time.
| * | p2p: log remote reason when disconnect is requestedFelix Lange2015-05-142-8/+10
| | | | | | | | | | | | | | | | | | The returned reason is currently not used except for the log message. This change makes the log messages a bit more useful. The handshake code also returns the remote reason.
| * | p2p: bump maxAcceptConns and defaultDialTimoutFelix Lange2015-05-141-2/+2
| | | | | | | | | | | | | | | On the test network, we've seen that it becomes harder to connect if the queues are so short.
* | | Merge pull request #973 from bas-vk/issue972Jeffrey Wilcke2015-05-142-0/+10
|\ \ \ | | | | | | | | Introduced default unlock duration when an account is unlocked from t…
| * | | Introduced default unlock duration when an account is unlocked from the consoleBas van Kervel2015-05-142-0/+10
| | | |
* | | | Merge pull request #960 from fjl/nat-fixesJeffrey Wilcke2015-05-14142-25/+189479
|\ \ \ \ | | | | | | | | | | p2p/nat: fix UPnP auto discovery
| * | | | cmd/utils: print messages from package log through glogFelix Lange2015-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Some of the dependencies use package log. This change ensures that the log output looks uniform and respects glog flags.
| * | | | p2p/nat: tweak port mapping log messages and levelsFelix Lange2015-05-141-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | People stil get confused about the messages. This commit changes the levels so that the only thing printed at the default level (info) is a successful mapping.
| * | | | Godeps: bump github.com/huin/goupnp to c57ae84Felix Lange2015-05-14138-1/+189186
| | | | |
| * | | | p2p/nat: add test for UPnP auto discovery via SSDPFelix Lange2015-05-141-0/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test listens for multicast UDP packets on the default interface because I couldn't get it to work reliably on loopback without massive changes to goupnp. This means that the test might fail when there is a UPnP-enabled router attached on that interface. I checked that locally by looping the test and it passes reliably because the local SSDP server always responds faster.
| * | | | p2p/nat: fix concurrent access to autodisc InterfaceFelix Lange2015-05-142-17/+63
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Concurrent calls to Interface methods on autodisc could return a "not discovered" error if the discovery did not finish before the call. autodisc.wait expected the done channel to carry the found Interface but it was closed instead. The fix is to use sync.Once for now, which is easier to get right. And there is a test. Finally. This will have to change again when we introduce re-discovery.
* | | | Merge pull request #969 from Gustav-Simonsson/ethash_improve_hashrate_update2Jeffrey Wilcke2015-05-145-116/+48
|\ \ \ \ | | | | | | | | | | Make read of ethash hashrate atomic and update ethash godep
| * | | | Make read of ethash hashrate atomic and update ethash godepGustav Simonsson2015-05-145-116/+48
| |/ / /
* | | | Merge pull request #950 from karalabe/downloader-cancel-syncJeffrey Wilcke2015-05-141-32/+37
|\ \ \ \ | | | | | | | | | | eth/downloader: fix deliveries to check for sync cancels
| * | | | eth/downloader: remove a redundant sync progress checkPéter Szilágyi2015-05-131-4/+0
| | | | |
| * | | | eth/downloader: add a user sync notificatonPéter Szilágyi2015-05-131-0/+5
| | | | |
| * | | | eth/downloader: sync the cancel channel during cancel tooPéter Szilágyi2015-05-131-21/+4
| | | | |
| * | | | eth/downloader: fix deliveries to check for sync cancelsPéter Szilágyi2015-05-131-10/+31
| | |_|/ | |/| |
* | | | Merge pull request #949 from bas-vk/issue944Jeffrey Wilcke2015-05-141-1/+1
|\ \ \ \ | | | | | | | | | | removed invalid filename characters
| * | | | removed invalid filename charactersBas van Kervel2015-05-131-1/+1
| | | | |
* | | | | Merge pull request #970 from ethereum/vitalik_quick_testJeffrey Wilcke2015-05-141-2/+8
|\ \ \ \ \ | |_|_|_|/ |/| | | | Created separate family and ancestors environment objects
| * | | | Combined two loopsVitalik Buterin2015-05-141-3/+1
| | | | |
| * | | | Created separate family and ancestors environment objectsVitalik Buterin2015-05-141-2/+10
|/ / / /
* | | / Fixed max uncle count error messageVitalik Buterin2015-05-141-1/+1
| |_|/ |/| |
* | | Merge pull request #966 from fjl/fixup-discover-chunked-neighborsFelix Lange2015-05-142-32/+49
|\ \ \ | | | | | | | | p2p/discover: fix out-of-bounds slicing for chunked neighbors packets
| * | | p2p/discover: fix out-of-bounds slicing for chunked neighbors packetsFelix Lange2015-05-142-32/+49
| | | | | | | | | | | | | | | | | | | | The code assumed that Table.closest always returns at least 13 nodes. This is not true for small tables (e.g. during bootstrap).
* | | | Merge pull request #963 from Gustav-Simonsson/fix_keystore_crypto_commentsJeffrey Wilcke2015-05-141-6/+7
|\ \ \ \ | |/ / / |/| | | Update keystore code comments
| * | | Update keystore code commentsGustav Simonsson2015-05-141-6/+7
| | | |
* | | | Merge pull request #965 from subtly/patch-1Felix Lange2015-05-142-4/+20
|\ \ \ \ | |/ / / |/| | | Better UDP & interop. Limit all received datagrams to 1280bytes.
| * | | fix test.subtly2015-05-141-1/+1
| | | |
| * | | Manual send of multiple neighbours packets. Test receiving multiple ↵subtly2015-05-142-3/+19
| | | | | | | | | | | | | | | | neighbours packets.
| * | | UDP Interop. Limit datagrams to 1280bytes.subtly2015-05-141-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't have a UDP which specifies any messages that will be 4KB. Aside from being implemented for months and a necessity for encryption and piggy-backing packets, 1280bytes is ideal, and, means this TODO can be completed! Why 1280 bytes? * It's less than the default MTU for most WAN/LAN networks. That means fewer fragmented datagrams (esp on well-connected networks). * Fragmented datagrams and dropped packets suck and add latency while OS waits for a dropped fragment to never arrive (blocking readLoop()) * Most of our packets are < 1280 bytes. * 1280 bytes is minimum datagram size and MTU for IPv6 -- on IPv6, a datagram < 1280bytes will *never* be fragmented. UDP datagrams are dropped. A lot! And fragmented datagrams are worse. If a datagram has a 30% chance of being dropped, then a fragmented datagram has a 60% chance of being dropped. More importantly, we have signed packets and can't do anything with a packet unless we receive the entire datagram because the signature can't be verified. The same is true when we have encrypted packets. So the solution here to picking an ideal buffer size for receiving datagrams is a number under 1400bytes. And the lower-bound value for IPv6 of 1280 bytes make's it a non-decision. On IPv4 most ISPs and 3g/4g/let networks have an MTU just over 1400 -- and *never* over 1500. Never -- that means packets over 1500 (in reality: ~1450) bytes are fragmented. And probably dropped a lot. Just to prove the point, here are pings sending non-fragmented packets over wifi/ISP, and a second set of pings via cell-phone tethering. It's important to note that, if *any* router between my system and the EC2 node has a lower MTU, the message would not go through: On wifi w/normal ISP: localhost:Debug $ ping -D -s 1450 52.6.250.242 PING 52.6.250.242 (52.6.250.242): 1450 data bytes 1458 bytes from 52.6.250.242: icmp_seq=0 ttl=42 time=104.831 ms 1458 bytes from 52.6.250.242: icmp_seq=1 ttl=42 time=119.004 ms ^C --- 52.6.250.242 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 104.831/111.918/119.004/7.087 ms localhost:Debug $ ping -D -s 1480 52.6.250.242 PING 52.6.250.242 (52.6.250.242): 1480 data bytes ping: sendto: Message too long ping: sendto: Message too long Request timeout for icmp_seq 0 ping: sendto: Message too long Request timeout for icmp_seq 1 Tethering to O2: localhost:Debug $ ping -D -s 1480 52.6.250.242 PING 52.6.250.242 (52.6.250.242): 1480 data bytes ping: sendto: Message too long ping: sendto: Message too long Request timeout for icmp_seq 0 ^C --- 52.6.250.242 ping statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss localhost:Debug $ ping -D -s 1450 52.6.250.242 PING 52.6.250.242 (52.6.250.242): 1450 data bytes 1458 bytes from 52.6.250.242: icmp_seq=0 ttl=42 time=107.844 ms 1458 bytes from 52.6.250.242: icmp_seq=1 ttl=42 time=105.127 ms 1458 bytes from 52.6.250.242: icmp_seq=2 ttl=42 time=120.483 ms 1458 bytes from 52.6.250.242: icmp_seq=3 ttl=42 time=102.136 ms
* | | Merge pull request #954 from karalabe/fix-downloader-nil-panicPéter Szilágyi2015-05-141-1/+1
|\ \ \ | |_|/ |/| | eth/downloader: fix nil panic caused by wrong variable use
| * | eth/downloader: fix nil panic caused by wrong variable usePéter Szilágyi2015-05-131-1/+1
|/ /
* | Merge pull request #948 from karalabe/fix-downlaoder-activepeer-shadowJeffrey Wilcke2015-05-133-24/+16
|\ \ | |/ |/| eth/downloader: fix active peer shadowing, polish func names
| * eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-133-24/+16
|/
* Merge pull request #946 from Gustav-Simonsson/fix_geth_unlock_accountJeffrey Wilcke2015-05-131-1/+2
|\ | | | | Fix hex conversion in --unlock and log when successful
| * Fix hex conversion in --unlock and log when successfulGustav Simonsson2015-05-131-1/+2
|/
* Merge branch 'release/0.9.20' into developobscuren2015-05-132-2/+2
|\
| * eth: 100% tx propagationobscuren2015-05-131-1/+1
| |
| * cmd/geth: bump version to 0.9.20obscuren2015-05-131-1/+1
|/
* Merge pull request #631 from Gustav-Simonsson/improve_key_store_cryptoJeffrey Wilcke2015-05-1322-196/+241
|\ | | | | Improve key store crypto
| * Change default keystore dirGustav Simonsson2015-05-135-6/+6
| |
| * Fix address type in js testGustav Simonsson2015-05-121-1/+1
| |
| * fix hex conversion bug in RPC for byte slicesGustav Simonsson2015-05-121-1/+8
| |
| * Fix natspec test (again x2) typesGustav Simonsson2015-05-121-1/+2
| |
| * Update key store to new spec but keep address field for nowGustav Simonsson2015-05-127-72/+59
| | | | | | | | * Also fix address types post-rebase
| * Fix natspec e2e test accounts type (again)Gustav Simonsson2015-05-121-1/+1
| |
| * Fix HEX hack in xeth accounts()Gustav Simonsson2015-05-121-1/+1
| |
| * Address pull request comments; key header and hex encodingGustav Simonsson2015-05-123-31/+67
| | | | | | | | | | | | * Remove key header from unencrypted key file format and replace it with a version field * Change encoding of bytes in key files from base64 to hex
| * Revert "Add key header to unencrypted key file"Gustav Simonsson2015-05-122-16/+8
| | | | | | | | This reverts commit a94d4ba0b53c4558ab838aaed635a2ff66ddfa53.
| * Fix common.Address / []byte type conversionsGustav Simonsson2015-05-122-2/+2
| |
| * Add key header to unencrypted key fileGustav Simonsson2015-05-122-8/+16
| |
| * Add key header to encrypted keysGustav Simonsson2015-05-122-7/+57
| | | | | | | | | | | | | | * Add key header containing key version, kdf and kdf params * Store key header as JSON in the key file * Read in KDF params from key header * Include key header in MAC calculation and MAC verification
| * Correct accounts hex in XETH APIGustav Simonsson2015-05-121-1/+1
| |
| * Use common.Address type for accounts.AddressGustav Simonsson2015-05-1211-64/+69
| |
| * Improve key store passphrase cryptoGustav Simonsson2015-05-124-23/+31
| | | | | | | | | | | | | | * Change MAC-then-Encrypt to Encrypt-then-MAC * Change AES256 to AES128 * Use first 16 bytes of KDF derived key for AES and remaining 16 for MAC
| * Remove the awesome, ever misunderstood entropy mixingGustav Simonsson2015-05-124-64/+15
|/
* Merge pull request #933 from bas-vk/issue928Jeffrey Wilcke2015-05-1218-64/+58
|\ | | | | replaced path with platform aware filepath module
| * fixed identingBas van Kervel2015-05-121-1/+1
| |
| * removed redundant newlines in import blockBas van Kervel2015-05-127-11/+5
| |
| * replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-1218-64/+64
| |
* | Merge pull request #932 from obscuren/developJeffrey Wilcke2015-05-127-15/+40
|\ \ | |/ |/| xeth, rpc: implement eth_estimateGas. Closes #930
| * sol: skipped source checking stepobscuren2015-05-123-7/+13
| |
| * xeth: use same semantics as block processer for transient callsobscuren2015-05-121-4/+3
| |
| * rpc: hexData => hexNumobscuren2015-05-121-2/+2
| |
| * xeth, rpc: implement eth_estimateGas. Closes #930obscuren2015-05-123-7/+26
| |
| * eth, ethdb: lower the amount of open files & improve err messages for dbobscuren2015-05-121-0/+1
|/ | | | Closes #880
* Merge pull request #899 from ethersphere/solc-test-fixJeffrey Wilcke2015-05-124-6/+21
|\ | | | | compiler, cli/js: fix solidity compiler tests
| * compiler, cli/js: fix solidity compiler tests failing when a different ↵zelig2015-05-124-6/+21
| | | | | | | | version of solc installed
* | Merge pull request #929 from obscuren/developJeffrey Wilcke2015-05-122-5/+8
|\ \ | |/ |/| eth, ethdb: lower the amount of open files & improve err messages for db
| * eth, ethdb: lower the amount of open files & improve err messages for dbobscuren2015-05-122-5/+8
|/ | | | Closes #880
* Merge pull request #925 from obscuren/worker_owned_accountsJeffrey Wilcke2015-05-122-29/+44
|\ | | | | miner, cmd/geth: miner will not ignored owned account transactions
| * miner, cmd/geth: miner will not ignored owned account transactionsobscuren2015-05-122-29/+44
|/ | | | Miner does not ignore low gas txs from accounts that are owned.
* Merge pull request #918 from obscuren/cpu_miner_fixesJeffrey Wilcke2015-05-1211-46/+50
|\ | | | | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable
| * eth, eth/downloader: moved pending queue error message to debugobscuren2015-05-112-3/+4
| |
| * cmd/geth, miner, backend, xeth: Fixed miner threads to be settableobscuren2015-05-119-43/+46
| | | | | | | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916)
| * eth/downloader: use count instead of peers, clearerPéter Szilágyi2015-05-112-4/+4
| |
| * eth/downloader: revert to demotion, use harsher penaltyPéter Szilágyi2015-05-112-8/+19
| |
| * eth/downloader: fix #910, thread safe peers & polishesPéter Szilágyi2015-05-114-161/+210
| |
* | Merge pull request #915 from karalabe/downloader-threading-fixesJeffrey Wilcke2015-05-114-159/+219
|\ \ | |/ |/| eth/downloader: fix #910, thread safe peers & polishes
| * eth/downloader: use count instead of peers, clearerPéter Szilágyi2015-05-112-4/+4
| |
| * eth/downloader: revert to demotion, use harsher penaltyPéter Szilágyi2015-05-112-8/+19
| |
| * eth/downloader: fix #910, thread safe peers & polishesPéter Szilágyi2015-05-114-161/+210
| |
* | Merge pull request #920 from tgerring/issue917Jeffrey Wilcke2015-05-111-2/+2
|\ \ | | | | | | Return 32-byte hashes from GetWork
| * | Return 32-byte hashes from GetWorkTaylor Gerring2015-05-111-2/+2
| | | | | | | | | | | | Ensures that the Get Work results are a consistent length. Closes #917
* | | Merge pull request #914 from ethersphere/developJeffrey Wilcke2015-05-116-15/+3801
|\ \ \ | |/ / |/| | Signature on arbitrary data using the private keys of an account
| * | Only allow doSign to sign hashes, enforced by using the type common.HashDaniel A. Nagy2015-05-111-4/+4
| | |
| * | Interactive signature creation refactored into separate doSign function.Daniel A. Nagy2015-05-111-20/+20
| | |
| * | Merge branch 'develop' of github.com:ethereum/go-ethereum into developDaniel A. Nagy2015-05-1122-103/+372
| |\ \ | |/ / |/| | | | | | | | Conflicts: rpc/jeth.go
* | | Merge pull request #908 from obscuren/developJeffrey Wilcke2015-05-119-97/+135
|\ \ \ | | | | | | | | core, eth, miner: improved tx removal & fatal error on db sync err
| * | | miner: added log message for mining operation. #912obscuren2015-05-111-0/+4
| | | |
| * | | core: optimise pending transaction processingobscuren2015-05-112-86/+102
| | | |
| * | | rpc: display error message to stdoutobscuren2015-05-111-0/+2
| | | |
| * | | core, eth, miner: improved tx removal & fatal error on db sync errobscuren2015-05-116-31/+47
|/ / / | | | | | | | | | | | | | | | | | | | | | * core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903
* | | Merge pull request #911 from karalabe/whisper-graceful-failJeffrey Wilcke2015-05-114-2/+53
|\ \ \ | |_|/ |/| | rpc, xeth: fix #881, gracefully handle offline whisper
| * | rpc, xeth: fix #881, gracefully handle offline whisperPéter Szilágyi2015-05-114-2/+53
|/ /
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-05-100-0/+0
|\ \
| * \ Merge pull request #894 from obscuren/developJeffrey Wilcke2015-05-101-1/+4
| |\ \ | | | | | | | | ethdb: set open file limit to 128 for all leveldbs
| * \ \ Merge pull request #893 from obscuren/developJeffrey Wilcke2015-05-103-2/+106
| |\ \ \ | | | | | | | | | | eth: added a cancel method for the downloader
* | | | | cmd/geth, cmd/mist: version 0.9.19obscuren2015-05-102-2/+2
| |_|/ / |/| | |
* | | | ethdb: set open file limit to 128 for all leveldbsobscuren2015-05-101-1/+4
| |/ / |/| |
* | | eth: added a cancel method for the downloaderobscuren2015-05-103-2/+106
|/ / | | | | | | | | | | | | | | | | Added a cancel method to the downloader which gracefully shuts down any active syncing process (hash fetching or block downloading) and resets the queue and remove any pending blocks. Issue with the downloader which would stall because of an active ongoing process when an invalid block was found.
* | cmd/mist: version bumpobscuren2015-05-091-1/+1
| |
* | Merge pull request #888 from obscuren/developv0.9.18Jeffrey Wilcke2015-05-098-15/+88
|\ \ | | | | | | miner, flags: Configurable gas price & log flag change
| * | cmd/geth: bump version 0.9.18obscuren2015-05-091-1/+1
| | |
| * | miner, tests: fixed block testobscuren2015-05-092-1/+6
| | |
| * | miner: start/stop mutex locked. Closes #887obscuren2015-05-091-0/+9
| | |
| * | miner: moved gasprice to non-methodobscuren2015-05-091-9/+12
| | |
| * | miner, cmd/geth: settable gas price from flags and consoleobscuren2015-05-093-0/+44
| | | | | | | | | | | | | | | * --gasprice "<num>" flag * admin.miner.setGasPrice( <num> )
| * | cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosityobscuren2015-05-094-13/+25
|/ /
| * Signature test.Daniel A. Nagy2015-05-091-0/+28
| |
| * Merge branch 'develop' of github.com:ethereum/go-ethereum into developDaniel A. Nagy2015-05-0823-441/+1203
| |\ | |/ |/|
* | version 0.9.17v0.9.17obscuren2015-05-081-1/+1
| |
* | Merge pull request #863 from karalabe/ordered-block-downloadJeffrey Wilcke2015-05-0813-383/+939
|\ \ | | | | | | eth/downloader: prioritize block fetch based on chain position, cap memo...
| * | eth/downloader: fix leftover state between syncsPéter Szilágyi2015-05-081-1/+4
| | |
| * | eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-084-48/+48
| | |
| * | eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-085-82/+22
| | |
| * | eth/downloader: fix priority queue reset, add throttling testPéter Szilágyi2015-05-076-21/+111
| | |
| * | eth/downloader: fix expiration not running while fetchingPéter Szilágyi2015-05-072-34/+32
| | |
| * | eth/downloader: prioritize block fetch based on chain position, cap memory usePéter Szilágyi2015-05-0711-273/+798
| | |
* | | Merge pull request #885 from fjl/p2p-fixesJeffrey Wilcke2015-05-086-39/+69
|\ \ \ | | | | | | | | p2p: more last-minute fixes
| * | | p2p: drop connections with no matching protocolsFelix Lange2015-05-082-4/+21
| | | |
| * | | cmd/utils: bump default maxpeers to 25Felix Lange2015-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | This should improve ethereum block propagation times since we're not not broadcasting blocks to 100% of peers.
| * | | p2p: use maxDialingConns instead of maxAcceptConns as dial limitFelix Lange2015-05-081-1/+1
| | | |
| * | | p2p: fix disconnect at capacityFelix Lange2015-05-084-33/+46
|/ / / | | | | | | | | | | | | | | | | | | With the introduction of static/trusted nodes, the peer count can go above MaxPeers. Update the capacity check to handle this. While here, decouple the trusted nodes check from the handshake by passing a function instead.
* | | Merge pull request #840 from karalabe/throttled-dialingJeffrey Wilcke2015-05-086-19/+180
|\ \ \ | | | | | | | | p2p: throttled handshakes
| * | | p2p: increase the handshake timeout in the testsPéter Szilágyi2015-05-071-2/+2
| | | |
| * | | cmd, eth, p2p: introduce pending peer cli arg, add testsPéter Szilágyi2015-05-076-19/+170
| | | |
| * | | p2p: reduce the concurrent handshakes to 10/10 in/outPéter Szilágyi2015-05-071-2/+2
| | | |
| * | | p2p: fix dial throttling race conditionPéter Szilágyi2015-05-071-1/+1
| | | |
| * | | p2p: fix a dialing race in the throttlerPéter Szilágyi2015-05-071-1/+1
| | | |
| * | | p2p: limit the outbound dialing tooPéter Szilágyi2015-05-071-1/+11
| |/ /
* | | Merge pull request #882 from zsfelfoldi/developJeffrey Wilcke2015-05-081-2/+17
|\ \ \ | | | | | | | | Otto.ToValue concurrency error fixed
| * | | ToVal serialization fixzsfelfoldi2015-05-081-2/+3
| | | |
| * | | Otto.ToValue concurrency error fixedzsfelfoldi2015-05-081-2/+16
| | | |
| | | * Signing (almost) works.Daniel A. Nagy2015-05-083-4/+3725
| | | |
| | | * eth_sign added to API for signing arbitrary data.Daniel A. Nagy2015-05-082-8/+8
| | | |
| | | * New API call for signatures.Daniel A. Nagy2015-05-083-0/+37
| |_|/ |/| |
* | | Merge pull request #876 from obscuren/jsre_fixesJeffrey Wilcke2015-05-084-13/+7
|\ \ \ | | | | | | | | jsre, cmd/geth: updated web3.js and altered settimeout
| * | | updated ethereum.jsobscuren2015-05-081-0/+0
| | | |
| * | | jsre, cmd/geth: updated web3.js and altered settimeoutobscuren2015-05-083-13/+7
|/ / /
* | | Merge pull request #875 from Gustav-Simonsson/test_updatesJeffrey Wilcke2015-05-0852-4920/+9983
|\ \ \ | | | | | | | | Test updates
| * | | Add bcTotalDifficultyTest and unskip now working tx testsGustav Simonsson2015-05-073-6/+6
| | | |
| * | | Update JSON test filesGustav Simonsson2015-05-0749-4914/+9977
| | |/ | |/|
* | | Merge pull request #833 from ethersphere/frontier/solidityJeffrey Wilcke2015-05-0821-503/+1449
|\ \ \ | | | | | | | | solidity compiler and contract metadocs integration
| * | | solidity compiler and contract metadocs integrationzelig2015-05-0721-503/+1449
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
* | | Merge pull request #864 from obscuren/filter_changesJeffrey Wilcke2015-05-086-83/+221
|\ \ \ | |_|/ |/| | xeth, core, event/filter, rpc: new block and transaction filters
| * | xeth: getTransactionByHash, try pool if db failsobscuren2015-05-081-0/+2
| | |
| * | core: get transaction by hash from transaction poolobscuren2015-05-081-0/+21
| | |
| * | xeth: check proper queue for pending transaction filterobscuren2015-05-071-1/+1
| | |
| * | rpc: eth_transactionFilter => eth_newPendingTransactionFilterobscuren2015-05-071-1/+1
| | |
| * | xeth, core, event/filter, rpc: new block and transaction filtersobscuren2015-05-075-83/+198
| |/
* | Merge pull request #877 from Gustav-Simonsson/update_ethash_godepJeffrey Wilcke2015-05-088-21/+65
|\ \ | |/ |/| Update ethash deps (more build fixes, tests)
| * Update ethash deps (more build fixes, tests)Gustav Simonsson2015-05-088-21/+65
|/
* updated ignore0.9.16obscuren2015-05-071-0/+1
|
* Merge pull request #867 from ↵Jeffrey Wilcke2015-05-073-4/+1
|\ | | | | | | | | Gustav-Simonsson/fix_block_tests_genesis_block_total_difficulty Fix block tests genesis block total difficulty
| * Unskip now working tests, remove debug printGustav Simonsson2015-05-072-4/+0
| |
| * Add genesis block total difficulty in testsGustav Simonsson2015-05-071-0/+1
| |
* | Merge pull request #866 from fjl/p2p-last-minuteJeffrey Wilcke2015-05-076-26/+24
|\ \ | | | | | | Last minute p2p fixes
| * | p2p: stop dialing at half the maximum peer countFelix Lange2015-05-071-1/+1
| | |
| * | p2p, whisper: use glog for peer-level loggingFelix Lange2015-05-073-20/+16
| | |
| * | p2p/discover: bump packet timeouts to 500msFelix Lange2015-05-071-2/+2
| | |
| * | p2p/nat: less confusing error loggingFelix Lange2015-05-071-3/+5
| | |
* | | cmd/geth: gofmt screwup fixobscuren2015-05-071-0/+2
| | |
* | | cmd/geth: version bumpobscuren2015-05-071-3/+1
| | |
* | | Merge branch 'karalabe-cherry-trusted-peers' into developobscuren2015-05-077-39/+317
|\ \ \ | |/ / |/| |
| * | fixed merge issueobscuren2015-05-077-39/+317
|/| |
| * | eth, p2p: add trusted node list beside static listPéter Szilágyi2015-05-045-51/+59
| | |
| * | cmd/mist: fix a stale error messagePéter Szilágyi2015-05-041-1/+1
| | |
| * | p2p: add static node dialing testPéter Szilágyi2015-05-042-13/+108
| | |
| * | p2p: correct a leftover trusted -> staticPéter Szilágyi2015-05-011-4/+4
| | |
| * | eth, p2p: rename trusted nodes to static, drop inbound extra slotsPéter Szilágyi2015-05-015-57/+59
| | |
| * | cmd, eth, p2p: fix review issues enumerated by FelixPéter Szilágyi2015-04-308-34/+25
| | |
| * | p2p: add trust check to handshake, test privileged connectivityPéter Szilágyi2015-04-304-15/+88
| | | | | | | | | | | | | | | Conflicts: p2p/server_test.go
| * | p2p: reduce the severity of a debug logPéter Szilágyi2015-04-301-1/+1
| | |
| * | cmd/geth, cmd/utils, eth: internalize trusted node config filePéter Szilágyi2015-04-303-30/+20
| | |
| * | cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peersPéter Szilágyi2015-04-308-27/+146
| | |
* | | Merge pull request #791 from fjl/discover-sha3-distanceJeffrey Wilcke2015-05-0714-292/+651
|\ \ \ | |_|/ |/| | p2p/discover: sha3-based node distance
| * | p2p/discover: new distance metric based on sha3(id)Felix Lange2015-05-066-106/+354
| | | | | | | | | | | | | | | | | | | | | The previous metric was pubkey1^pubkey2, as specified in the Kademlia paper. We missed that EC public keys are not uniformly distributed. Using the hash of the public keys addresses that. It also makes it a bit harder to generate node IDs that are close to a particular node.
| * | common: add Hash.GenerateFelix Lange2015-04-301-1/+14
| | |
| * | p2p/discover: track sha3(ID) in NodeFelix Lange2015-04-308-99/+166
| | |
| * | p2p, p2p/discover: protocol version 4Felix Lange2015-04-302-2/+2
| | |
| * | p2p/discover: new endpoint formatFelix Lange2015-04-3011-129/+160
| |/ | | | | | | | | | | This commit changes the discovery protocol to use the new "v4" endpoint format, which allows for separate UDP and TCP ports and makes it possible to discover the UDP address after NAT.
* | Merge pull request #861 from obscuren/transaction_pool_fixesJeffrey Wilcke2015-05-078-7/+133
|\ \ | | | | | | core: transaction pool fixes & resending transactions
| * | cmd/geth: limit `pendingTransactions` to owned accounts.obscuren2015-05-071-33/+53
| | |
| * | cmd/mist: updated xeth transactobscuren2015-05-072-1/+2
| | |
| * | cmd/geth: admin, switched price with limit in argumentsobscuren2015-05-071-2/+2
| | |
| * | cmd/geth: implemented resending transaction with different gas settingsobscuren2015-05-071-0/+83
| | |
| * | core: use removeTx instead of deleteobscuren2015-05-071-1/+1
| | |
| * | xeth, rpc: added nonce setting through RPC and xeth transactobscuren2015-05-074-5/+27
| | |
* | | Merge pull request #859 from Gustav-Simonsson/ethash_reloadedJeffrey Wilcke2015-05-0749-2394/+3419
|\ \ \ | |/ / |/| | Ethash reloaded
| * | Add ethash linux & windows build fixesGustav Simonsson2015-05-065-10/+11
| | |
| * | Unskip working blocktests following ethash cache reusageGustav Simonsson2015-05-051-10/+4
| | |
| * | Integrate new ethash API and change geth makedag cmdGustav Simonsson2015-05-059-27/+41
| | |
| * | Update ethash Godeps filesGustav Simonsson2015-05-0539-2353/+3369
| | |
* | | Merge pull request #771 from zsfelfoldi/developJeffrey Wilcke2015-05-064-35/+299
|\ \ \ | |/ / |/| | jsre: support for setTimeout, sendAsync
| * | setTimeout and sendAsync implementedzsfelfoldi2015-05-064-35/+299
|/ / | | | | | | added and eval queue for serializing JSRE vm execution
* | Merge pull request #856 from karalabe/windows-console-color-fixJeffrey Wilcke2015-05-0510-2/+763
|\ \ | | | | | | cmd/geth: colorize console output in windows
| * | cmd/geth: fix #853 colorize console output in windowsPéter Szilágyi2015-05-0510-2/+763
|/ /
* | Merge pull request #835 from obscuren/handler_errorsJeffrey Wilcke2015-05-049-318/+547
|\ \ | |/ |/| eth, eth/downloader: error handlers and td checks
| * core: added unix timestamp to debug output for block procobscuren2015-05-041-1/+1
| |
| * downloader: hash downloading recoveryobscuren2015-05-032-29/+71
| | | | | | | | | | | | If a peer fails to respond (disconnect, etc) during hash downloading switch to a different peer which has it's current_hash in the queue's peer set.
| * cmd/geth, eth: bump version & tmp fix for incorrect TD peersobscuren2015-05-032-1/+8
| |
| * eth/downloader: put back hashes on block overflow errorobscuren2015-05-031-19/+14
| |
| * eth/downloader: changed has to blockHashes for chain linkingobscuren2015-05-031-1/+1
| |
| * core: print ignored blocksobscuren2015-05-031-1/+1
| |
| * eth/downloader: added additional testsobscuren2015-05-032-4/+73
| |
| * eth,core: changed NewTicker to Tickobscuren2015-05-032-6/+6
| |
| * core: added 'ignored' statusobscuren2015-05-011-2/+3
| |
| * eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-016-291/+347
| | | | | | | | | | | | | | The downloader is no longer responsible for processing blocks. The eth-protocol handler now takes care of this instead. Added graceful shutdown during block processing. Closes #846
| * eth/downloader: delete blocks from queueobscuren2015-04-302-3/+15
| |
| * core: added a wait group to chain manager for graceful shutdownobscuren2015-04-302-0/+9
| |
| * core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D)obscuren2015-04-301-0/+4
| |
| * core, eth: verify td of received blocksobscuren2015-04-302-3/+25
| |
| * eth, eth/downloader: remove bad peers from peer setobscuren2015-04-302-17/+29
|/ | | | Peers in the eth protocol handler are now being ignored for catch up.
* Merge pull request #830 from obscuren/downloader-missing-parentJeffrey Wilcke2015-04-3015-33/+117
|\ | | | | eth/downloader: missing parent improvement
| * cmd/geth: bump version to 0.9.14obscuren2015-04-301-1/+1
| |
| * core: remove txs from queue in addition to removal of pendingobscuren2015-04-302-1/+49
| |
| * core: added some additional chain tests for shortest chainobscuren2015-04-302-5/+30
| |
| * eth: rely on p2p to determine block propagationobscuren2015-04-301-1/+1
| |
| * p2p: added received at to peer messageobscuren2015-04-302-3/+5
| | | | | | | | | | p2p.Msg.ReceivedAt can be used for determining block propagation from begining to end.
| * core/types, eth: meassure and display propagation timesobscuren2015-04-302-1/+5
| |
| * eth/downloader: drop blockobscuren2015-04-301-1/+1
| |
| * core: fixed tetst to reflect (int, error) return by insertChainobscuren2015-04-292-4/+4
| |
| * eth/downloader: ignore orphan blocks in the downloader.obscuren2015-04-291-5/+9
| | | | | | | | | | | | When blocks have been sorted and are being processed, orphan blocks should be ignored and thrown out. The protocol handler is responsible for downloading blocks which have missing parents.
| * core: return the index of the block that failed when inserting a chainobscuren2015-04-297-14/+15
|/
* Merge pull request #825 from obscuren/developJeffrey Wilcke2015-04-296-35/+117
|\ | | | | core: chain fork fix
| * eth/downloader: reset the chain when parent is missing during processingobscuren2015-04-291-0/+2
| |
| * cmd/geth: bump version numberobscuren2015-04-291-1/+1
| |
| * core: fixed chain reorg during splitsobscuren2015-04-292-27/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Chain reorgs weren't properly handled when a chain was further ahead. Previously we'd end up with mixed chains in our canonical numbering sequence. Added test for this type of forking. ``` /-o-o-o A o-C-+ \-o-o-o-o B ``` Ends up with with C A1, A2, A3, B4
| * core/types: added fake parent hash / hash to String() outputobscuren2015-04-291-1/+11
| |
| * eth: check if downloader is busy before showing log messageobscuren2015-04-292-0/+9
| |
| * core: seperated proccing mutex and getting mutexobscuren2015-04-292-42/+48
| |
| * core: bump database versionobscuren2015-04-291-1/+1
| |
| * core: moved mutex locks in insert blocks to start of functionobscuren2015-04-291-41/+40
| | | | | | | | | | Insert blocks will no longer allow processing of multiple chains at the same time. The block lock has been moved to start of the function.
| * core: set min gas price at startupobscuren2015-04-291-10/+10
| |
* | Merge pull request #822 from fjl/makefile-improvementsJeffrey Wilcke2015-04-2910-98/+121
|\ \ | |/ |/| Makefile improvements