Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eth/fetcher: fix timer reset bug, add initial tests | Péter Szilágyi | 2015-06-18 | 3 | -6/+212 |
| | |||||
* | eth, eth/fetcher: separate notification sync mechanism | Péter Szilágyi | 2015-06-18 | 4 | -182/+293 |
| | |||||
* | Merge pull request #1282 from obscuren/state-cleanup | Jeffrey Wilcke | 2015-06-18 | 14 | -197/+176 |
|\ | | | | | core/state: cleanup & optimisations | ||||
| * | core/vm: clarified SSTORE | obscuren | 2015-06-18 | 1 | -7/+5 |
| | | |||||
| * | core: ValidatedHeader (method => function) | obscuren | 2015-06-18 | 2 | -66/+68 |
| | | | | | | | | | | Changed header validation method to function in preparation of @karalabe's PR. | ||||
| * | core, core/vm: state improvements and tx pool speed up | obscuren | 2015-06-17 | 3 | -32/+25 |
| | | | | | | | | Removed full tx validation during state transitions | ||||
| * | core: TMP testing code | obscuren | 2015-06-17 | 2 | -21/+23 |
| | | |||||
| * | core/state: removed trie copy | obscuren | 2015-06-17 | 1 | -1/+1 |
| | | |||||
| * | core/state: removed state from state object | obscuren | 2015-06-17 | 3 | -31/+20 |
| | | |||||
| * | core/state: fixed state tests | obscuren | 2015-06-17 | 1 | -13/+10 |
| | | |||||
| * | xeth, tests: fixed api | obscuren | 2015-06-17 | 3 | -6/+6 |
| | | |||||
| * | core/state: remove the need for common.Value | obscuren | 2015-06-17 | 1 | -2/+4 |
| | | |||||
| * | core/state, core/vm: reworked storage get / set to use common.Hash | obscuren | 2015-06-17 | 5 | -41/+45 |
| | | |||||
| * | core/state, core/vm: cleanup refunds | obscuren | 2015-06-17 | 3 | -21/+13 |
| | | |||||
* | | Merge pull request #1287 from karalabe/fix-downloader-cancel-interrupt | Jeffrey Wilcke | 2015-06-18 | 3 | -64/+60 |
|\ \ | | | | | | | eth, eth/downloader: fix processing interrupt caused by temp cancel | ||||
| * | | eth/downloader: extend slow test to fix even slower CI server... | Péter Szilágyi | 2015-06-18 | 1 | -1/+1 |
| | | | |||||
| * | | eth/downloader: always reenter processing if not exiting | Péter Szilágyi | 2015-06-18 | 2 | -39/+37 |
| | | | |||||
| * | | eth, eth/downloader: fix processing interrupt caused by temp cancel | Péter Szilágyi | 2015-06-18 | 3 | -24/+22 |
|/ / | |||||
* | | Merge pull request #1269 from bas-vk/console-batch | Jeffrey Wilcke | 2015-06-17 | 2 | -5/+31 |
|\ \ | | | | | | | added batch mode to console | ||||
| * | | added printing support for objects | Bas van Kervel | 2015-06-15 | 1 | -2/+3 |
| | | | |||||
| * | | added batch mode to console | Bas van Kervel | 2015-06-14 | 2 | -5/+30 |
| | | | |||||
* | | | Merge pull request #1281 from karalabe/fix-overlapping-delivery-hang | Jeffrey Wilcke | 2015-06-17 | 2 | -0/+35 |
|\ \ \ | | | | | | | | | eth/downloader: fix #1280, overlapping (good/bad) delivery hang | ||||
| * | | | eth/downloader: fix #1280, overlapping (good/bad) delivery hang | Péter Szilágyi | 2015-06-17 | 2 | -0/+35 |
| | |/ | |/| | |||||
* | | | Merge pull request #1274 from Gustav-Simonsson/update_ethash_godep | Jeffrey Wilcke | 2015-06-17 | 33 | -14768/+2634 |
|\ \ \ | |/ / |/| | | Update ethash godep | ||||
| * | | Update ethash Godep (again) | Gustav Simonsson | 2015-06-17 | 3 | -12/+23 |
| | | | |||||
| * | | Update ethash Godep | Gustav Simonsson | 2015-06-16 | 16 | -13958/+76 |
| | | | |||||
| * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-06-16 | 16 | -802/+2539 |
|/ / | |||||
* | | cmd/geth: bump 0.9.31 | obscuren | 2015-06-16 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'release/0.9.30' into develop | obscuren | 2015-06-16 | 1 | -1/+1 |
|\ \ | |||||
| * | | cmd/geth: bump version number 0.9.30 | obscuren | 2015-06-16 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1260 from obscuren/tx-drop-low-tx | Jeffrey Wilcke | 2015-06-16 | 8 | -24/+60 |
|\ \ | | | | | | | core: drop low gas tx | ||||
| * | | rpc/api: fixed default gas-(price) issue. | obscuren | 2015-06-15 | 2 | -7/+10 |
| | | | |||||
| * | | core: moved check for max queue to checkQueue | obscuren | 2015-06-15 | 2 | -26/+12 |
| | | | | | | | | | | | | | | | Moved the queue to check to the checkQueue method so no undeeded loops need to be initiated or sorting needs to happen twice. | ||||
| * | | core: reduce max allowed queued txs per address | obscuren | 2015-06-15 | 2 | -0/+30 |
| | | | | | | | | | | | | | | | Transactions in the queue are now capped to a maximum of 200 transactions. This number is completely arbitrary. | ||||
| * | | core, miner: tx pool drops txs below ask price | obscuren | 2015-06-15 | 4 | -6/+23 |
| |/ | |||||
* | | Merge pull request #990 from zsfelfoldi/gasprice | Jeffrey Wilcke | 2015-06-15 | 8 | -59/+319 |
|\ \ | | | | | | | eth: add GasPriceOracle | ||||
| * | | Changed miner and gpo min gas price to 1 szabo | zsfelfoldi | 2015-06-15 | 1 | -6/+6 |
| | | | |||||
| * | | fixed rpc/api.GasPrice | zsfelfoldi | 2015-06-15 | 1 | -1/+1 |
| | | | |||||
| * | | fixed xeth.gpo = nil bug | zsfelfoldi | 2015-06-15 | 1 | -1/+4 |
| | | | |||||
| * | | removed duplicate function after rebase | zsfelfoldi | 2015-06-15 | 1 | -16/+2 |
| | | | |||||
| * | | fixed gas price corr. factor | zsfelfoldi | 2015-06-15 | 1 | -1/+1 |
| | | | |||||
| * | | fallback for uninitialized GPO config values | zsfelfoldi | 2015-06-15 | 1 | -0/+3 |
| | | | |||||
| * | | fixed initial base price bug | zsfelfoldi | 2015-06-15 | 1 | -0/+4 |
| | | | |||||
| * | | added missing source | zsfelfoldi | 2015-06-15 | 1 | -0/+174 |
| | | | |||||
| * | | fixed saving receipts | zsfelfoldi | 2015-06-15 | 6 | -54/+144 |
| |/ | |||||
* | | Merge pull request #1261 from fjl/p2p-no-writes-at-shutdown | Jeffrey Wilcke | 2015-06-15 | 2 | -28/+61 |
|\ \ | | | | | | | p2p: prevent writes at shutdown time | ||||
| * | | p2p: improve disconnect logging | Felix Lange | 2015-06-15 | 2 | -6/+7 |
| | | | |||||
| * | | p2p: track write errors and prevent writes during shutdown | Felix Lange | 2015-06-15 | 1 | -25/+57 |
| |/ | | | | | | | | | | | | | As of this commit, we no longer rely on the protocol handler to report write errors in a timely fashion. When a write fails, shutdown is initiated immediately and no new writes can start. This will also prevent new writes from starting after Server.Stop has been called. | ||||
* | | Merge pull request #1243 from karalabe/instrument-downloader-sync | Jeffrey Wilcke | 2015-06-15 | 9 | -468/+646 |
|\ \ | |/ |/| | eth, eth/downloader: separate concerns, clean up test suite | ||||
| * | eth: don't refetch non fitting blocks to avoid duplicates | Péter Szilágyi | 2015-06-15 | 1 | -1/+1 |
| | | |||||
| * | eth/downloader: detailed comment for the race corner case | Péter Szilágyi | 2015-06-15 | 1 | -4/+15 |
| | | |||||
| * | eth/downloader: fix import statistic reset, fetch hashes async | Péter Szilágyi | 2015-06-15 | 1 | -11/+14 |
| | | |||||
| * | eth, eth/downloader: do async block fetches, add dl tests | Péter Szilágyi | 2015-06-15 | 3 | -5/+47 |
| | | |||||
| * | eth/downloader: sanity test for multi peer syncs | Péter Szilágyi | 2015-06-15 | 1 | -0/+31 |
| | | |||||
| * | eth, eth/downloader: move block processing into the downlaoder | Péter Szilágyi | 2015-06-15 | 4 | -231/+253 |
| | | |||||
| * | eth/downloader: add valid peer during attacks (check interference) | Péter Szilágyi | 2015-06-15 | 1 | -93/+140 |
| | | |||||
| * | eth/downloader: instreument and test the sync peer drop | Péter Szilágyi | 2015-06-15 | 2 | -9/+66 |
| | | |||||
| * | eth: fix an accidental test compile error | Péter Szilágyi | 2015-06-15 | 1 | -3/+1 |
| | | |||||
| * | eth/downloader: support individual peers in the test suite | Péter Szilágyi | 2015-06-15 | 1 | -112/+113 |
| | | |||||
| * | eth/downloader: remove uneeded testing functions | Péter Szilágyi | 2015-06-15 | 2 | -37/+2 |
| | | |||||
| * | eth, eth/downloader: move peer removal into downloader | Péter Szilágyi | 2015-06-15 | 6 | -82/+83 |
|/ | |||||
* | Merge pull request #1255 from obscuren/chain-proc-interupt | Jeffrey Wilcke | 2015-06-12 | 2 | -2/+11 |
|\ | | | | | eth, core: interrupt the chain processing on stop | ||||
| * | core: changed interrupt strategy | obscuren | 2015-06-12 | 1 | -102/+101 |
| | | | | | | | | | | | | Removed chain manager's select/channel approach when checking for interrupts. Now using an atomic int32 instead which checked for every block processed. | ||||
| * | eth, core: interupt the chain processing on stop | obscuren | 2015-06-12 | 2 | -95/+105 |
| | | | | | | | | | | Added an additional channel which is used to interupt the chain manager when it's processing blocks. | ||||
* | | Merge pull request #1256 from obscuren/fix-printable-chars | Jeffrey Wilcke | 2015-06-12 | 5 | -52/+47 |
|\ \ | | | | | | | core/vm: fixed strange output for trace logging & error reporting | ||||
| * | | core/vm: Improved error reporting for trace logging | obscuren | 2015-06-12 | 4 | -46/+45 |
| | | | |||||
| * | | core/vm: fixed printable characters using unicode instead | obscuren | 2015-06-12 | 2 | -6/+2 |
| |/ | |||||
* | | Merge pull request #1254 from bas-vk/ipcwindowspathfix | Jeffrey Wilcke | 2015-06-12 | 4 | -5/+26 |
|\ \ | | | | | | | Invalid named pipe name | ||||
| * | | removed obsolete console flag | Bas van Kervel | 2015-06-12 | 2 | -2/+0 |
| | | | |||||
| * | | fixed windows ipc path issue | Bas van Kervel | 2015-06-12 | 4 | -4/+27 |
| | | | |||||
* | | | Merge pull request #1245 from bas-vk/ipcdatadirfix | Jeffrey Wilcke | 2015-06-12 | 2 | -2/+2 |
|\| | | |/ |/| | ipc socket always uses default path | ||||
| * | ipc socket always used default path | Bas van Kervel | 2015-06-12 | 2 | -2/+2 |
|/ | |||||
* | Merge pull request #1239 from bas-vk/rpc-apis | Jeffrey Wilcke | 2015-06-11 | 50 | -250/+7950 |
|\ | | | | | RPC refactoring | ||||
| * | fixed incomplete merge action | Bas van Kervel | 2015-06-11 | 2 | -703/+1 |
| | | |||||
| * | removed obsolete print statement | Bas van Kervel | 2015-06-11 | 2 | -89/+1 |
| | | |||||
| * | removed binary files | Bas van Kervel | 2015-06-11 | 2 | -7/+0 |
| | | |||||
| * | upgrade web3.js with _extend support | Bas van Kervel | 2015-06-11 | 7 | -6/+51 |
| | | |||||
| * | added net API | Bas van Kervel | 2015-06-11 | 1 | -0/+8 |
| | | |||||
| * | added miner API | Bas van Kervel | 2015-06-11 | 1 | -1/+5 |
| | | |||||
| * | added console binary | Bas van Kervel | 2015-06-11 | 1 | -5/+89 |
| | | |||||
| * | fixed windows build problem | Bas van Kervel | 2015-06-11 | 1 | -0/+702 |
| | | |||||
| * | changed send methods for backwards compatability in geth console | Bas van Kervel | 2015-06-11 | 2 | -2/+54 |
| | | |||||
| * | added console command | Bas van Kervel | 2015-06-11 | 5 | -26/+64 |
| | | |||||
| * | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 1 | -0/+5 |
| | | |||||
| * | restructured eth rpc API | Bas van Kervel | 2015-06-11 | 3 | -0/+122 |
| | | |||||
| * | added shh API | Bas van Kervel | 2015-06-11 | 6 | -5/+370 |
| | | |||||
| * | cleanup of javascript API | Bas van Kervel | 2015-06-11 | 10 | -89/+91 |
| | | |||||
| * | added txpool API | Bas van Kervel | 2015-06-11 | 4 | -1/+91 |
| | | |||||
| * | changed console welcome message | Bas van Kervel | 2015-06-11 | 1 | -12/+9 |
| | | |||||
| * | upgrade web3.js with _extend support | Bas van Kervel | 2015-06-11 | 6 | -2829/+230 |
| | | |||||
| * | added admin API | Bas van Kervel | 2015-06-11 | 14 | -203/+613 |
| | | |||||
| * | added personal API | Bas van Kervel | 2015-06-11 | 5 | -9/+259 |
| | | |||||
| * | added debug API | Bas van Kervel | 2015-06-11 | 9 | -712/+980 |
| | | |||||
| * | only load supported api's | Bas van Kervel | 2015-06-11 | 2 | -9/+81 |
| | | |||||
| * | added net API | Bas van Kervel | 2015-06-11 | 9 | -11/+141 |
| | | |||||
| * | added miner API | Bas van Kervel | 2015-06-11 | 5 | -1/+323 |
| | | |||||
| * | added console binary | Bas van Kervel | 2015-06-11 | 6 | -0/+402 |
| | | |||||
| * | fixed windows build problem | Bas van Kervel | 2015-06-11 | 1 | -1/+1 |
| | | |||||
| * | fixed unittest build problem | Bas van Kervel | 2015-06-11 | 1 | -1/+1 |
| | | |||||
| * | changed send methods for backwards compatability in geth console | Bas van Kervel | 2015-06-11 | 3 | -2/+57 |
| | | |||||
| * | added console command | Bas van Kervel | 2015-06-11 | 12 | -249/+4819 |
| | | |||||
| * | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 4 | -0/+50 |
| | | |||||
| * | added RPC/IPC support | Bas van Kervel | 2015-06-11 | 6 | -1/+887 |
| | | |||||
| * | restructured eth rpc API | Bas van Kervel | 2015-06-11 | 11 | -0/+2167 |
|/ | |||||
* | Merge pull request #1228 from obscuren/vm-optimisations | Jeffrey Wilcke | 2015-06-11 | 16 | -159/+200 |
|\ | | | | | core/vm: optimisations | ||||
| * | core: retry block now also parellise nonce checks | obscuren | 2015-06-11 | 1 | -2/+8 |
| | | |||||
| * | core/vm: added a comment regarding the uint64 vs *big.Int | obscuren | 2015-06-11 | 1 | -1/+3 |
| | | |||||
| * | cmd/geth: Added optional debug flag for reprocess block | obscuren | 2015-06-11 | 1 | -2/+5 |
| | | |||||
| * | cmd/evm: print trace when running programs | obscuren | 2015-06-11 | 1 | -0/+3 |
| | | |||||
| * | core/vm: reverse loop stack | obscuren | 2015-06-11 | 1 | -2/+3 |
| | | |||||
| * | core/vm: fixed a bug where `Data` ignored the stack ptr | obscuren | 2015-06-11 | 1 | -1/+1 |
| | | |||||
| * | core, core/vm: moved logger and added gas cost to struct logging | obscuren | 2015-06-11 | 4 | -10/+10 |
| | | |||||
| * | core/vm: unexported stack again. No longer required | obscuren | 2015-06-10 | 3 | -16/+16 |
| | | |||||
| * | core/vm: documentation and name changes | obscuren | 2015-06-10 | 2 | -18/+34 |
| | | |||||
| * | cmd/evm: implements vm.Environment | obscuren | 2015-06-10 | 1 | -0/+7 |
| | | |||||
| * | miner: update gas used after tx proc for pending block | obscuren | 2015-06-10 | 1 | -1/+2 |
| | | |||||
| * | core: log tx count for each set of blocks we're importing | obscuren | 2015-06-10 | 1 | -1/+4 |
| | | |||||
| * | core/vm, core/state: added storage to structured vm logging | obscuren | 2015-06-10 | 4 | -9/+39 |
| | | |||||
| * | core, core/vm: added structure logging | obscuren | 2015-06-10 | 9 | -149/+104 |
| | | | | | | | | This also reduces the time required spend in the VM | ||||
| * | core/vm: added structured logging | obscuren | 2015-06-10 | 2 | -8/+22 |
| | | |||||
| * | core/vm: changed program counter to uint64 | obscuren | 2015-06-10 | 2 | -13/+13 |
| | | |||||
* | | Merge pull request #1227 from karalabe/block-fetcher-optimisations | Jeffrey Wilcke | 2015-06-11 | 1 | -18/+37 |
|\ \ | | | | | | | eth: optimize the notification/explicit fetch mechanism | ||||
| * | | eth: dedup fetches to ensure no blocks are pulled twice | Péter Szilágyi | 2015-06-11 | 1 | -5/+23 |
| | | | |||||
| * | | eth: randomly fetch announced block (don't hammer origin) | Péter Szilágyi | 2015-06-11 | 1 | -4/+5 |
| | | | |||||
| * | | eth: discard fetched blocks that don't fit (no goroutine) | Péter Szilágyi | 2015-06-11 | 1 | -13/+13 |
| | | | |||||
* | | | Merge pull request #1224 from karalabe/report-import-progress | Jeffrey Wilcke | 2015-06-11 | 2 | -8/+51 |
|\ \ \ | | | | | | | | | cmd/geth, eth/downloader: collect and report import progress too | ||||
| * | | | eth/downloader: fetch the block hashes on the fly, when needed | Péter Szilágyi | 2015-06-11 | 1 | -9/+5 |
| | | | | |||||
| * | | | cmd/geth: round the import ETA before converting to string | Péter Szilágyi | 2015-06-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | cmd/geth, eth/downloader: rough guess at the import eta | Péter Szilágyi | 2015-06-10 | 2 | -4/+20 |
| | | | | |||||
| * | | | cmd/geth, eth/downloader: collect and report import progress too | Péter Szilágyi | 2015-06-10 | 2 | -8/+39 |
| | | | | |||||
* | | | | Merge pull request #1218 from tgerring/rpcsign | Jeffrey Wilcke | 2015-06-11 | 1 | -0/+8 |
|\ \ \ \ | | | | | | | | | | | Updated RPC sign test | ||||
| * | | | | Updated test | Taylor Gerring | 2015-06-11 | 1 | -0/+8 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #1223 from obscuren/tx-pool-vroooooom | Jeffrey Wilcke | 2015-06-11 | 3 | -41/+32 |
|\ \ \ \ | |/ / / |/| | | | core: fixed race condition in the transaction pool | ||||
| * | | | core: fixed race condition for subscriptions | obscuren | 2015-06-10 | 1 | -2/+1 |
| | | | | |||||
| * | | | core: fixed test | obscuren | 2015-06-10 | 1 | -4/+1 |
| | | | | |||||
| * | | | core: fixed race condition in the transaction pool | obscuren | 2015-06-10 | 2 | -35/+30 |
|/ / / | | | | | | | | | | Removed `Stop/Start` mechanism from the transaction pool. | ||||
* | | | Merge pull request #1230 from fjl/p2p-discover-fix-ping-test | Jeffrey Wilcke | 2015-06-10 | 4 | -48/+49 |
|\ \ \ | | | | | | | | | p2p/discover: deflake TestUDP_successfulPing | ||||
| * | | | p2p/discover: use separate rand.Source instances in tests | Felix Lange | 2015-06-10 | 2 | -15/+19 |
| | | | | | | | | | | | | | | | | rand.Source isn't safe for concurrent use. | ||||
| * | | | p2p/discover: deflake TestUDP_successfulPing | Felix Lange | 2015-06-10 | 2 | -33/+30 |
|/ / / | |||||
* | | | Merge pull request #1222 from obscuren/state-vm-test-suit-fix | Jeffrey Wilcke | 2015-06-10 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | tests: check gas limit error | ||||
| * | | tests: check gas limit error | obscuren | 2015-06-10 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #1221 from karalabe/fix-p2p-dial-test | Felix Lange | 2015-06-10 | 1 | -1/+2 |
|\ \ | |/ |/| | p2p: fix a close race in the dial test | ||||
| * | p2p: fix a close race in the dial test | Péter Szilágyi | 2015-06-10 | 1 | -1/+2 |
|/ | |||||
* | cmd/geth: develop version bump 0.9.29 | obscuren | 2015-06-10 | 1 | -1/+1 |
| | |||||
* | Merge branch 'release/0.9.28' into develop | obscuren | 2015-06-10 | 6 | -25/+46 |
|\ | |||||
| * | rpc: skip test if solc version doesn't match | obscuren | 2015-06-10 | 1 | -1/+1 |
| | | |||||
| * | core, xeth: moved nonce management burden from xeth to txpool | obscuren | 2015-06-10 | 4 | -23/+44 |
| | | |||||
| * | cmd/geth: bumped version number 0.9.28 | obscuren | 2015-06-10 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1220 from karalabe/fix-chain-deadlock2 | Jeffrey Wilcke | 2015-06-10 | 2 | -6/+18 |
|\ | | | | | core: fix a lock annoyance and potential deadlock | ||||
| * | event/filter: hack around data race in the test | Péter Szilágyi | 2015-06-10 | 1 | -1/+6 |
| | | |||||
| * | core: fix a race condition accessing the gas limit | Péter Szilágyi | 2015-06-10 | 1 | -3/+5 |
| | | |||||
| * | core: fix a lock annoyance and potential deadlock | Péter Szilágyi | 2015-06-10 | 1 | -4/+9 |
|/ | |||||
* | Merge pull request #1212 from fjl/p2p-eth-block-timeout | Jeffrey Wilcke | 2015-06-10 | 8 | -362/+341 |
|\ | | | | | eth, p2p: improve write timeouts and behaviour under load | ||||
| * | core, eth: document that result of GetTransactions is modifiable | Felix Lange | 2015-06-09 | 2 | -2/+5 |
| | | |||||
| * | eth/downloader: fix hash fetch timeout handling | Felix Lange | 2015-06-09 | 1 | -12/+18 |
| | | | | | | | | Fixes #1206 | ||||
| * | p2p: bump global write timeout to 20s | Felix Lange | 2015-06-09 | 1 | -1/+1 |
| | | | | | | | | | | The previous value of 5 seconds causes timeouts for legitimate messages if large messages are sent. | ||||
| * | eth: add protocol tests | Felix Lange | 2015-06-09 | 1 | -336/+190 |
| | | | | | | | | The protocol tests were commented out when eth/downloader was introduced. | ||||
| * | eth: limit number of sent transactions based on message size | Felix Lange | 2015-06-09 | 2 | -9/+109 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nodes that are out of sync will queue many transactions, which causes the initial transactions message to grow very large. Larger transactions messages can make communication impossible if the message is too big to send. Big transactions messages also exhaust egress bandwidth, which degrades other peer connections. The new approach to combat these issues is to send transactions in smaller batches. This commit introduces a new goroutine that handles delivery of all initial transaction transfers. Size-limited packs of transactions are sent to one peer at a time, conserving precious egress bandwidth. | ||||
| * | eth: limit number of sent blocks based on message size | Felix Lange | 2015-06-09 | 1 | -2/+11 |
| | | | | | | | | | | If blocks get larger, sending 256 at once can make messages large enough to exceed the low-level write timeout. | ||||
| * | core/types: add Transaction.Size | Felix Lange | 2015-06-09 | 1 | -0/+7 |
|/ | |||||
* | Merge pull request #1213 from karalabe/polish-console-prettyprinter | Jeffrey Wilcke | 2015-06-09 | 1 | -11/+28 |
|\ | | | | | jsre: patch up the pretty printer to have a decent look | ||||
| * | jsre: print function arguments too | Péter Szilágyi | 2015-06-09 | 1 | -1/+1 |
| | | |||||
| * | jsre: sort pretty print output, fields before funcs | Péter Szilágyi | 2015-06-09 | 1 | -3/+20 |
| | | |||||
| * | jsre: fix wrong separator comma placing due to non consistent field orders | Péter Szilágyi | 2015-06-09 | 1 | -7/+7 |
| | | |||||
* | | Merge pull request #1219 from Gustav-Simonsson/precompiled_ec_recover_padding | Jeffrey Wilcke | 2015-06-09 | 38 | -357/+20683 |
|\ \ | | | | | | | Precompiled ec recover padding | ||||
| * | | Remove unneeded if check on EC recover padding | Gustav Simonsson | 2015-06-09 | 1 | -3/+1 |
| | | | |||||
| * | | Skip BlockTests/bcValidBlockTests SimpleTx3 | Gustav Simonsson | 2015-06-09 | 1 | -1/+3 |
| | | | |||||
| * | | Pad precompiled EC recover input and add validations | Gustav Simonsson | 2015-06-09 | 1 | -8/+14 |
| | | | |||||
| * | | Skip VMTests RandomTests temporarily until they are fixed | Gustav Simonsson | 2015-06-09 | 1 | -0/+1 |
| | | | |||||
| * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-06-09 | 35 | -348/+20667 |
| | | | |||||
* | | | Merge pull request #1216 from karalabe/fix-eth-dataraces | Jeffrey Wilcke | 2015-06-09 | 5 | -38/+85 |
|\ \ \ | |/ / |/| | | Fix various data races in eth and core | ||||
| * | | core: fix up a deadlock caused by double locking | Péter Szilágyi | 2015-06-09 | 1 | -8/+5 |
| | | | |||||
| * | | p2p: fix close data race | Péter Szilágyi | 2015-06-09 | 1 | -0/+1 |
| | | | |||||
| * | | core: fix data race accessing ChainManager.currentBlock | Péter Szilágyi | 2015-06-09 | 1 | -1/+4 |
| | | | |||||
| * | | core: fix data race in accessing ChainManager.td | Péter Szilágyi | 2015-06-09 | 1 | -9/+8 |
| | | | |||||
| * | | eth: fix a data race in the hash announcement processing | Péter Szilágyi | 2015-06-09 | 1 | -10/+18 |
| | | | |||||
| * | | eth: fix data race accessing peer.td | Péter Szilágyi | 2015-06-09 | 3 | -14/+33 |
| | | | |||||
| * | | eth: fix data race accessing peer.recentHash | Péter Szilágyi | 2015-06-09 | 3 | -12/+32 |
| | | | |||||
* | | | Merge pull request #1217 from tgerring/rpcsign | Jeffrey Wilcke | 2015-06-09 | 2 | -13/+74 |
|\ \ \ | | | | | | | | | Fix RPC sign | ||||
| * | | | Fixed signing + tests | Taylor Gerring | 2015-06-09 | 2 | -13/+74 |
| | | | | |||||
* | | | | skip sol on new compiler | obscuren | 2015-06-09 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #1156 from tgerring/issue1145 | Jeffrey Wilcke | 2015-06-09 | 4 | -36/+73 |
|\ \ \ \ | |/ / / |/| | | | Differentiate between 0 and unspecified gas/gasprice | ||||
| * | | | gas -> gasprice | Taylor Gerring | 2015-06-09 | 1 | -2/+2 |
| | | | | |||||
| * | | | gas -> gasprice | Taylor Gerring | 2015-06-09 | 1 | -2/+2 |
| | | | | |||||
| * | | | Differentiate between 0 and unspecified gas/gasprice | Taylor Gerring | 2015-06-09 | 4 | -36/+73 |
| | | | | |||||
* | | | | Merge pull request #1215 from obscuren/issue1202 | Jeffrey Wilcke | 2015-06-09 | 1 | -5/+10 |
|\ \ \ \ | | | | | | | | | | | core: skip genesis block for reprocess. Closes #1202 | ||||
| * | | | | core: skip genesis block for reprocess. Closes #1202 | obscuren | 2015-06-09 | 1 | -5/+10 |
| | |_|/ | |/| | | |||||
* | | | | Fixed readme links and description | obscuren | 2015-06-09 | 1 | -2/+4 |
| |_|/ |/| | | |||||
* | | | Merge pull request #1188 from karalabe/newblockhashes-proposal | Jeffrey Wilcke | 2015-06-09 | 4 | -81/+262 |
|\ \ \ | | | | | | | | | eth: implement the NewBlockHashes protocol proposal | ||||
| * | | | eth: clean up pending announce download map, polish logs | Péter Szilágyi | 2015-06-09 | 2 | -14/+26 |
| | | | | |||||
| * | | | eth: split and handle explicitly vs. download requested blocks | Péter Szilágyi | 2015-06-09 | 2 | -23/+81 |
| | | | | |||||
| * | | | eth: fetch announced hashes from origin, periodically | Péter Szilágyi | 2015-06-09 | 2 | -32/+80 |
| | | | | |||||
| * | | | eth: mark blocks as known when broadcasting hashes too | Péter Szilágyi | 2015-06-08 | 1 | -0/+3 |
| | | | | |||||
| * | | | eth: implement the NewBlockHashes protocol proposal | Péter Szilágyi | 2015-06-08 | 3 | -63/+123 |
| | | | | |||||
* | | | | Merge pull request #1153 from karalabe/downloader-banned-starvation-attack | Jeffrey Wilcke | 2015-06-09 | 6 | -177/+315 |
|\ \ \ \ | |_|/ / |/| | | | eth/downloader: gather and ban hashes from invalid chains | ||||
| * | | | eth/downloader: test registration rejection on head ban | Péter Szilágyi | 2015-06-08 | 1 | -2/+10 |
| | | | | |||||
| * | | | eth/downloader: reject peer registration if head is banned | Péter Szilágyi | 2015-06-08 | 1 | -4/+15 |
| | | | | |||||
| * | | | eth/downloader: cap the hash ban set, add test for it | Péter Szilágyi | 2015-06-08 | 6 | -12/+64 |
| | | | | |||||
| * | | | eth/downloader: fix throttling test to be less timing dependent | Péter Szilágyi | 2015-06-08 | 1 | -3/+7 |
| | | | | |||||
| * | | | eth/downloader: fix another rebase error | Péter Szilágyi | 2015-06-08 | 1 | -2/+1 |
| | | | | |||||
| * | | | eth/downloader: preallocate the block cache | Péter Szilágyi | 2015-06-08 | 3 | -21/+14 |
| | | | | |||||
| * | | | eth/downloader: fix merge compile error | Péter Szilágyi | 2015-06-08 | 1 | -1/+1 |
| | | | | |||||
| * | | | eth/downloader: don't block hash deliveries while pulling blocks | Péter Szilágyi | 2015-06-08 | 1 | -17/+14 |
| | | | | |||||
| * | | | eth/downloader: update test for shitty travis | Péter Szilágyi | 2015-06-08 | 1 | -1/+1 |
| | | | | |||||
| * | | | eth/downloader: clean up and simplify the code a bit | Péter Szilágyi | 2015-06-08 | 1 | -13/+3 |
| | | | | |||||
| * | | | eth/downloader: short circuit sync if head hash is banned | Péter Szilágyi | 2015-06-08 | 1 | -0/+4 |
| | | | | |||||
| * | | | eth/downloader: accumulating hash bans for reconnecting attackers | Péter Szilágyi | 2015-06-08 | 2 | -5/+126 |
| | | | | |||||
| * | | | eth/downloader: clean up tests and unused variables | Péter Szilágyi | 2015-06-08 | 2 | -120/+79 |
| |/ / | |||||
* | | | Merge pull request #1211 from obscuren/genesis_writout_fix | Jeffrey Wilcke | 2015-06-09 | 2 | -7/+8 |
|\ \ \ | |_|/ |/| | | core: write accounts to statedb. Closes #1210 | ||||
| * | | core: write accounts to statedb. Closes #1210 | obscuren | 2015-06-09 | 2 | -7/+8 |
|/ / | |||||
* | | Merge pull request #1193 from tgerring/hotbackup | Jeffrey Wilcke | 2015-06-09 | 3 | -5/+55 |
|\ \ | | | | | | | Improve export command | ||||
| * | | Export should start with block 0 | Taylor Gerring | 2015-06-06 | 1 | -1/+1 |
| | | | |||||
| * | | Improved error checking | Taylor Gerring | 2015-06-06 | 1 | -3/+7 |
| | | | |||||
| * | | Cleanup | Taylor Gerring | 2015-06-06 | 2 | -3/+2 |
| | | | |||||
| * | | Allow export command to take first and last args | Taylor Gerring | 2015-06-06 | 2 | -1/+36 |
| | | | |||||
| * | | Allow exporting subset of chain | Taylor Gerring | 2015-06-06 | 1 | -2/+14 |
| | | | |||||
* | | | Merge pull request #1209 from obscuren/txpool_test_and_pending_fix | Jeffrey Wilcke | 2015-06-09 | 2 | -1/+24 |
|\ \ \ | | | | | | | | | core: added a test for missing nonces | ||||
| * | | | core: added a test for missing nonces | obscuren | 2015-06-09 | 2 | -1/+24 |
|/ / / | | | | | | | | | | | | | This test showed the logic in the queue was slightly flawed sending out transactions to its peer it couldn't even resolve itself. | ||||
* | | | Merge pull request #1199 from obscuren/settable_genesis_nonce | Jeffrey Wilcke | 2015-06-09 | 9 | -28/+84 |
|\ \ \ | | | | | | | | | core: settable genesis nonce | ||||
| * | | | core: settable genesis nonce | obscuren | 2015-06-09 | 9 | -28/+84 |
| | |/ | |/| | | | | | | | | | | | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes. | ||||
* | | | Merge pull request #1204 from carver/deep-log-crashfix | Jeffrey Wilcke | 2015-06-09 | 1 | -1/+1 |
|\ \ \ | | | | | | | | | crash fix: skip deep log if self.chain is not caught up | ||||
| * | | | crash fix: skip deep log if self.chain is not caught up | Jason Carver | 2015-06-09 | 1 | -1/+1 |
|/ / / | | | | | | | | | | @see trace https://gist.github.com/eupraxic/87fdfefe702c51d5944d | ||||
* / / | Fix blocktest | Taylor Gerring | 2015-06-09 | 1 | -3/+3 |
|/ / | |||||
* | | Merge pull request #1198 from fjl/core-fix-nonce-check | Jeffrey Wilcke | 2015-06-08 | 4 | -3/+74 |
|\ \ | | | | | | | core: fix nonce verification one more time | ||||
| * | | core: add bad block for the 'missing nonce check' fork | Felix Lange | 2015-06-08 | 1 | -0/+1 |
| | | | |||||
| * | | core: fix the nonce check one more time | Felix Lange | 2015-06-08 | 3 | -3/+73 |
| |/ | | | | | | | | | The block nonce verification was effectively disabled by a typo. This time, there is an actual test for it. | ||||
* / | added ARM builds | Jeffrey Wilcke | 2015-06-06 | 1 | -4/+4 |
|/ | |||||
* | cmd/geth: version bump 0.9.27 | obscuren | 2015-06-05 | 1 | -1/+1 |
| | |||||
* | wip | obscuren | 2015-06-05 | 1 | -2/+10 |
| | |||||
* | Merge pull request #1189 from karalabe/downloader-polishes | Jeffrey Wilcke | 2015-06-05 | 3 | -19/+50 |
|\ | | | | | eth/downloader: handle timeouts more gracefully | ||||
| * | eth/downloader: differentiate stale and nonexistent deliveries | Péter Szilágyi | 2015-06-05 | 2 | -19/+46 |
| | | |||||
| * | eth/downloader: log hard timeouts and reset capacity | Péter Szilágyi | 2015-06-05 | 2 | -0/+4 |
| | | |||||
* | | Merge pull request #1100 from karalabe/drop-sync-peer-on-empty-hash | Jeffrey Wilcke | 2015-06-05 | 2 | -3/+3 |
|\ \ | |/ |/| | eth, eth/downloader: fix #1098, elevate empty hash errors to peer drops | ||||
| * | eth, eth/downloader: fix #1098, elevate empty hash errors to peer drops | Péter Szilágyi | 2015-06-05 | 2 | -3/+3 |
|/ | |||||
* | Merge pull request #1185 from fjl/p2p-nat-timeouts | Jeffrey Wilcke | 2015-06-05 | 3 | -4/+10 |
|\ | | | | | p2p/nat: request timeouts for UPnP discovery | ||||
| * | p2p/nat: add timeout for UPnP SOAP requests | Felix Lange | 2015-06-05 | 1 | -0/+3 |
| | | |||||
| * | Godeps: update github.com/huin/goupnp to 5cff77a69fb22f5 | Felix Lange | 2015-06-05 | 2 | -4/+7 |
|/ | | | | This includes a fix adding a timeout to router discovery requests. | ||||
* | Merge pull request #1186 from obscuren/log_fixes | Jeffrey Wilcke | 2015-06-05 | 1 | -3/+3 |
|\ | | | | | tests: log coalescing fixes | ||||
| * | tests: use state logs instead own kept logs | obscuren | 2015-06-05 | 1 | -3/+3 |
|/ | |||||
* | Merge pull request #1181 from obscuren/txpool_fixes | Jeffrey Wilcke | 2015-06-05 | 25 | -347/+390 |
|\ | | | | | cmd: transaction pool fixes and improvements | ||||
| * | core: added fork test & double nonce test | obscuren | 2015-06-05 | 2 | -20/+75 |
| | | |||||
| * | crypto: return common.Address rather than raw bytes | obscuren | 2015-06-05 | 3 | -8/+8 |
| | | |||||
| * | core: documented changes in tx pool | obscuren | 2015-06-04 | 1 | -3/+30 |
| | | |||||
| * | core: only change the nonce if the account nonce is lower | obscuren | 2015-06-04 | 1 | -1/+3 |
| | | |||||
| * | skipped failing natspec tests | obscuren | 2015-06-04 | 2 | -2/+2 |
| | | |||||
| * | core: renamed txs to pending | obscuren | 2015-06-04 | 2 | -24/+24 |
| | | |||||
| * | cmd/geth, common/natspec: updating tests (still failing?) | obscuren | 2015-06-04 | 2 | -2/+2 |
| | | |||||
| * | xeth: use the correct nonce for creating transactions | obscuren | 2015-06-04 | 1 | -3/+2 |
| | | |||||
| * | core: test updates | obscuren | 2015-06-04 | 2 | -2/+1 |
| | | |||||
| * | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 6 | -104/+66 |
| | | | | | | | | | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). |