Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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). | ||||
| * | cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool | Felix Lange | 2015-06-04 | 2 | -3/+2 |
| | | |||||
| * | core: don't remove transactions after block processing | Felix Lange | 2015-06-04 | 4 | -11/+5 |
| | | | | | | | | | | The transaction pool drops processed transactions on its own during pool maintenance. | ||||
| * | core: update documentation comments for TxPool | Felix Lange | 2015-06-04 | 1 | -22/+25 |
| | | |||||
| * | core: remove unused code from TxPool | Felix Lange | 2015-06-04 | 1 | -41/+13 |
| | | |||||
| * | core: compute less transaction hashes in TxPool | Felix Lange | 2015-06-04 | 2 | -82/+82 |
| | | |||||
| * | wip | obscuren | 2015-06-04 | 3 | -10/+69 |
| | | |||||
| * | types: block json unmarshal method added | obscuren | 2015-06-04 | 3 | -6/+30 |
| | | |||||
| * | core/vm: cleanup and renames | obscuren | 2015-06-04 | 5 | -52/+0 |
| | | |||||
* | | Merge pull request #1184 from karalabe/nonstop-block-fetches | Jeffrey Wilcke | 2015-06-05 | 3 | -20/+33 |
|\ \ | |/ |/| | eth/downloader: fix #1178, don't request blocks beyond the cache bounds | ||||
| * | eth/downloader: drop log entry from peer, it's covered already | Péter Szilágyi | 2015-06-04 | 1 | -5/+0 |
| | | |||||
| * | eth/downloader: log after state updates, easier to debug | Péter Szilágyi | 2015-06-04 | 1 | -5/+3 |
| | | |||||
| * | eth/downloader: fix #1178, don't request blocks beyond the cache bounds | Péter Szilágyi | 2015-06-04 | 3 | -15/+35 |
|/ | |||||
* | Merge pull request #1167 from Gustav-Simonsson/check_ec_recover_err | Jeffrey Wilcke | 2015-06-04 | 4 | -18/+25 |
|\ | | | | | Add missing err checks on From() | ||||
| * | Add missing err checks on From() (skip RPC for now) | Gustav Simonsson | 2015-06-02 | 4 | -18/+25 |
| | | |||||
* | | Merge pull request #1151 from fjl/parallel-nonce-2 | Jeffrey Wilcke | 2015-06-04 | 1 | -67/+49 |
|\ \ | | | | | | | core: re-add parallel nonce checks | ||||
| * | | core: insert less length zero chains | Felix Lange | 2015-06-01 | 1 | -4/+5 |
| | | | | | | | | | | | | This reduces the amount of queueEvents that are sent internally. | ||||
| * | | core: re-add parallel nonce checks | Felix Lange | 2015-06-01 | 1 | -63/+44 |
| |/ | | | | | | | | | In this incancation, the processor waits until the nonce has been verified before handling the block. | ||||
* | | Merge pull request #1150 from fjl/fix-jumpdest | Jeffrey Wilcke | 2015-06-04 | 4 | -30/+173 |
|\ \ | | | | | | | core/vm: improve JUMPDEST analysis | ||||
| * | | tests/files: update tests to d309b4679a58d2 | Felix Lange | 2015-06-03 | 3 | -912/+1386 |
| | | | |||||
| * | | core/vm: check for 'no code' before doing any work | Felix Lange | 2015-06-03 | 1 | -5/+5 |
| | | | |||||
| * | | core/vm: improve JUMPDEST analysis | Felix Lange | 2015-06-03 | 3 | -25/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * JUMPDEST analysis is faster because less type conversions are performed. * The map of JUMPDEST locations is now created lazily at the first JUMP. * The result of the analysis is kept around for recursive invocations through CALL/CALLCODE. Fixes #1147 | ||||
| * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-05-29 | 7 | -3664/+4028 |
| | | | |||||
* | | | Merge pull request #1176 from karalabe/congestion-control | Jeffrey Wilcke | 2015-06-03 | 5 | -55/+72 |
|\ \ \ | | | | | | | | | eth/downloader: add a basic block download congestion control | ||||
| * | | | eth/downloader: demote peers if they exceed the soft limits at 1 blocks already | Péter Szilágyi | 2015-06-03 | 1 | -3/+8 |
| | | | | |||||
| * | | | eth/downloader: add a basic block download congestion control | Péter Szilágyi | 2015-06-03 | 5 | -55/+67 |
| | | | | |||||
* | | | | Merge pull request #1166 from Gustav-Simonsson/add_ec_sig_validations | Jeffrey Wilcke | 2015-06-03 | 3 | -22/+31 |
|\ \ \ \ | | | | | | | | | | | Add EC signature validations before call to libsecp256k1 | ||||
| * | | | | Initialise curve N value in package init | Gustav Simonsson | 2015-06-03 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | Add EC signature validations before call to libsecp256k1 | Gustav Simonsson | 2015-06-02 | 3 | -22/+29 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #1175 from karalabe/keccak-update | Jeffrey Wilcke | 2015-06-03 | 2 | -173/+409 |
|\ \ \ \ | |_|/ / |/| | | | crypto/sha3: pull in latest keccak from go crypto (45% speed increase) | ||||
| * | | | crypto/sha3: pull in latest keccak from go crypto (45% speed increase) | Péter Szilágyi | 2015-06-03 | 2 | -173/+409 |
|/ / / | |||||
* | | | Merge pull request #1169 from Gustav-Simonsson/unsupport_bruncles | Jeffrey Wilcke | 2015-06-03 | 11 | -4578/+5558 |
|\ \ \ | |/ / |/| | | Unsupport bruncles | ||||
| * | | Add new 0th gen uncle test | Gustav Simonsson | 2015-06-02 | 1 | -0/+1 |
| | | | |||||
| * | | Use older version of stSpecialTest until JUMPDEST fix is merged | Gustav Simonsson | 2015-06-02 | 1 | -124/+0 |
| | | | |||||
| * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-06-02 | 2 | -985/+1250 |
| | | | |||||
| * | | Unsupport bruncles | Gustav Simonsson | 2015-06-02 | 1 | -2/+2 |
| | | | |||||
| * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-06-02 | 9 | -4574/+5412 |
|/ / | |||||
* | | Merge pull request #1161 from tgerring/bootnode | Felix Lange | 2015-06-01 | 1 | -1/+1 |
|\ \ | | | | | | | Updated SA boot node | ||||
| * | | Update bootnode | Taylor Gerring | 2015-06-01 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #1155 from karalabe/fix-chainmanager-datarace | Felix Lange | 2015-05-30 | 1 | -2/+2 |
|\ \ | |/ |/| | core: fix #1154, sort out data race accessing the future blocks | ||||
| * | core: fix #1154, sort out data race accessing the future blocks | Péter Szilágyi | 2015-05-30 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'release/0.9.26' | obscuren | 2015-05-29 | 1 | -9/+8 |
|\ \ | |||||
| * | | core: moved guards | obscuren | 2015-05-29 | 1 | -9/+8 |
| | | | |||||
| * | | Merge branch 'release/0.9.26' into develop | obscuren | 2015-05-29 | 1 | -1/+1 |
| |\ \ | |||||
* | \ \ | Merge branch 'release/0.9.26' | obscuren | 2015-05-29 | 24 | -1986/+779 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | cmd/geth: bump version v0.9.26 | obscuren | 2015-05-28 | 1 | -1/+1 |
| |/ / | |||||
| * | | build server fix | obscuren | 2015-05-28 | 1 | -0/+4 |
| | | | |||||
| * | | Merge pull request #1142 from obscuren/100-pct-block-prop | Jeffrey Wilcke | 2015-05-28 | 1 | -2/+1 |
| |\ \ | | | | | | | | | eth: 100% block propogation | ||||
| | * | | eth: 100% block propogation | obscuren | 2015-05-28 | 1 | -2/+1 |
| |/ / | |||||
| * | | Merge pull request #1140 from Gustav-Simonsson/fix_account_unlock_logging | Jeffrey Wilcke | 2015-05-28 | 1 | -2/+2 |
| |\ \ | | | | | | | | | Validate account length and avoid slicing in logging | ||||
| | * | | Validate account length and avoid slicing in logging | Gustav Simonsson | 2015-05-28 | 1 | -2/+2 |
| | | | | |||||
| * | | | Merge pull request #1141 from obscuren/parallelisation-issue | Jeffrey Wilcke | 2015-05-28 | 2 | -25/+58 |
| |\ \ \ | | | | | | | | | | | Parallelisation issue | ||||
| | * | | | core: added bad block | obscuren | 2015-05-28 | 1 | -0/+1 |
| | | | | | |||||
| | * | | | core: log block hash during nonce error | obscuren | 2015-05-28 | 1 | -2/+2 |
| | | | | | |||||
| | * | | | core: partially removed nonce parallelisation and added merge error chk | obscuren | 2015-05-28 | 1 | -24/+56 |
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | Invalid forks are now detected Current setup of parellelisation actually inserts bad blocks. This fix is tmp until a better one is found | ||||
| * | | | Merge pull request #1132 from obscuren/log_optimisations | Jeffrey Wilcke | 2015-05-28 | 5 | -33/+124 |
| |\ \ \ | | |/ / | |/| | | core: log optimisations | ||||
| | * | | core: fixed an issue with storing receipts | obscuren | 2015-05-28 | 5 | -33/+124 |
| | | | | |||||
| * | | | Merge pull request #1137 from obscuren/web3_update | Jeffrey Wilcke | 2015-05-28 | 1 | -1546/+146 |
| |\ \ \ | | |_|/ | |/| | | cmd/geth: updated web3 | ||||
| | * | | cmd/geth: updated web3 | obscuren | 2015-05-28 | 1 | -1546/+146 |
| | | | | |||||
| * | | | Merge pull request #1123 from fjl/lean-blockchain-commands | Jeffrey Wilcke | 2015-05-28 | 7 | -267/+285 |
| |\ \ \ | | |/ / | |/| | | cmd/geth: leaner blockchain commands | ||||
| | * | | cmd/geth: don't flush databases after import | Felix Lange | 2015-05-28 | 1 | -5/+4 |
| | | | | |||||
| | * | | cmd/utils: use constant for import batch size | Felix Lange | 2015-05-28 | 1 | -3/+6 |
| | | | | |||||
| | * | | cmd/utils: skip batches with known blocks during import | Felix Lange | 2015-05-28 | 1 | -3/+16 |
| | | | | | | | | | | | | | | | | This makes block importing restartable. | ||||
| | * | | cmd/geth, cmd/utils: make chain importing interruptible | Felix Lange | 2015-05-28 | 2 | -10/+39 |
| | | | | | | | | | | | | | | | | | | | | | | | | Interrupting import with Ctrl-C could cause database corruption because the signal wasn't handled. utils.ImportChain now checks for a queued interrupt on every batch. | ||||
| | * | | cmd/utils: print errors only once if stdout and stderr are the same file | Felix Lange | 2015-05-28 | 1 | -3/+10 |
| | | | | |||||
| | * | | cmd/geth, cmd/utils: rename utils.Get* -> utils.Make* | Felix Lange | 2015-05-28 | 3 | -16/+21 |
| | | | | | | | | | | | | | | | | | | | | The renaming should make it clearer that these functions create a new instance for every call. @obscuren suggested this renaming a while ago. | ||||
| | * | | p2p/nat: bump timeout in TestAutoDiscRace | Felix Lange | 2015-05-28 | 1 | -1/+1 |
| | | | | |||||
| | * | | cmd/geth: move blockchain commands to chaincmd.go | Felix Lange | 2015-05-28 | 3 | -147/+167 |
| | | | | |||||
| | * | | cmd/mist: use utils.SetupLogger | Felix Lange | 2015-05-28 | 1 | -0/+4 |
| | | | | |||||
| | * | | cmd/geth, cmd/utils: don't use Ethereum for import, export and upgradedb | Felix Lange | 2015-05-28 | 3 | -134/+72 |
| | |/ | | | | | | | | | | | | | | | | The blockchain commands don't need the full stack. With this change, p2p, miner, downloader, etc are no longer started for blockchain operations. | ||||
| * | | Merge pull request #1135 from karalabe/tempban-invalid-hashes | Jeffrey Wilcke | 2015-05-28 | 5 | -12/+22 |
| |\ \ | | |/ | |/| | core, eth/downloader: expose the bad hashes, check in downloader | ||||
| | * | core, eth/downloader: expose the bad hashes, check in downloader | Péter Szilágyi | 2015-05-28 | 5 | -12/+22 |
| |/ | |||||
| * | Merge pull request #1128 from karalabe/hard-disconnect-trial | Jeffrey Wilcke | 2015-05-28 | 1 | -4/+12 |
| |\ | | | | | | | eth: hard disconnect if a peer is flaky | ||||
| | * | eth: hard disconnect if a peer is flaky | Péter Szilágyi | 2015-05-27 | 1 | -4/+12 |
| | | | |||||
| * | | Merge pull request #1129 from obscuren/database_cache_removal | Jeffrey Wilcke | 2015-05-28 | 3 | -59/+7 |
| |\ \ | | | | | | | | | ethdb, common: cache removal | ||||
| | * | | common, ethdb: removed caching and LastTD | obscuren | 2015-05-28 | 2 | -59/+6 |
| | | | | |||||
| | * | | core: adjust gas calculation | obscuren | 2015-05-27 | 1 | -0/+1 |
| | |/ | |||||
| * | | Merge pull request #1124 from karalabe/detaied-download-progress | Jeffrey Wilcke | 2015-05-28 | 1 | -2/+2 |
| |\ \ | | |/ | |/| | cmd/geth: expand admin.progress() to something meaningful | ||||
| | * | cmd/geth: expand admin.progress() to something meaningful | Péter Szilágyi | 2015-05-27 | 1 | -2/+2 |
| |/ | |||||
| * | Merge pull request #1121 from obscuren/miner_time_fix | Jeffrey Wilcke | 2015-05-27 | 2 | -9/+10 |
| |\ | | | | | | | Miner time fix | ||||
| | * | miner: Added 5 blocks wait in prep for #1067 | obscuren | 2015-05-27 | 1 | -4/+5 |
| | | | |||||
| | * | core, miner: fixed miner time issue and removed future blocks | obscuren | 2015-05-27 | 2 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | * Miner should no longer generate blocks with a time stamp less or equal than it's parent. * Future blocks are no longer processed and queued directly. Closes #1118 | ||||
| * | | Merge pull request #1112 from fjl/fix-console-exit | Jeffrey Wilcke | 2015-05-27 | 1 | -20/+44 |
| |\ \ | | | | | | | | | cmd/geth: exit the console cleanly when interrupted | ||||
| | * | | cmd/geth: exit the console cleanly when interrupted | Felix Lange | 2015-05-27 | 1 | -20/+44 |
| | | | | | | | | | | | | | | | | | | | | | | | | This fix applies mostly to unsupported terminals that do not trigger the special interrupt handling in liner. Supported terminals were covered because liner.Prompt returns an error if Ctrl-C is pressed. | ||||
| * | | | Merge pull request #1122 from Gustav-Simonsson/improve_validate_header_comments | Jeffrey Wilcke | 2015-05-27 | 1 | -4/+2 |
| |\ \ \ | | |_|/ | |/| | | Update ValidateHeader comments | ||||
| | * | | Update ValidateHeader comments | Gustav Simonsson | 2015-05-27 | 1 | -4/+2 |
| | | | | |||||
| * | | | Merge pull request #1067 from carver/deep-mining-log | Jeffrey Wilcke | 2015-05-27 | 1 | -0/+59 |
| |\ \ \ | | | | | | | | | | | miner: log locally mined blocks after they are 5-deep in the chain | ||||
| | * | | | deep-mining-log: need ring buffer to be one bigger for all-blocks-mined case | Jason Carver | 2015-05-27 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | deep-mining-log: only track non-stale blocks | Jason Carver | 2015-05-27 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | if you track stale blocks, then you quickly overflow your ring buffer in the local network case where you're mining every block and generating a lot of stales. | ||||
| | * | | | do not export ring buffer struct | Jason Carver | 2015-05-24 | 1 | -4/+4 |
| | | | | | |||||
| | * | | | do not export constant for when to log a deep block you mined | Jason Carver | 2015-05-24 | 1 | -4/+4 |
| | | | | | |||||
| | * | | | Log locally mined blocks, after they are 5-deep in the chain | Jason Carver | 2015-05-23 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helps determine which blocks are unlikely to end up as uncles * Store the 5 most recent locally mined block numbers * On every imported block, check if the 5-deep block num is in that store * Also confirm that the block is signed with miner's coinbase Why not just check the coinbase? This log is useful if you're running multiple miners and want to know if *this* miner is performing well. | ||||
| * | | | | Merge pull request #1120 from Gustav-Simonsson/revert_gas_limit_change | Jeffrey Wilcke | 2015-05-27 | 1 | -1/+1 |
| |\ \ \ \ | | | |/ / | | |/| | | Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / G… | ||||
| | * | | | Revert "core: block.gasLimit - parent.gasLimit <= parent.gasLimit / ↵ | Gustav Simonsson | 2015-05-27 | 1 | -1/+1 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | GasLimitBoundDivisor" This reverts commit be2b0501b5832c0b49f07cdf2db597cc34450199. | ||||
| * | | | Merge branch 'release/0.9.25' into develop | obscuren | 2015-05-27 | 1 | -1/+1 |
| |\ \ \ | |||||
* | \ \ \ | Merge branch 'release/0.9.25' | obscuren | 2015-05-27 | 20 | -242/+361 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | cmd/geth: bump version 0.9.25 | obscuren | 2015-05-27 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Merge pull request #1114 from obscuren/develop | Jeffrey Wilcke | 2015-05-27 | 1 | -1/+1 |
| |\ \ \ | | | | | | | | | | | core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitB… | ||||
| | * | | | core: block.gasLimit - parent.gasLimit <= parent.gasLimit / GasLimitBoundDivisor | obscuren | 2015-05-27 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Merge pull request #1113 from obscuren/develop | Jeffrey Wilcke | 2015-05-27 | 3 | -8/+34 |
| |\ \ \ | | |_|/ | |/| | | core: block database version update | ||||
| | * | | cmd/geth: Flush instead of close. This solves a nil ptr error | obscuren | 2015-05-27 | 1 | -6/+6 |
| | | | | |||||
| | * | | cmd/geth, core: Updated DB version & seedhash debug method | obscuren | 2015-05-27 | 2 | -2/+28 |
| |/ / | |||||
| * | | p2p/discover: bond with seed nodes too (runs only if findnode failed) | Péter Szilágyi | 2015-05-27 | 1 | -7/+4 |
| | | | |||||
| * | | p2p/discovery: fix a cornercase loop if no seeds or bootnodes are known | Péter Szilágyi | 2015-05-27 | 1 | -5/+9 |
| | | | |||||
| * | | p2p/discover: force refresh if the table is empty | Péter Szilágyi | 2015-05-27 | 1 | -13/+41 |
| | | | |||||
| * | | p2p/discover: permit temporary bond failures for previously known nodes | Péter Szilágyi | 2015-05-27 | 1 | -12/+15 |
| | | | |||||
| * | | p2p/discover: watch find failures, evacuate on too many, rebond if failed | Péter Szilágyi | 2015-05-27 | 1 | -8/+47 |
| | | | |||||
| * | | p2p/discover: add support for counting findnode failures | Péter Szilágyi | 2015-05-27 | 2 | -3/+25 |
| | | | |||||
| * | | Merge pull request #1108 from karalabe/fine-seeding | Felix Lange | 2015-05-27 | 5 | -20/+52 |
| |\ \ | | | | | | | | | Fine tune seeder and p2p peer handling | ||||
| | * | | cmd/geth: fix js console test for p2p server update | Péter Szilágyi | 2015-05-27 | 1 | -1/+3 |
| | | | | |||||
| | * | | p2p: fix Self() panic if listening is disabled | Péter Szilágyi | 2015-05-27 | 1 | -0/+9 |
| | | | | |||||
| | * | | cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag | Péter Szilágyi | 2015-05-27 | 4 | -9/+37 |
| | | | | |||||
| | * | | eth, p2p: start the p2p server even if maxpeers == 0 | Péter Szilágyi | 2015-05-26 | 2 | -10/+3 |
| | | | | |||||
| * | | | Merge pull request #1111 from obscuren/neg_tx_check | Jeffrey Wilcke | 2015-05-27 | 4 | -2/+20 |
| |\ \ \ | | | | | | | | | | | core: check negative value transactions. Closes #1109 | ||||
| | * | | | core: check negative value transactions. Closes #1109 | obscuren | 2015-05-27 | 4 | -2/+20 |
| |/ / / | |||||
| * | | | Merge pull request #1090 from fjl/jsre-fixes | Jeffrey Wilcke | 2015-05-27 | 5 | -176/+124 |
| |\ \ \ | | | | | | | | | | | jsre: fixes for concurrent use, improved timer handling | ||||
| | * | | | cmd/geth, jsre, rpc: run all JS code on the event loop | Felix Lange | 2015-05-25 | 5 | -176/+124 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All calls to the JS VM are now wrapped. In order to make this somewhat more foolproof, the otto VM is now a local variable inside the event loop. | ||||
| * | | | | Merge pull request #1086 from debris/solidity_std | Jeffrey Wilcke | 2015-05-27 | 1 | -0/+2 |
| |\ \ \ \ | | | | | | | | | | | | | common/compiler: compile solidity contracts with std library | ||||
| | * | | | | compile solidity contracts with std library | Marek Kotewicz | 2015-05-25 | 1 | -0/+2 |
| | | |_|/ | | |/| | | |||||
| * | | | | Merge pull request #1106 from karalabe/silence-useless-downloader-log | Jeffrey Wilcke | 2015-05-27 | 1 | -1/+1 |
| |\ \ \ \ | | |_|_|/ | |/| | | | eth/downloader: silence "Added N blocks from..." if N == 0 | ||||
| | * | | | eth/downloader: silence "Added N blocks from..." if N == 0 | Péter Szilágyi | 2015-05-26 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'develop' | obscuren | 2015-05-26 | 1 | -6/+16 |
|\| | | | | |||||
| * | | | | core: prevent crash when last block fails | obscuren | 2015-05-26 | 1 | -6/+16 |
| |/ / / | |||||
* | | | | Merge branch 'develop' | obscuren | 2015-05-26 | 30 | -1468/+7980 |
|\| | | | |||||
| * | | | cmd/geth: bumped version to 0.9.24 | obscuren | 2015-05-26 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge pull request #1014 from fjl/p2p-dialer-3000 | Jeffrey Wilcke | 2015-05-26 | 30 | -1468/+7980 |
| |\ \ \ | | | | | | | | | | | p2p: new dialer, peer management without locks | ||||
| | * | | | p2p: decrease frameReadTimeout to 30s | Felix Lange | 2015-05-25 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This detects hanging connections sooner. We send a ping every 15s and other implementation have similar limits. | ||||
| | * | | | p2p: new dialer, peer management without locks | Felix Lange | 2015-05-25 | 11 | -1329/+2118 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The most visible change is event-based dialing, which should be an improvement over the timer-based system that we have at the moment. The dialer gets a chance to compute new tasks whenever peers change or dials complete. This is better than checking peers on a timer because dials happen faster. The dialer can now make more precise decisions about whom to dial based on the peer set and we can test those decisions without actually opening any sockets. Peer management is easier to test because the tests can inject connections at checkpoints (after enc handshake, after protocol handshake). Most of the handshake stuff is now part of the RLPx code. It could be exported or move to its own package because it is no longer entangled with Server logic. | ||||
| | * | | | p2p/discover: add ReadRandomNodes | Felix Lange | 2015-05-25 | 2 | -1/+83 |
| | | | | | |||||
| | * | | | p2p: decrease maximum message size for devp2p to 1kB | Felix Lange | 2015-05-25 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous limit was 10MB which is unacceptable for all kinds of reasons, the most important one being that we don't want to allow the remote side to make us allocate 10MB at handshake time. | ||||
| | * | | | Godeps: add github.com/davecgh/go-spew | Felix Lange | 2015-05-25 | 16 | -0/+5776 |
| | | | | | |||||
| | * | | | p2p: delete Server.Broadcast | Felix Lange | 2015-05-25 | 4 | -136/+0 |
| | | | | | |||||
| | * | | | eth: stop p2p.Server on shutdown | Felix Lange | 2015-05-25 | 1 | -1/+1 |
| | | |/ | | |/| | |||||
* | | | | Merge branch 'develop' | obscuren | 2015-05-26 | 0 | -0/+0 |
|\ \ \ \ | |||||
| * \ \ \ | Merge branch 'release/0.9.24' into develop | obscuren | 2015-05-26 | 1 | -1/+1 |
| |\ \ \ \ | | |/ / / | |/| | | | |||||
* | | | | | Merge branch 'release/0.9.24' | obscuren | 2015-05-26 | 24 | -4606/+6703 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | cmd/geth: bumped version to 0.9.24 | obscuren | 2015-05-26 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Merge pull request #1099 from obscuren/fork_fix | Jeffrey Wilcke | 2015-05-26 | 9 | -4481/+6478 |
| |\ \ \ | | | | | | | | | | | Fork fix | ||||
| | * | | | tests: removed missing block test | obscuren | 2015-05-26 | 1 | -4/+0 |
| | | | | | |||||
| | * | | | core: ban hash 38f5bb...a714bc | obscuren | 2015-05-26 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc ignored. | ||||
| | * | | | core/vm: Fork fix. Removal of appending 0 bytes in memset | obscuren | 2015-05-26 | 1 | -6/+2 |
| | | | | | |||||
| | * | | | tests: updated | obscuren | 2015-05-26 | 6 | -4471/+6475 |
| |/ / / | |||||
| * | | | Merge pull request #1102 from karalabe/maintain-block-origins | Jeffrey Wilcke | 2015-05-26 | 5 | -23/+39 |
| |\ \ \ | | | | | | | | | | | eth, eth/downloader: surface downloaded block origin, drop on error | ||||
| | * | | | eth, eth/downloader: surface downloaded block origin, drop on error | Péter Szilágyi | 2015-05-26 | 5 | -23/+39 |
| | | | | | |||||
| * | | | | Merge pull request #1101 from obscuren/issue-1096 | Jeffrey Wilcke | 2015-05-26 | 1 | -15/+3 |
| |\ \ \ \ | | |/ / / | |/| | | | core/vm: Cleanups & SUB output fix. Closes #1096 | ||||
| | * | | | core/vm: Cleanups & SUB output fix. Closes #1096 | obscuren | 2015-05-26 | 1 | -15/+3 |
| | | | | | |||||
| * | | | | Merge pull request #1078 from carver/patch-1 | Felix Lange | 2015-05-25 | 1 | -1/+1 |
| |\ \ \ \ | | |_|/ / | |/| | | | eth: expand acronym in log message from TD | ||||
| | * | | | expand acronym in log message from TD | Jason Carver | 2015-05-23 | 1 | -1/+1 |
| | | |/ | | |/| | | | | | to total difficulty | ||||
| * | | | Merge pull request #1066 from karalabe/peer-db-polishes | Felix Lange | 2015-05-25 | 3 | -25/+99 |
| |\ \ \ | | |/ / | |/| | | p2p/discover: evacuate self from node database during iterations | ||||
| | * | | p2p/discover: fix #838, evacuate self entries from the node db | Péter Szilágyi | 2015-05-22 | 3 | -25/+99 |
| | | | | |||||
| | * | | p2p/discover: fix database presistency test folder | Péter Szilágyi | 2015-05-22 | 1 | -3/+3 |
| | | | | |||||
| * | | | Merge pull request #1077 from obscuren/disasm | Jeffrey Wilcke | 2015-05-22 | 2 | -1/+29 |
| |\ \ \ | | |_|/ | |/| | | core/vm, rpc: added disasm to `ext_` RPC | ||||
| | * | | core/vm, rpc: added disasm to `ext_` RPC | obscuren | 2015-05-22 | 2 | -1/+29 |
| |/ / | |||||
| * | | Merge pull request #1076 from obscuren/rpc_sign | Jeffrey Wilcke | 2015-05-22 | 2 | -42/+42 |
| |\ \ | | | | | | | | | core: added RPC sign back in | ||||
| | * | | core: added RPC sign back in | obscuren | 2015-05-22 | 2 | -42/+42 |
| | | | | |||||
| * | | | Merge pull request #1072 from Gustav-Simonsson/add_random_tests | Jeffrey Wilcke | 2015-05-22 | 1 | -16/+10 |
| |\ \ \ | | | | | | | | | | | Add StateTests/RandomTests and VMTests/RandomTests | ||||
| | * | | | Add StateTests/RandomTests and VMTests/RandomTests | Gustav Simonsson | 2015-05-22 | 1 | -16/+10 |
| | |/ / | |||||
| * | | | Merge pull request #1074 from bas-vk/issue1068 | Jeffrey Wilcke | 2015-05-22 | 1 | -1/+1 |
| |\ \ \ | | |/ / | |/| | | make registrar available in console | ||||
| | * | | make registrar available in console | Bas van Kervel | 2015-05-22 | 1 | -1/+1 |
| |/ / | |||||
* | | | Merge branch 'develop' | obscuren | 2015-05-22 | 1 | -4/+5 |
|\| | | |||||
| * | | miner: moved break INSIDE the switch ... | obscuren | 2015-05-22 | 1 | -4/+5 |
| | | | |||||
| * | | Merge branch 'release/0.9.23' into develop | obscuren | 2015-05-22 | 2 | -1/+3 |
| |\ \ | | |/ | |/| | |||||
* | | | Merge branch 'release/0.9.23' | obscuren | 2015-05-22 | 43 | -938/+12300 |
|\ \ \ | | |/ | |/| | |||||
| * | | miner: on downloader.Done/Fail stop immediately. Ignore pending evs | obscuren | 2015-05-22 | 1 | -0/+2 |
| | | | |||||
| * | | cmd/geth: bump version 0.9.23 | obscuren | 2015-05-22 | 1 | -1/+1 |
| |/ | |||||
| * | Merge pull request #1055 from ethersphere/autodag | Jeffrey Wilcke | 2015-05-22 | 4 | -1/+127 |
| |\ | | | | | | | automatic DAG pregeneration for smooth epoch transitions | ||||
| | * | automatic DAG pregeneration for smooth epoch transitions | zelig | 2015-05-21 | 4 | -1/+127 |
| | | | | | | | | | | | | | | | | | | | | | | | | - backend: AutoDAG bool flag passed from cli/eth.Config to ethereum, autoDAG loop started if true - backend: autoDAG loop start/stop, remove previous DAG - cli: AutoDAG bool flag, off by default, but automatically ON if mining - admin jsre: add startAutoDAG stopAutoDAG and makeDAG in miner section - switch on/off DAG autogeneration when miner started/stopped on console | ||||
| * | | Merge pull request #1064 from karalabe/downloader-attacks | Jeffrey Wilcke | 2015-05-22 | 6 | -28/+99 |
| |\ \ | | | | | | | | | Fix two additional download vulnerabilities | ||||
| | * | | eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K | Péter Szilágyi | 2015-05-21 | 6 | -13/+14 |
| | | | | |||||
| | * | | eth/downloader: circumvent a forged block chain with known parent attack | Péter Szilágyi | 2015-05-21 | 2 | -13/+56 |
| | | | | |||||
| | * | | eth/downloader: prevent a peer from dripping bad hashes | Péter Szilágyi | 2015-05-21 | 2 | -9/+36 |
| | | | | |||||
| * | | | Merge pull request #1063 from bas-vk/issue1053 | Jeffrey Wilcke | 2015-05-21 | 1 | -2/+5 |
| |\ \ \ | | |_|/ | |/| | | prefix dapp key/value entries in extradb | ||||
| | * | | prefix dapp key/value entries in extradb | Bas van Kervel | 2015-05-21 | 1 | -2/+5 |
| |/ / | |||||
| * | | Merge pull request #1062 from Gustav-Simonsson/tests_updates | Jeffrey Wilcke | 2015-05-21 | 7 | -31/+9209 |
| |\ \ | | | | | | | | | Tests updates | ||||
| | * | | Add wrapper for BlockTests/bcWalletTest.json | Gustav Simonsson | 2015-05-18 | 1 | -0/+4 |
| | | | | |||||
| | * | | Handle call depth exception for CREATE | Gustav Simonsson | 2015-05-18 | 1 | -0/+6 |
| | | | | |||||
| | * | | Update Ethereum JSON test files | Gustav Simonsson | 2015-05-18 | 5 | -31/+9199 |
| | | | | |||||
| * | | | Merge pull request #1059 from obscuren/cleanup | Jeffrey Wilcke | 2015-05-21 | 5 | -36/+37 |
| |\ \ \ | | |/ / | |/| | | Cleanup | ||||
| | * | | miner: one-shot update loop | obscuren | 2015-05-21 | 1 | -0/+6 |
| | | | | |||||
| | * | | eth: reduced max open files for LevelDB | obscuren | 2015-05-21 | 1 | -1/+1 |
| | | | | |||||
| | * | | ethdb: documentation and corruption recovery | obscuren | 2015-05-21 | 1 | -8/+13 |
| | | | | |||||
| | * | | core: switched back to `set.Set` for uncle verification | obscuren | 2015-05-21 | 1 | -24/+14 |
| | | | | |||||
| | * | | xeth: removed `Value` | obscuren | 2015-05-21 | 1 | -3/+3 |
| |/ / | |||||
| * | | Merge pull request #1043 from obscuren/test_fixes | Jeffrey Wilcke | 2015-05-20 | 3 | -13/+35 |
| |\ \ | | | | | | | | | core/vm: optimisation on RETURN and updated tests | ||||
| | * | | tests: added conditional skip on long running VM tests | obscuren | 2015-05-20 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | Set the TEST_VM_COMPLEX env var to test complex vm tests which require a lot of ram and quite some time. | ||||
| | * | | core/vm: RETURN op code returns pointer to memory rather than copy | obscuren | 2015-05-20 | 3 | -5/+17 |
| | | | | |||||
| | * | | tests/vm: updated tests and skipped output for specific tests | obscuren | 2015-05-20 | 1 | -8/+11 |
| | | | | | | | | | | | | | | | | Skipped tests due to large return value | ||||
| * | | | Merge pull request #1049 from zsfelfoldi/receipts | Jeffrey Wilcke | 2015-05-20 | 2 | -0/+34 |
| |\ \ \ | | | | | | | | | | | Storing tx receipts in extraDb | ||||
| | * | | | Storing tx receipts in extraDb | zsfelfoldi | 2015-05-20 | 2 | -0/+34 |
| | | |/ | | |/| | |||||
| * | | | Merge pull request #1048 from ethersphere/cli-fixes | Jeffrey Wilcke | 2015-05-20 | 15 | -645/+2305 |
| |\ \ \ | | | | | | | | | | | CLI, JSRE admin and Solc improvements | ||||
| | * | | | rpc: NewNotAvailableError instead of NewNotImplementedError if no solc | zelig | 2015-05-20 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | fix eth.sign. now implemented in admin jsre until web3.js has it . | zelig | 2015-05-20 | 4 | -43/+68 |
| | | | | | |||||
| | * | | | multiple contract source for solidity compiler: returns contract array if ↵ | zelig | 2015-05-20 | 6 | -74/+91 |
| | | | | | | | | | | | | | | | | | | | | multiple contracts. fixes #1023 | ||||
| | * | | | update web3.js to 0.4.2 | zelig | 2015-05-20 | 1 | -475/+2061 |
| | | | | | |||||
| | * | | | add usage doc to wallet import | zelig | 2015-05-20 | 1 | -1/+9 |
| | | | | |