Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Manual send of multiple neighbours packets. Test receiving multiple ↵ | subtly | 2015-05-14 | 2 | -3/+19 |
| | | | | neighbours packets. | ||||
* | UDP Interop. Limit datagrams to 1280bytes. | subtly | 2015-05-14 | 1 | -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-panic | Péter Szilágyi | 2015-05-14 | 1 | -1/+1 |
|\ | | | | | eth/downloader: fix nil panic caused by wrong variable use | ||||
| * | eth/downloader: fix nil panic caused by wrong variable use | Péter Szilágyi | 2015-05-13 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #948 from karalabe/fix-downlaoder-activepeer-shadow | Jeffrey Wilcke | 2015-05-13 | 3 | -24/+16 |
|\ | | | | | eth/downloader: fix active peer shadowing, polish func names | ||||
| * | eth/downloader: fix active peer shadowing, polish func names | Péter Szilágyi | 2015-05-13 | 3 | -24/+16 |
|/ | |||||
* | Merge pull request #946 from Gustav-Simonsson/fix_geth_unlock_account | Jeffrey Wilcke | 2015-05-13 | 1 | -1/+2 |
|\ | | | | | Fix hex conversion in --unlock and log when successful | ||||
| * | Fix hex conversion in --unlock and log when successful | Gustav Simonsson | 2015-05-13 | 1 | -1/+2 |
|/ | |||||
* | Merge branch 'release/0.9.20' into develop | obscuren | 2015-05-13 | 2 | -2/+2 |
|\ | |||||
| * | eth: 100% tx propagation | obscuren | 2015-05-13 | 1 | -1/+1 |
| | | |||||
| * | cmd/geth: bump version to 0.9.20 | obscuren | 2015-05-13 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #631 from Gustav-Simonsson/improve_key_store_crypto | Jeffrey Wilcke | 2015-05-13 | 22 | -196/+241 |
|\ | | | | | Improve key store crypto | ||||
| * | Change default keystore dir | Gustav Simonsson | 2015-05-13 | 5 | -6/+6 |
| | | |||||
| * | Fix address type in js test | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | |||||
| * | fix hex conversion bug in RPC for byte slices | Gustav Simonsson | 2015-05-12 | 1 | -1/+8 |
| | | |||||
| * | Fix natspec test (again x2) types | Gustav Simonsson | 2015-05-12 | 1 | -1/+2 |
| | | |||||
| * | Update key store to new spec but keep address field for now | Gustav Simonsson | 2015-05-12 | 7 | -72/+59 |
| | | | | | | | | * Also fix address types post-rebase | ||||
| * | Fix natspec e2e test accounts type (again) | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | |||||
| * | Fix HEX hack in xeth accounts() | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | |||||
| * | Address pull request comments; key header and hex encoding | Gustav Simonsson | 2015-05-12 | 3 | -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 Simonsson | 2015-05-12 | 2 | -16/+8 |
| | | | | | | | | This reverts commit a94d4ba0b53c4558ab838aaed635a2ff66ddfa53. | ||||
| * | Fix common.Address / []byte type conversions | Gustav Simonsson | 2015-05-12 | 2 | -2/+2 |
| | | |||||
| * | Add key header to unencrypted key file | Gustav Simonsson | 2015-05-12 | 2 | -8/+16 |
| | | |||||
| * | Add key header to encrypted keys | Gustav Simonsson | 2015-05-12 | 2 | -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 API | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | | |||||
| * | Use common.Address type for accounts.Address | Gustav Simonsson | 2015-05-12 | 11 | -64/+69 |
| | | |||||
| * | Improve key store passphrase crypto | Gustav Simonsson | 2015-05-12 | 4 | -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 mixing | Gustav Simonsson | 2015-05-12 | 4 | -64/+15 |
|/ | |||||
* | Merge pull request #933 from bas-vk/issue928 | Jeffrey Wilcke | 2015-05-12 | 18 | -64/+58 |
|\ | | | | | replaced path with platform aware filepath module | ||||
| * | fixed identing | Bas van Kervel | 2015-05-12 | 1 | -1/+1 |
| | | |||||
| * | removed redundant newlines in import block | Bas van Kervel | 2015-05-12 | 7 | -11/+5 |
| | | |||||
| * | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 18 | -64/+64 |
| | | |||||
* | | Merge pull request #932 from obscuren/develop | Jeffrey Wilcke | 2015-05-12 | 7 | -15/+40 |
|\ \ | |/ |/| | xeth, rpc: implement eth_estimateGas. Closes #930 | ||||
| * | sol: skipped source checking step | obscuren | 2015-05-12 | 3 | -7/+13 |
| | | |||||
| * | xeth: use same semantics as block processer for transient calls | obscuren | 2015-05-12 | 1 | -4/+3 |
| | | |||||
| * | rpc: hexData => hexNum | obscuren | 2015-05-12 | 1 | -2/+2 |
| | | |||||
| * | xeth, rpc: implement eth_estimateGas. Closes #930 | obscuren | 2015-05-12 | 3 | -7/+26 |
| | | |||||
| * | eth, ethdb: lower the amount of open files & improve err messages for db | obscuren | 2015-05-12 | 1 | -0/+1 |
|/ | | | | Closes #880 | ||||
* | Merge pull request #899 from ethersphere/solc-test-fix | Jeffrey Wilcke | 2015-05-12 | 4 | -6/+21 |
|\ | | | | | compiler, cli/js: fix solidity compiler tests | ||||
| * | compiler, cli/js: fix solidity compiler tests failing when a different ↵ | zelig | 2015-05-12 | 4 | -6/+21 |
| | | | | | | | | version of solc installed | ||||
* | | Merge pull request #929 from obscuren/develop | Jeffrey Wilcke | 2015-05-12 | 2 | -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 db | obscuren | 2015-05-12 | 2 | -5/+8 |
|/ | | | | Closes #880 | ||||
* | Merge pull request #925 from obscuren/worker_owned_accounts | Jeffrey Wilcke | 2015-05-12 | 2 | -29/+44 |
|\ | | | | | miner, cmd/geth: miner will not ignored owned account transactions | ||||
| * | miner, cmd/geth: miner will not ignored owned account transactions | obscuren | 2015-05-12 | 2 | -29/+44 |
|/ | | | | Miner does not ignore low gas txs from accounts that are owned. | ||||
* | Merge pull request #918 from obscuren/cpu_miner_fixes | Jeffrey Wilcke | 2015-05-12 | 11 | -46/+50 |
|\ | | | | | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | ||||
| * | eth, eth/downloader: moved pending queue error message to debug | obscuren | 2015-05-11 | 2 | -3/+4 |
| | | |||||
| * | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | obscuren | 2015-05-11 | 9 | -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, clearer | Péter Szilágyi | 2015-05-11 | 2 | -4/+4 |
| | | |||||
| * | eth/downloader: revert to demotion, use harsher penalty | Péter Szilágyi | 2015-05-11 | 2 | -8/+19 |
| | | |||||
| * | eth/downloader: fix #910, thread safe peers & polishes | Péter Szilágyi | 2015-05-11 | 4 | -161/+210 |
| | | |||||
* | | Merge pull request #915 from karalabe/downloader-threading-fixes | Jeffrey Wilcke | 2015-05-11 | 4 | -159/+219 |
|\ \ | |/ |/| | eth/downloader: fix #910, thread safe peers & polishes | ||||
| * | eth/downloader: use count instead of peers, clearer | Péter Szilágyi | 2015-05-11 | 2 | -4/+4 |
| | | |||||
| * | eth/downloader: revert to demotion, use harsher penalty | Péter Szilágyi | 2015-05-11 | 2 | -8/+19 |
| | | |||||
| * | eth/downloader: fix #910, thread safe peers & polishes | Péter Szilágyi | 2015-05-11 | 4 | -161/+210 |
| | | |||||
* | | Merge pull request #920 from tgerring/issue917 | Jeffrey Wilcke | 2015-05-11 | 1 | -2/+2 |
|\ \ | | | | | | | Return 32-byte hashes from GetWork | ||||
| * | | Return 32-byte hashes from GetWork | Taylor Gerring | 2015-05-11 | 1 | -2/+2 |
| | | | | | | | | | | | | Ensures that the Get Work results are a consistent length. Closes #917 | ||||
* | | | Merge pull request #914 from ethersphere/develop | Jeffrey Wilcke | 2015-05-11 | 6 | -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.Hash | Daniel A. Nagy | 2015-05-11 | 1 | -4/+4 |
| | | | |||||
| * | | Interactive signature creation refactored into separate doSign function. | Daniel A. Nagy | 2015-05-11 | 1 | -20/+20 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:ethereum/go-ethereum into develop | Daniel A. Nagy | 2015-05-11 | 22 | -103/+372 |
| |\ \ | |/ / |/| | | | | | | | | Conflicts: rpc/jeth.go | ||||
* | | | Merge pull request #908 from obscuren/develop | Jeffrey Wilcke | 2015-05-11 | 9 | -97/+135 |
|\ \ \ | | | | | | | | | core, eth, miner: improved tx removal & fatal error on db sync err | ||||
| * | | | miner: added log message for mining operation. #912 | obscuren | 2015-05-11 | 1 | -0/+4 |
| | | | | |||||
| * | | | core: optimise pending transaction processing | obscuren | 2015-05-11 | 2 | -86/+102 |
| | | | | |||||
| * | | | rpc: display error message to stdout | obscuren | 2015-05-11 | 1 | -0/+2 |
| | | | | |||||
| * | | | core, eth, miner: improved tx removal & fatal error on db sync err | obscuren | 2015-05-11 | 6 | -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-fail | Jeffrey Wilcke | 2015-05-11 | 4 | -2/+53 |
|\ \ \ | |_|/ |/| | | rpc, xeth: fix #881, gracefully handle offline whisper | ||||
| * | | rpc, xeth: fix #881, gracefully handle offline whisper | Péter Szilágyi | 2015-05-11 | 4 | -2/+53 |
|/ / | |||||
* | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-05-10 | 0 | -0/+0 |
|\ \ | |||||
| * \ | Merge pull request #894 from obscuren/develop | Jeffrey Wilcke | 2015-05-10 | 1 | -1/+4 |
| |\ \ | | | | | | | | | ethdb: set open file limit to 128 for all leveldbs | ||||
| * \ \ | Merge pull request #893 from obscuren/develop | Jeffrey Wilcke | 2015-05-10 | 3 | -2/+106 |
| |\ \ \ | | | | | | | | | | | eth: added a cancel method for the downloader | ||||
* | | | | | cmd/geth, cmd/mist: version 0.9.19 | obscuren | 2015-05-10 | 2 | -2/+2 |
| |_|/ / |/| | | | |||||
* | | | | ethdb: set open file limit to 128 for all leveldbs | obscuren | 2015-05-10 | 1 | -1/+4 |
| |/ / |/| | | |||||
* | | | eth: added a cancel method for the downloader | obscuren | 2015-05-10 | 3 | -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 bump | obscuren | 2015-05-09 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #888 from obscuren/developv0.9.18 | Jeffrey Wilcke | 2015-05-09 | 8 | -15/+88 |
|\ \ | | | | | | | miner, flags: Configurable gas price & log flag change | ||||
| * | | cmd/geth: bump version 0.9.18 | obscuren | 2015-05-09 | 1 | -1/+1 |
| | | | |||||
| * | | miner, tests: fixed block test | obscuren | 2015-05-09 | 2 | -1/+6 |
| | | | |||||
| * | | miner: start/stop mutex locked. Closes #887 | obscuren | 2015-05-09 | 1 | -0/+9 |
| | | | |||||
| * | | miner: moved gasprice to non-method | obscuren | 2015-05-09 | 1 | -9/+12 |
| | | | |||||
| * | | miner, cmd/geth: settable gas price from flags and console | obscuren | 2015-05-09 | 3 | -0/+44 |
| | | | | | | | | | | | | | | | * --gasprice "<num>" flag * admin.miner.setGasPrice( <num> ) | ||||
| * | | cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosity | obscuren | 2015-05-09 | 4 | -13/+25 |
|/ / | |||||
| * | Signature test. | Daniel A. Nagy | 2015-05-09 | 1 | -0/+28 |
| | | |||||
| * | Merge branch 'develop' of github.com:ethereum/go-ethereum into develop | Daniel A. Nagy | 2015-05-08 | 23 | -441/+1203 |
| |\ | |/ |/| | |||||
* | | version 0.9.17v0.9.17 | obscuren | 2015-05-08 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #863 from karalabe/ordered-block-download | Jeffrey Wilcke | 2015-05-08 | 13 | -383/+939 |
|\ \ | | | | | | | eth/downloader: prioritize block fetch based on chain position, cap memo... | ||||
| * | | eth/downloader: fix leftover state between syncs | Péter Szilágyi | 2015-05-08 | 1 | -1/+4 |
| | | | |||||
| * | | eth, eth/downloader: handle sync errors a bit more gracefully | Péter Szilágyi | 2015-05-08 | 4 | -48/+48 |
| | | | |||||
| * | | eth, eth/downloader: make synchronize thread safe | Péter Szilágyi | 2015-05-08 | 5 | -82/+22 |
| | | | |||||
| * | | eth/downloader: fix priority queue reset, add throttling test | Péter Szilágyi | 2015-05-07 | 6 | -21/+111 |
| | | | |||||
| * | | eth/downloader: fix expiration not running while fetching | Péter Szilágyi | 2015-05-07 | 2 | -34/+32 |
| | | | |||||
| * | | eth/downloader: prioritize block fetch based on chain position, cap memory use | Péter Szilágyi | 2015-05-07 | 11 | -273/+798 |
| | | | |||||
* | | | Merge pull request #885 from fjl/p2p-fixes | Jeffrey Wilcke | 2015-05-08 | 6 | -39/+69 |
|\ \ \ | | | | | | | | | p2p: more last-minute fixes | ||||
| * | | | p2p: drop connections with no matching protocols | Felix Lange | 2015-05-08 | 2 | -4/+21 |
| | | | | |||||
| * | | | cmd/utils: bump default maxpeers to 25 | Felix Lange | 2015-05-08 | 1 | -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 limit | Felix Lange | 2015-05-08 | 1 | -1/+1 |
| | | | | |||||
| * | | | p2p: fix disconnect at capacity | Felix Lange | 2015-05-08 | 4 | -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-dialing | Jeffrey Wilcke | 2015-05-08 | 6 | -19/+180 |
|\ \ \ | | | | | | | | | p2p: throttled handshakes | ||||
| * | | | p2p: increase the handshake timeout in the tests | Péter Szilágyi | 2015-05-07 | 1 | -2/+2 |
| | | | | |||||
| * | | | cmd, eth, p2p: introduce pending peer cli arg, add tests | Péter Szilágyi | 2015-05-07 | 6 | -19/+170 |
| | | | | |||||
| * | | | p2p: reduce the concurrent handshakes to 10/10 in/out | Péter Szilágyi | 2015-05-07 | 1 | -2/+2 |
| | | | | |||||
| * | | | p2p: fix dial throttling race condition | Péter Szilágyi | 2015-05-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | p2p: fix a dialing race in the throttler | Péter Szilágyi | 2015-05-07 | 1 | -1/+1 |
| | | | | |||||
| * | | | p2p: limit the outbound dialing too | Péter Szilágyi | 2015-05-07 | 1 | -1/+11 |
| |/ / | |||||
* | | | Merge pull request #882 from zsfelfoldi/develop | Jeffrey Wilcke | 2015-05-08 | 1 | -2/+17 |
|\ \ \ | | | | | | | | | Otto.ToValue concurrency error fixed | ||||
| * | | | ToVal serialization fix | zsfelfoldi | 2015-05-08 | 1 | -2/+3 |
| | | | | |||||
| * | | | Otto.ToValue concurrency error fixed | zsfelfoldi | 2015-05-08 | 1 | -2/+16 |
| | | | | |||||
| | | * | Signing (almost) works. | Daniel A. Nagy | 2015-05-08 | 3 | -4/+3725 |
| | | | | |||||
| | | * | eth_sign added to API for signing arbitrary data. | Daniel A. Nagy | 2015-05-08 | 2 | -8/+8 |
| | | | | |||||
| | | * | New API call for signatures. | Daniel A. Nagy | 2015-05-08 | 3 | -0/+37 |
| |_|/ |/| | | |||||
* | | | Merge pull request #876 from obscuren/jsre_fixes | Jeffrey Wilcke | 2015-05-08 | 4 | -13/+7 |
|\ \ \ | | | | | | | | | jsre, cmd/geth: updated web3.js and altered settimeout | ||||
| * | | | updated ethereum.js | obscuren | 2015-05-08 | 1 | -0/+0 |
| | | | | |||||
| * | | | jsre, cmd/geth: updated web3.js and altered settimeout | obscuren | 2015-05-08 | 3 | -13/+7 |
|/ / / | |||||
* | | | Merge pull request #875 from Gustav-Simonsson/test_updates | Jeffrey Wilcke | 2015-05-08 | 52 | -4920/+9983 |
|\ \ \ | | | | | | | | | Test updates | ||||
| * | | | Add bcTotalDifficultyTest and unskip now working tx tests | Gustav Simonsson | 2015-05-07 | 3 | -6/+6 |
| | | | | |||||
| * | | | Update JSON test files | Gustav Simonsson | 2015-05-07 | 49 | -4914/+9977 |
| | |/ | |/| | |||||
* | | | Merge pull request #833 from ethersphere/frontier/solidity | Jeffrey Wilcke | 2015-05-08 | 21 | -503/+1449 |
|\ \ \ | | | | | | | | | solidity compiler and contract metadocs integration | ||||
| * | | | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 21 | -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_changes | Jeffrey Wilcke | 2015-05-08 | 6 | -83/+221 |
|\ \ \ | |_|/ |/| | | xeth, core, event/filter, rpc: new block and transaction filters | ||||
| * | | xeth: getTransactionByHash, try pool if db fails | obscuren | 2015-05-08 | 1 | -0/+2 |
| | | | |||||
| * | | core: get transaction by hash from transaction pool | obscuren | 2015-05-08 | 1 | -0/+21 |
| | | | |||||
| * | | xeth: check proper queue for pending transaction filter | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | rpc: eth_transactionFilter => eth_newPendingTransactionFilter | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | xeth, core, event/filter, rpc: new block and transaction filters | obscuren | 2015-05-07 | 5 | -83/+198 |
| |/ | |||||
* | | Merge pull request #877 from Gustav-Simonsson/update_ethash_godep | Jeffrey Wilcke | 2015-05-08 | 8 | -21/+65 |
|\ \ | |/ |/| | Update ethash deps (more build fixes, tests) | ||||
| * | Update ethash deps (more build fixes, tests) | Gustav Simonsson | 2015-05-08 | 8 | -21/+65 |
|/ | |||||
* | updated ignore0.9.16 | obscuren | 2015-05-07 | 1 | -0/+1 |
| | |||||
* | Merge pull request #867 from ↵ | Jeffrey Wilcke | 2015-05-07 | 3 | -4/+1 |
|\ | | | | | | | | | Gustav-Simonsson/fix_block_tests_genesis_block_total_difficulty Fix block tests genesis block total difficulty | ||||
| * | Unskip now working tests, remove debug print | Gustav Simonsson | 2015-05-07 | 2 | -4/+0 |
| | | |||||
| * | Add genesis block total difficulty in tests | Gustav Simonsson | 2015-05-07 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #866 from fjl/p2p-last-minute | Jeffrey Wilcke | 2015-05-07 | 6 | -26/+24 |
|\ \ | | | | | | | Last minute p2p fixes | ||||
| * | | p2p: stop dialing at half the maximum peer count | Felix Lange | 2015-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | p2p, whisper: use glog for peer-level logging | Felix Lange | 2015-05-07 | 3 | -20/+16 |
| | | | |||||
| * | | p2p/discover: bump packet timeouts to 500ms | Felix Lange | 2015-05-07 | 1 | -2/+2 |
| | | | |||||
| * | | p2p/nat: less confusing error logging | Felix Lange | 2015-05-07 | 1 | -3/+5 |
| | | | |||||
* | | | cmd/geth: gofmt screwup fix | obscuren | 2015-05-07 | 1 | -0/+2 |
| | | | |||||
* | | | cmd/geth: version bump | obscuren | 2015-05-07 | 1 | -3/+1 |
| | | | |||||
* | | | Merge branch 'karalabe-cherry-trusted-peers' into develop | obscuren | 2015-05-07 | 7 | -39/+317 |
|\ \ \ | |/ / |/| | | |||||
| * | | fixed merge issue | obscuren | 2015-05-07 | 7 | -39/+317 |
|/| | | |||||
| * | | eth, p2p: add trusted node list beside static list | Péter Szilágyi | 2015-05-04 | 5 | -51/+59 |
| | | | |||||
| * | | cmd/mist: fix a stale error message | Péter Szilágyi | 2015-05-04 | 1 | -1/+1 |
| | | | |||||
| * | | p2p: add static node dialing test | Péter Szilágyi | 2015-05-04 | 2 | -13/+108 |
| | | | |||||
| * | | p2p: correct a leftover trusted -> static | Péter Szilágyi | 2015-05-01 | 1 | -4/+4 |
| | | | |||||
| * | | eth, p2p: rename trusted nodes to static, drop inbound extra slots | Péter Szilágyi | 2015-05-01 | 5 | -57/+59 |
| | | | |||||
| * | | cmd, eth, p2p: fix review issues enumerated by Felix | Péter Szilágyi | 2015-04-30 | 8 | -34/+25 |
| | | | |||||
| * | | p2p: add trust check to handshake, test privileged connectivity | Péter Szilágyi | 2015-04-30 | 4 | -15/+88 |
| | | | | | | | | | | | | | | | Conflicts: p2p/server_test.go | ||||
| * | | p2p: reduce the severity of a debug log | Péter Szilágyi | 2015-04-30 | 1 | -1/+1 |
| | | | |||||
| * | | cmd/geth, cmd/utils, eth: internalize trusted node config file | Péter Szilágyi | 2015-04-30 | 3 | -30/+20 |
| | | | |||||
| * | | cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers | Péter Szilágyi | 2015-04-30 | 8 | -27/+146 |
| | | | |||||
* | | | Merge pull request #791 from fjl/discover-sha3-distance | Jeffrey Wilcke | 2015-05-07 | 14 | -292/+651 |
|\ \ \ | |_|/ |/| | | p2p/discover: sha3-based node distance | ||||
| * | | p2p/discover: new distance metric based on sha3(id) | Felix Lange | 2015-05-06 | 6 | -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.Generate | Felix Lange | 2015-04-30 | 1 | -1/+14 |
| | | | |||||
| * | | p2p/discover: track sha3(ID) in Node | Felix Lange | 2015-04-30 | 8 | -99/+166 |
| | | | |||||
| * | | p2p, p2p/discover: protocol version 4 | Felix Lange | 2015-04-30 | 2 | -2/+2 |
| | | | |||||
| * | | p2p/discover: new endpoint format | Felix Lange | 2015-04-30 | 11 | -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_fixes | Jeffrey Wilcke | 2015-05-07 | 8 | -7/+133 |
|\ \ | | | | | | | core: transaction pool fixes & resending transactions | ||||
| * | | cmd/geth: limit `pendingTransactions` to owned accounts. | obscuren | 2015-05-07 | 1 | -33/+53 |
| | | | |||||
| * | | cmd/mist: updated xeth transact | obscuren | 2015-05-07 | 2 | -1/+2 |
| | | | |||||
| * | | cmd/geth: admin, switched price with limit in arguments | obscuren | 2015-05-07 | 1 | -2/+2 |
| | | | |||||
| * | | cmd/geth: implemented resending transaction with different gas settings | obscuren | 2015-05-07 | 1 | -0/+83 |
| | | | |||||
| * | | core: use removeTx instead of delete | obscuren | 2015-05-07 | 1 | -1/+1 |
| | | | |||||
| * | | xeth, rpc: added nonce setting through RPC and xeth transact | obscuren | 2015-05-07 | 4 | -5/+27 |
| | | | |||||
* | | | Merge pull request #859 from Gustav-Simonsson/ethash_reloaded | Jeffrey Wilcke | 2015-05-07 | 49 | -2394/+3419 |
|\ \ \ | |/ / |/| | | Ethash reloaded | ||||
| * | | Add ethash linux & windows build fixes | Gustav Simonsson | 2015-05-06 | 5 | -10/+11 |
| | | | |||||
| * | | Unskip working blocktests following ethash cache reusage | Gustav Simonsson | 2015-05-05 | 1 | -10/+4 |
| | | | |||||
| * | | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 9 | -27/+41 |
| | | | |||||
| * | | Update ethash Godeps files | Gustav Simonsson | 2015-05-05 | 39 | -2353/+3369 |
| | | | |||||
* | | | Merge pull request #771 from zsfelfoldi/develop | Jeffrey Wilcke | 2015-05-06 | 4 | -35/+299 |
|\ \ \ | |/ / |/| | | jsre: support for setTimeout, sendAsync | ||||
| * | | setTimeout and sendAsync implemented | zsfelfoldi | 2015-05-06 | 4 | -35/+299 |
|/ / | | | | | | | added and eval queue for serializing JSRE vm execution | ||||
* | | Merge pull request #856 from karalabe/windows-console-color-fix | Jeffrey Wilcke | 2015-05-05 | 10 | -2/+763 |
|\ \ | | | | | | | cmd/geth: colorize console output in windows | ||||
| * | | cmd/geth: fix #853 colorize console output in windows | Péter Szilágyi | 2015-05-05 | 10 | -2/+763 |
|/ / | |||||
* | | Merge pull request #835 from obscuren/handler_errors | Jeffrey Wilcke | 2015-05-04 | 9 | -318/+547 |
|\ \ | |/ |/| | eth, eth/downloader: error handlers and td checks | ||||
| * | core: added unix timestamp to debug output for block proc | obscuren | 2015-05-04 | 1 | -1/+1 |
| | | |||||
| * | downloader: hash downloading recovery | obscuren | 2015-05-03 | 2 | -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 peers | obscuren | 2015-05-03 | 2 | -1/+8 |
| | | |||||
| * | eth/downloader: put back hashes on block overflow error | obscuren | 2015-05-03 | 1 | -19/+14 |
| | | |||||
| * | eth/downloader: changed has to blockHashes for chain linking | obscuren | 2015-05-03 | 1 | -1/+1 |
| | | |||||
| * | core: print ignored blocks | obscuren | 2015-05-03 | 1 | -1/+1 |
| | | |||||
| * | eth/downloader: added additional tests | obscuren | 2015-05-03 | 2 | -4/+73 |
| | | |||||
| * | eth,core: changed NewTicker to Tick | obscuren | 2015-05-03 | 2 | -6/+6 |
| | | |||||
| * | core: added 'ignored' status | obscuren | 2015-05-01 | 1 | -2/+3 |
| | | |||||
| * | eth, eth/downloader: Moved block processing & graceful shutdown | obscuren | 2015-05-01 | 6 | -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 queue | obscuren | 2015-04-30 | 2 | -3/+15 |
| | | |||||
| * | core: added a wait group to chain manager for graceful shutdown | obscuren | 2015-04-30 | 2 | -0/+9 |
| | | |||||
| * | core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D) | obscuren | 2015-04-30 | 1 | -0/+4 |
| | | |||||
| * | core, eth: verify td of received blocks | obscuren | 2015-04-30 | 2 | -3/+25 |
| | | |||||
| * | eth, eth/downloader: remove bad peers from peer set | obscuren | 2015-04-30 | 2 | -17/+29 |
|/ | | | | Peers in the eth protocol handler are now being ignored for catch up. | ||||
* | Merge pull request #830 from obscuren/downloader-missing-parent | Jeffrey Wilcke | 2015-04-30 | 15 | -33/+117 |
|\ | | | | | eth/downloader: missing parent improvement | ||||
| * | cmd/geth: bump version to 0.9.14 | obscuren | 2015-04-30 | 1 | -1/+1 |
| | | |||||
| * | core: remove txs from queue in addition to removal of pending | obscuren | 2015-04-30 | 2 | -1/+49 |
| | | |||||
| * | core: added some additional chain tests for shortest chain | obscuren | 2015-04-30 | 2 | -5/+30 |
| | | |||||
| * | eth: rely on p2p to determine block propagation | obscuren | 2015-04-30 | 1 | -1/+1 |
| | | |||||
| * | p2p: added received at to peer message | obscuren | 2015-04-30 | 2 | -3/+5 |
| | | | | | | | | | | p2p.Msg.ReceivedAt can be used for determining block propagation from begining to end. | ||||
| * | core/types, eth: meassure and display propagation times | obscuren | 2015-04-30 | 2 | -1/+5 |
| | | |||||
| * | eth/downloader: drop block | obscuren | 2015-04-30 | 1 | -1/+1 |
| | | |||||
| * | core: fixed tetst to reflect (int, error) return by insertChain | obscuren | 2015-04-29 | 2 | -4/+4 |
| | | |||||
| * | eth/downloader: ignore orphan blocks in the downloader. | obscuren | 2015-04-29 | 1 | -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 chain | obscuren | 2015-04-29 | 7 | -14/+15 |
|/ | |||||
* | Merge pull request #825 from obscuren/develop | Jeffrey Wilcke | 2015-04-29 | 6 | -35/+117 |
|\ | | | | | core: chain fork fix | ||||
| * | eth/downloader: reset the chain when parent is missing during processing | obscuren | 2015-04-29 | 1 | -0/+2 |
| | | |||||
| * | cmd/geth: bump version number | obscuren | 2015-04-29 | 1 | -1/+1 |
| | | |||||
| * | core: fixed chain reorg during splits | obscuren | 2015-04-29 | 2 | -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() output | obscuren | 2015-04-29 | 1 | -1/+11 |
| | | |||||
| * | eth: check if downloader is busy before showing log message | obscuren | 2015-04-29 | 2 | -0/+9 |
| | | |||||
| * | core: seperated proccing mutex and getting mutex | obscuren | 2015-04-29 | 2 | -42/+48 |
| | | |||||
| * | core: bump database version | obscuren | 2015-04-29 | 1 | -1/+1 |
| | | |||||
| * | core: moved mutex locks in insert blocks to start of function | obscuren | 2015-04-29 | 1 | -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 startup | obscuren | 2015-04-29 | 1 | -10/+10 |
| | | |||||
* | | Merge pull request #822 from fjl/makefile-improvements | Jeffrey Wilcke | 2015-04-29 | 10 | -98/+121 |
|\ \ | |/ |/| | Makefile improvements | ||||
| * | Use Makefile for Travis tests | Felix Lange | 2015-04-29 | 5 | -36/+37 |
| | | |||||
| * | Makefile: add test target | Felix Lange | 2015-04-29 | 1 | -4/+7 |
| | | |||||
| * | cmd/mist: always enable whisper | Felix Lange | 2015-04-29 | 1 | -0/+1 |
| | | | | | | | | | | The default value of the Shh option is true, but cli can't see it because it is not part of the mist options. | ||||
| * | cmd/geth, cmd/mist: use gitCommit in node name | Felix Lange | 2015-04-29 | 2 | -15/+36 |
| | | |||||
| * | Makefile: set main.gitCommit when building | Felix Lange | 2015-04-29 | 2 | -2/+15 |
| | | |||||
| * | cmd/mist: add blockchain version flag | Felix Lange | 2015-04-29 | 1 | -0/+1 |
| | | | | | | | | | | This is necessary because cli doesn't see the default value unless the flag is included. | ||||
| * | README: simplify build instructions | Felix Lange | 2015-04-29 | 1 | -40/+19 |
| | | |||||
| * | Makefile: clean should also delete Godeps/_workspace/pkg | Felix Lange | 2015-04-29 | 1 | -1/+1 |
| | | |||||
| * | build: run build commands from the fake workspace root | Felix Lange | 2015-04-29 | 1 | -1/+5 |
| | | | | | | | | This ensures that compiler error messages contain the correct path. | ||||
* | | Merge pull request #828 from tgerring/pathfixes | Jeffrey Wilcke | 2015-04-29 | 1 | -6/+7 |
|\ \ | |/ |/| | Remove path separator literals | ||||
| * | Remove path separator literals | Taylor Gerring | 2015-04-29 | 1 | -6/+7 |
|/ | |||||
* | Merge pull request #821 from karalabe/nodedb-fix | Jeffrey Wilcke | 2015-04-28 | 1 | -4/+6 |
|\ | | | | | p2p/discover: fix api issues caused by leveldb update | ||||
| * | p2p/discover: fix api issues caused by leveldb update | Péter Szilágyi | 2015-04-28 | 1 | -4/+6 |
| | | |||||
* | | Merge pull request #820 from fjl/rlp-readkind-overflow | Jeffrey Wilcke | 2015-04-28 | 2 | -14/+40 |
|\ \ | |/ |/| | rlp: fix list bounds check overflow (found by go-fuzz) | ||||
| * | rlp: fix list bounds check overflow (found by go-fuzz) | Felix Lange | 2015-04-28 | 2 | -14/+40 |
| | | | | | | | | | | | | The list size checking overflowed if the size information for a value was bigger than the list. This is resolved by always performing the check before reading. | ||||
* | | Merge pull request #793 from karalabe/discovery-node-cache | Jeffrey Wilcke | 2015-04-28 | 10 | -47/+691 |
|\ \ | | | | | | | p2p/discover: persistent node database | ||||
| * | | p2p/discover: fix goroutine leak due to blocking on sync.Once | Péter Szilágyi | 2015-04-28 | 2 | -13/+24 |
| | | | |||||
| * | | p2p/discover: add node expirer and related tests | Péter Szilágyi | 2015-04-27 | 3 | -4/+116 |
| | | | |||||
| * | | p2p/discover: parametrize nodedb version, add persistency tests | Péter Szilágyi | 2015-04-27 | 3 | -11/+62 |
| | | | |||||
| * | | p2p/discover: drop a superfluous warning | Péter Szilágyi | 2015-04-27 | 1 | -1/+1 |
| | | | |||||
| * | | p2p/discover: wrap the pinger to update the node db too | Péter Szilágyi | 2015-04-27 | 1 | -4/+15 |
| | | | |||||
| * | | p2p/discover: use iterator based seeding, drop old protocol test | Péter Szilágyi | 2015-04-27 | 2 | -45/+118 |
| | | | |||||
| * | | p2p/discover: write the basic tests, catch RLP bug | Péter Szilágyi | 2015-04-27 | 3 | -8/+150 |
| | | | |||||
| * | | p2p/discovery: fix issues raised in the nodeDb PR | Péter Szilágyi | 2015-04-27 | 2 | -36/+32 |
| | | | |||||
| * | | cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design | Péter Szilágyi | 2015-04-24 | 9 | -169/+280 |
| | | | |||||
| * | | cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth. | Péter Szilágyi | 2015-04-24 | 9 | -144/+168 |
| | | | |||||
| * | | p2p/discovery: fix broken tests due to API update | Péter Szilágyi | 2015-04-24 | 2 | -4/+4 |
| | | | |||||
| * | | p2p/discovery: use the seed table for finding nodes, auto drop stale ones | Péter Szilágyi | 2015-04-24 | 2 | -5/+38 |
| | | | |||||
| * | | cmd, eth, p2p, p2p/discover: init and clean up the seed cache | Péter Szilágyi | 2015-04-24 | 6 | -9/+29 |
| | | | |||||
| * | | p2p/discover: store nodes in leveldb | Felix Lange | 2015-04-24 | 2 | -13/+73 |
| |/ | |||||
* | | Merge pull request #819 from karalabe/leveldb-update | Jeffrey Wilcke | 2015-04-28 | 155 | -10106/+7571 |
|\ \ | | | | | | | godeps: refresh leveldb, clean up stale dependencies | ||||
| * | | godeps: update leveldb and snappy, dump serpent-go | Péter Szilágyi | 2015-04-28 | 155 | -10106/+7571 |
| | | | |||||
* | | | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into develop | obscuren | 2015-04-28 | 20 | -216/+1024 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: rpc/api.go | ||||
| * \ \ | Merge pull request #738 from karalabe/whisper-cleanup | Jeffrey Wilcke | 2015-04-28 | 20 | -216/+1024 |
| |\ \ \ | | |/ / | |/| | | Whisper cleanup, part 3 | ||||
| | * | | rpc, xeth: finish cleaning up xeth | Péter Szilágyi | 2015-04-28 | 2 | -17/+36 |
| | | | | |||||
| | * | | whisper: add full filter test suite | Péter Szilágyi | 2015-04-28 | 2 | -2/+51 |
| | | | | |||||
| | * | | whisper: fix a small data race duirng peer connection | Péter Szilágyi | 2015-04-28 | 2 | -14/+12 |
| | | | | |||||
| | * | | xeth: fix un-decoded whisper RPC topic string bug | Péter Szilágyi | 2015-04-28 | 1 | -2/+16 |
| | | | | |||||
| | * | | rpc: use nil topic wildcards instead of "" | Péter Szilágyi | 2015-04-28 | 1 | -1/+1 |
| | | | | |||||
| | * | | ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcards | Péter Szilágyi | 2015-04-28 | 7 | -45/+215 |
| | | | | |||||
| | * | | rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filters | Péter Szilágyi | 2015-04-28 | 11 | -59/+373 |
| | | | | |||||
| | * | | whisper: fix spurious From identity with untargeted messages | Péter Szilágyi | 2015-04-28 | 1 | -1/+3 |
| | | | |