Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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). | ||||
| * | 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 |
|\ \ \ \ |