aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* console: allow optional password on the command lineBas van Kervel2016-03-081-9/+15
|
* Merge pull request #2293 from kobigurk/developFelix Lange2016-03-083-2/+19
|\ | | | | Adds --keystore
| * cmd/utils: add --keystoreKobi Gurkan2016-03-083-2/+19
| |
* | Merge pull request #2292 from remyroy/fix-solc-win-pathFelix Lange2016-03-081-1/+1
|\ \ | |/ |/| Fix path problem with Solidity compile with filepath.Glob on Windows
| * common/compiler: fix path problem with filepath.Glob on WindowsRémy Roy2016-03-081-1/+1
|/
* Merge pull request #2285 from karalabe/forward-empty-bodiesJeffrey Wilcke2016-03-031-1/+5
|\ | | | | eth: forward empty body responses to the downlaoder
| * eth: forward empty body responses to the downlaoderPéter Szilágyi2016-03-031-1/+5
|/
* Merge pull request #2280 from bas-vk/js-cleanupJeffrey Wilcke2016-03-032-168/+4
|\ | | | | console: cleanup old autocompletations relics
| * console: cleanup old autocompletations relicsBas van Kervel2016-03-022-168/+4
| |
* | Merge pull request #2267 from karalabe/pending-state-eventsPéter Szilágyi2016-03-022-2/+12
|\ \ | | | | | | core, miner: add PendingStateEvent to track non-log updates.
| * | core, miner: add PendingStateEvent to track non-log updatesPéter Szilágyi2016-02-292-2/+12
| | |
* | | Merge pull request #2278 from fjl/rpc-inproc-pipePéter Szilágyi2016-03-011-69/+19
|\ \ \ | |_|/ |/| | rpc: simplify inproc client
| * | rpc: simplify inproc clientFelix Lange2016-03-011-69/+19
|/ / | | | | | | Fixes #2277
* | Merge pull request #2221 from karalabe/expost-key-decryptionPéter Szilágyi2016-03-013-57/+126
|\ \ | | | | | | crypto: expose key decryption method to parse a string direclty
| * | crypto: expose key encryption method, add ping-pong testPéter Szilágyi2016-02-242-18/+71
| | |
| * | crypto: code polish + ensure key file contents match with namePéter Szilágyi2016-02-241-5/+12
| | |
| * | crypto: expose key decryption method to parse a string direcltyPéter Szilágyi2016-02-242-36/+45
| | |
* | | Merge pull request #2215 from bas-vk/estimategasPéter Szilágyi2016-03-012-35/+32
|\ \ \ | | | | | | | | core: improved check for contract creation
| * | | core: improved check for contract creationBas van Kervel2016-02-162-35/+32
| | | |
* | | | params: updated homestead blockJeffrey Wilcke2016-02-291-1/+1
| | | |
* | | | cmd/utils, params: homestead blockJeffrey Wilcke2016-02-292-1/+7
| | | |
* | | | Merge pull request #2269 from obscuren/repl-multi-lineJeffrey Wilcke2016-02-291-1/+0
|\ \ \ \ | | | | | | | | | | cmd/geth: removed multiline support
| * | | | cmd/geth: removed multiline supportJeffrey Wilcke2016-02-271-1/+0
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When attempting to paste very long lines of text the REPL goes completely fubar, never completing the paste. Removing the multiline support "fixes" this. Long lines of text are usually pasted when deploying contracts and as it stands right now makes creating new contracts from the REPL impossible.
* | | | Merge pull request #2273 from obscuren/lower-min-accepted-ga-priceJeffrey Wilcke2016-02-291-2/+2
|\ \ \ \ | | | | | | | | | | cmd/utils: lower the min accepted gas price for relay and GPO
| * | | | cmd/utils: lower the min accepted gas price for relay and GPO to 20 shannonJeffrey Wilcke2016-02-291-2/+2
|/ / / /
* | | | Merge pull request #2272 from karalabe/fix-premature-downloader-exitJeffrey Wilcke2016-02-291-1/+3
|\ \ \ \ | | | | | | | | | | eth/downloader: fix premature exit before notifying all part fetchers
| * | | | eth/downloader: fix premature exit before notifying all part fetchersPéter Szilágyi2016-02-291-1/+3
|/ / / /
* | | | Merge pull request #2266 from obscuren/up-gas-floorJeffrey Wilcke2016-02-271-1/+1
|\ \ \ \ | |/ / / |/| | | params: settle the Pi vs Tau dispute
| * | | params: settle the Pi vs Tau disputeJeffrey Wilcke2016-02-261-1/+1
| | | | | | | | | | | | | | | | This commit increases the artificial gas floor to 4712388
* | | | Merge pull request #2265 from fjl/downloader-memJeffrey Wilcke2016-02-261-1/+1
|\ \ \ \ | |/ / / |/| | | eth/downloader: fix header download limiting
| * | | eth/downloader: fix header download limitingFelix Lange2016-02-261-1/+1
|/ / / | | | | | | | | | Fixes #2201
* | | Merge pull request #2260 from karalabe/ethash-cache-fixesPéter Szilágyi2016-02-2427-3400/+190
|\ \ \ | |_|/ |/| | Godeps, eth, tests: update ethash, used shared for testing
| * | Godeps, eth, tests: update ethash, used shared for testingPéter Szilágyi2016-02-2427-3400/+190
| | |
* | | Merge pull request #2251 from karalabe/increase-downlaoder-queuePéter Szilágyi2016-02-242-1/+6
|\ \ \ | | | | | | | | eth/downloader: bump the download queue size to prevent starvation
| * | | eth/downloader: bump the download queue size to prevent starvationPéter Szilágyi2016-02-232-1/+6
| | | |
* | | | Merge pull request #2242 from jimenezrick/upstream-cryptoJeffrey Wilcke2016-02-2468-633/+925
|\ \ \ \ | | | | | | | | | | Closes #2241: Use Keccak-256 from golang.org/x/crypto/sha3 and mention explicitly
| * | | | generators: Don't generate params/protocol_params.go with +x bitRicardo Catalinas Jiménez2016-02-222-1/+1
| | | | |
| * | | | common/natspec: Remove old unnused fileRicardo Catalinas Jiménez2016-02-221-253/+0
| | | | |
| * | | | ethdb: Remove outdated README pointing to an old linkRicardo Catalinas Jiménez2016-02-221-11/+0
| | | | |
| * | | | common: Remove dead codeRicardo Catalinas Jiménez2016-02-222-36/+0
| | | | |
| * | | | common: Remove empty linesRicardo Catalinas Jiménez2016-02-221-2/+0
| | | | |
| * | | | crypto: Remove dead codeRicardo Catalinas Jiménez2016-02-222-11/+0
| | | | |
| * | | | crypto: Add backward compatible aliases for Sha3{,Hash}()Ricardo Catalinas Jiménez2016-02-221-0/+4
| | | | |
| * | | | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()Ricardo Catalinas Jiménez2016-02-2248-92/+92
| | | | | | | | | | | | | | | | | | | | As we aren't really using the standarized SHA-3
| * | | | crypto/sha3: Export Keccak-256 hash functionRicardo Catalinas Jiménez2016-02-221-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This hash function is slightly different from the standarized NIST SHA-3 as both of them use different domain separation bits.
| * | | | crypto/sha3: Remove import path checking from vendored codeRicardo Catalinas Jiménez2016-02-221-1/+1
| | | | |
| * | | | crypto/sha3: Copy latest code from "golang.org/x/crypto/sha3"Ricardo Catalinas Jiménez2016-02-2213-0/+1269
| | | | | | | | | | | | | | | | | | | | Revision: 1f22c0103821b9390939b6776727195525381532
| * | | | crypto/sha3: Delete old copied codeRicardo Catalinas Jiménez2016-02-222-671/+0
| | | | |
* | | | | Merge pull request #2218 from karalabe/time-drift-warningPéter Szilágyi2016-02-242-4/+149
|\ \ \ \ \ | |_|_|/ / |/| | | | p2p/discover: NTP sanity check clock drift in case of expirations
| * | | | p2p/discover: emphasize warning, add 10 min cooldownPéter Szilágyi2016-02-242-18/+39
| | | | |
| * | | | psp/discovery: NTP sanity check clock drift in case of expirationsPéter Szilágyi2016-02-242-4/+128
| | | | |
* | | | | Merge pull request #2252 from karalabe/disable-metrics-metaopsPéter Szilágyi2016-02-241-0/+4
|\ \ \ \ \ | |/ / / / |/| | | | ethdb: fully disable metrics if not requested (oops?)
| * | | | ethdb: fully disable metrics if not requested (oops?)Péter Szilágyi2016-02-231-0/+4
|/ / / /
* | | | Merge pull request #2147 from prasanna/add-vagrantfilePéter Szilágyi2016-02-232-0/+31
|\ \ \ \ | |_|/ / |/| | | Added Vagrantfile so that developers can spin up a VM to build geth
| * | | Added Vagrantfile so that developers can spin up a VM to build gethPrasanna Pendse2016-02-152-0/+31
| | |/ | |/|
* | | Merge pull request #2234 from obscuren/tx-rpc-fixPéter Szilágyi2016-02-231-9/+9
|\ \ \ | | | | | | | | eth: fixed homestead tx check
| * | | eth: fixed homestead tx checkJeffrey Wilcke2016-02-201-9/+9
| | |/ | |/| | | | | | | | | | | | | | | | When a block is queried for retrieval we should add a check whether the block falls within the frontier rules. If we'd always use `From` retrieving transaction might fail. This PR temporarily changes everything to `FromFrontier` (safe!).
* | | Merge pull request #2220 from karalabe/fix-rollback-lockPéter Szilágyi2016-02-231-2/+28
|\ \ \ | | | | | | | | eth/downloader: fix partial rollback and ancestor lookup
| * | | eth/downloader: fix partial rollback and ancestor lookupPéter Szilágyi2016-02-191-2/+28
| | |/ | |/|
* | | Merge pull request #2095 from karalabe/trie-node-iteratorPéter Szilágyi2016-02-236-11/+574
|\ \ \ | |_|/ |/| | core/state, trie: add node iterator, test state/trie sync consistency
| * | core/state, trie: switch iterator panics to error fieldsPéter Szilágyi2016-02-164-45/+62
| | |
| * | core/state, trie: node iterator reports parent hashes tooPéter Szilágyi2016-02-162-15/+27
| | |
| * | core/state, trie: surface iterator entry hashesPéter Szilágyi2016-02-166-20/+114
| | |
| * | core/state, trie: add node iterator, test state/trie sync consistencyPéter Szilágyi2016-02-164-11/+451
| |/
* | Merge pull request #2116 from obscuren/homesteadJeffrey Wilcke2016-02-19838-10016/+195245
|\ \ | | | | | | core, core/vm: consensus changes necessary for the homestead release
| * | core: Added new TD strategy which mitigate the risk for selfish miningJeffrey Wilcke2016-02-182-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assuming the following scenario where a miner has 15% of all hashing power and the ability to exert a moderate control over the network to the point where if the attacker sees a message A, it can't stop A from propagating, but what it **can** do is send a message B and ensure that most nodes see B before A. The attacker can then selfish mine and augment selfish mining strategy by giving his own blocks an advantage. This change makes the time at which a block is received less relevant and so the level of control an attacker has over the network no longer makes a difference. This change changes the current td algorithm `B_td > C_td` to the new algorithm `B_td > C_td || B_td == C_td && rnd < 0.5`.
| * | core, core/vm, crypto: fixes for homesteadJeffrey Wilcke2016-02-1824-195/+226
| | | | | | | | | | | | | | | | | | * Removed some strange code that didn't apply state reverting properly * Refactored code setting from vm & state transition to the executioner * Updated tests
| * | tests: updated homestead testsJeffrey Wilcke2016-02-18800-11178/+181716
| | |
| * | parmas, crypto, core, core/vm: homestead consensus protocol changesGustav Simonsson2016-02-1855-9278/+23927
| | | | | | | | | | | | | | | | | | | | | | | | * change gas cost for contract creating txs * invalidate signature with s value greater than secp256k1 N / 2 * OOG contract creation if not enough gas to store code * new difficulty adjustment algorithm * new DELEGATECALL op code
* | | Merge pull request #2227 from bas-vk/mathrandomFelix Lange2016-02-1912-46/+815
|\ \ \ | | | | | | | | console: seed random number generator
| * | | console: seed random number generatorBas van Kervel2016-02-1912-46/+815
| |/ /
* | | Merge pull request #2226 from fjl/eip-8Jeffrey Wilcke2016-02-1914-182/+764
|\ \ \ | |/ / |/| | p2p, p2p/discover: EIP-8 changes
| * | p2p: EIP-8 changesFelix Lange2016-02-194-149/+443
| | |
| * | p2p/discover: EIP-8 changesFelix Lange2016-02-192-1/+122
| | |
| * | rlp: add "tail" struct tagFelix Lange2016-02-196-26/+163
| | |
| * | crypto/ecies: make authenticated shared data workFelix Lange2016-02-122-6/+36
| | | | | | | | | | | | The s2 parameter was not actually written to the MAC.
* | | Merge pull request #2206 from fjl/update-depsJeffrey Wilcke2016-02-17664-66894/+164289
|\ \ \ | |_|/ |/| | Godeps: update all dependencies
| * | jsre: include constructor properties in auto-completionFelix Lange2016-02-153-14/+107
| | |
| * | cmd/geth, jsre: improve auto-completionFelix Lange2016-02-152-64/+68
| | |
| * | cmd/geth: enable multi-line modeFelix Lange2016-02-121-0/+1
| | | | | | | | | | | | | | | This was requested by some users earlier but liner didn't support it at the time. It does now.
| * | cmd/geth: gofmt js.go and rename ethereum.js to web3.jsFelix Lange2016-02-121-6/+6
| | | | | | | | | | | | | | | Fixing the filename matters now because it will actually show up in JS backtraces.
| * | jsre: fix pretty printer for upstream otto changeFelix Lange2016-02-121-2/+11
| | |
| * | cmd/geth: update monitor to new termui codePéter Szilágyi2016-02-111-25/+22
| | |
| * | Godeps: update all dependencies to latest codePéter Szilágyi2016-02-11659-66792/+164083
| |/
* | Merge pull request #2210 from obscuren/abi-typed-arrayJeffrey Wilcke2016-02-152-43/+114
|\ \ | | | | | | accounts/abi: support for typed array
| * | accounts/abi: support for typed arrayJeffrey Wilcke2016-02-152-43/+114
|/ / | | | | | | | | Added support for fixed size and arbitrary length byte arrays to be marshallable in fixed size (typed) byte slices.
* | Merge pull request #2205 from obscuren/pending-filtersPéter Szilágyi2016-02-138-52/+143
|\ \ | | | | | | eth/filters: ✨ pending logs ✨
| * | eth/filters: ✨ pending logs ✨Jeffrey Wilcke2016-02-138-52/+143
| |/ | | | | | | | | | | Pending logs are now filterable through the Go API. Filter API changed such that each filter type has it's own bucket and adding filter explicitly requires you specify the bucket to put it in.
* | Merge pull request #2175 from karalabe/refactor-http-rpcPéter Szilágyi2016-02-1319-540/+654
|\ \ | |/ |/| cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect
| * cmd, node, rpc: readd inproc RPC client, expose via nodePéter Szilágyi2016-02-0911-25/+178
| |
| * cmd, common, node, rpc: rework naming convention to canonical onePéter Szilágyi2016-02-0913-115/+115
| |
| * cmd, node, rpc: move websockets into node, break singletonPéter Szilágyi2016-02-0511-292/+194
| |
| * cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspectPéter Szilágyi2016-02-0510-215/+274
| |
* | Merge pull request #2192 from obscuren/runtime-abi-fixesJeffrey Wilcke2016-02-116-48/+480
|\ \ | | | | | | account/abi, vm/runtime: abi fixes & simplified runtime calling mechanism
| * | core/vm/runtime: simplified runtime calling mechanismJeffrey Wilcke2016-02-113-18/+117
| | | | | | | | | | | | | | | | | | Implemented `runtime.Call` which uses - unlike Execute - the given state for the execution and the address of the contract you wish to execute. Unlike `Execute`, `Call` requires a config.
| * | accounts/abi: fixed return tuple and string, bytes return type parsingJeffrey Wilcke2016-02-113-30/+363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed old unmarshalling of return types: `abi.Call(...).([]byte)`. This is now replaced by a new syntax: ``` var a []byte err := abi.Call(&a, ...) ``` It also addresses a few issues with Bytes and Strings and can also handle both fixed and arbitrary sized byte slices, including strings.
* | | Merge pull request #2195 from obscuren/gpo-rpcPéter Szilágyi2016-02-112-15/+14
|\ \ \ | | | | | | | | eth: Added GPO to suggest default gas prices
| * | | eth: Added GPO to suggest default gas pricesJeffrey Wilcke2016-02-102-15/+14
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | This PR fixes a regression of the RPC where the default gas price that was being used for transaction wasn't properly using the GPO. This PR adds the GPO back to suggest gas prices rather than the hardcoded default of 10000000000000. Closes #2194
* | | Merge pull request #2193 from karalabe/sync-state-reportsPéter Szilágyi2016-02-115-143/+160
|\ \ \ | | | | | | | | eth, eth/downloader, jsre: surface state sync progress through the API
| * | | eth, eth/downloader, jsre: surface state sync progress through the APIPéter Szilágyi2016-02-105-143/+160
|/ / /
* | | Merge pull request #2189 from karalabe/fix-nil-minerPéter Szilágyi2016-02-093-76/+53
|\ \ \ | | | | | | | | eth, miner: move the public miner api into eth to access etherbase
| * | | eth, miner: move the public miner api into eth to access etherbasePéter Szilágyi2016-02-093-76/+53
|/ / /
* | | Merge pull request #2184 from karalabe/fix-fastsync-state-serializer-bugPéter Szilágyi2016-02-092-3/+3
|\ \ \ | |/ / |/| | eth/downloader: raise pending state limit that prevented concurrency
| * | eth/downloader: raise pending state limit that prevented concurrencyPéter Szilágyi2016-02-082-3/+3
|/ /
* | Merge pull request #2183 from bas-vk/issue2180Péter Szilágyi2016-02-081-1/+1
|\ \ | | | | | | eth_sendTransaction, error not reported
| * | eth: sendTransaction would not report the error when tx could not be added ↵Bas van Kervel2016-02-081-1/+1
|/ / | | | | | | to tx pool
* | Merge pull request #2106 from obscuren/out-of-bound-logsJeffrey Wilcke2016-02-064-26/+132
|\ \ | | | | | | eth/filters: added notifications for out of bound log events
| * | eth/filters: added notifications for out of bound log eventsJeffrey Wilcke2016-02-054-26/+132
| | | | | | | | | | | | | | | | | | Out of Bound log events are events that were removed due to a fork. When logs are received the filtering mechanism should check for the `removed` field on the json structure.
* | | Merge pull request #2178 from isghe/fix_typoJeffrey Wilcke2016-02-051-1/+1
|\ \ \ | |_|/ |/| | cmd/utils: fix jspath flag typo
| * | cmd/utils: fix jspath flag typoIsidoro Ghezzi2016-02-051-1/+1
|/ /
* | Merge pull request #2168 from karalabe/move-rpc-into-nodePéter Szilágyi2016-02-0514-156/+292
|\ \ | | | | | | cmd, common, node, rpc: move IPC into the node itself
| * | cmd, common, node, rpc: move IPC into the node itselfPéter Szilágyi2016-02-0414-156/+292
| | |
* | | Merge pull request #2171 from karalabe/rpc-modules-fixPéter Szilágyi2016-02-052-11/+8
|\ \ \ | |/ / |/| | rpc: add jsonrpc version to module request, use json types
| * | rpc: add jsonrpc version to module request, use json typesPéter Szilágyi2016-02-042-11/+8
|/ /
* | Merge pull request #2169 from karalabe/fix-http-rpc-methodJeffrey Wilcke2016-02-041-23/+17
|\ \ | |/ |/| rpc: allow RPC requests on GET too
| * rpc: allow RPC requests on GET tooPéter Szilágyi2016-02-031-23/+17
| |
* | Merge pull request #2134 from karalabe/save-state-writesPéter Szilágyi2016-02-034-10/+175
|\ \ | | | | | | core/state, trie: don't leak database writes before commit
| * | core/state, ethdb, trie: test intermediate secure key leak, fix memdb bugPéter Szilágyi2016-01-203-3/+73
| | |
| * | core/state, trie: don't leak database writes before commitPéter Szilágyi2016-01-203-8/+103
| | |
* | | Merge pull request #2154 from karalabe/rpc-fixesPéter Szilágyi2016-02-035-114/+107
|\ \ \ | | | | | | | | cmd, eth, rpc: fix some RPC issues with pending blocks
| * | | cmd, eth, rpc: fix some RPC issues with pending blocksPéter Szilágyi2016-02-035-114/+107
|/ / /
* | | Merge pull request #2156 from ppratscher/add_replay_txPéter Szilágyi2016-02-034-1/+147
|\ \ \ | | | | | | | | core/vm, rpc/api: added debug_replayTransaction RPC call
| * | | core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, ↵Peter Pratscher2016-02-024-1/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integrated feedback Integrated code review suggestions Integrated last review comments
* | | | Merge pull request #2167 from obscuren/abi-event-fixesPéter Szilágyi2016-02-036-31/+174
|\ \ \ \ | | | | | | | | | | account/abi: implements event parsing
| * | | | account/abi: implements event parsingJeffrey Wilcke2016-02-026-31/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation of basic event parsing and its input types. This separates methods and events and fixes an issue with go type parsing and validation.
* | | | | Merge pull request #2166 from obscuren/contribPéter Szilágyi2016-02-031-0/+9
|\ \ \ \ \ | |_|_|_|/ |/| | | | CONTRIBUTING: Added a feature section
| * | | | CONTRIBUTING: Added a feature sectionJeffrey Wilcke2016-02-021-0/+9
| |/ / /
* | | | Merge pull request #2170 from karalabe/fix-miner-registrationPéter Szilágyi2016-02-031-1/+4
|\ \ \ \ | | | | | | | | | | miner: register newly created remote agent in the API
| * | | | miner: register newly created remote agent in the APIPéter Szilágyi2016-02-031-1/+4
|/ / / /
* | | | Merge pull request #2098 from karalabe/rpc-txpool-queue-inspectionJeffrey Wilcke2016-02-023-1/+113
|\ \ \ \ | | | | | | | | | | core, eth, rpc/api: rpc method to inspect the txpool queue
| * | | | core, eth, rpc/api: rpc method to inspect the txpool queuePéter Szilágyi2016-02-013-1/+113
|/ / / /
* | | | Merge pull request #2146 from fjl/discover-win32-large-packetsJeffrey Wilcke2016-02-014-7/+124
|\ \ \ \ | |/ / / |/| | | p2p/discover: fix Windows-specific issue for larger-than-buffer packets
| * | | p2p/discover: fix Windows-specific issue for larger-than-buffer packetsFelix Lange2016-01-234-7/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, UDPConn.ReadFrom returns an error for packets larger than the receive buffer. The error is not marked temporary, causing our loop to exit when the first oversized packet arrived. The fix is to treat this particular error as temporary. Fixes: #1579, #2087 Updates: #2082
* | | | Merge pull request #2165 from karalabe/gmp-dep-master-alpinePéter Szilágyi2016-01-311-5/+5
|\ \ \ \ | | | | | | | | | | containers/docker/master-alpine: add the legacy gmp lib back for now
| * | | | containers/docker/master-alpine: add the legacy gmp lib back for nowPéter Szilágyi2016-01-311-5/+5
|/ / / /
* | | | Merge pull request #2164 from karalabe/add-alpine-imagesPéter Szilágyi2016-01-314-0/+29
|\ \ \ \ | |_|/ / |/| | | containers: regroup and add Alpine images (31 MB)
| * | | containers: regroup and add Alpine images (31 MB)Péter Szilágyi2016-01-314-0/+29
|/ / /
* | | Merge pull request #2151 from fjl/debug-apiJeffrey Wilcke2016-01-2812-116/+517
|\ \ \ | | | | | | | | internal/debug: APIs for profiling and tracing
| * | | internal/debug: APIs for profiling and tracingFelix Lange2016-01-2810-107/+502
| | | | | | | | | | | | | | | | | | | | | | | | The debug package provides an RPC wrapper for glog settings and the debugging facilities of the Go runtime. They can be triggered through both command line flags and the IPC listener.
| * | | logger/glog: clean up flag gettersFelix Lange2016-01-271-8/+10
| | | |
| * | | logger/glog: fix TraceLocation.Set("")Felix Lange2016-01-271-0/+4
| | | |
| * | | rpc: fix success response encoding for null return valueFelix Lange2016-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | The "result" field of JSON-RPC 2.0 responses was omitted if the result was nil, causing exceptions in web3.js.
* | | | Merge pull request #2143 from karalabe/fix-transaction-sort-2Jeffrey Wilcke2016-01-284-22/+131
|\ \ \ \ | |/ / / |/| | | core, core/types, miner: fix transaction nonce-price combo sort
| * | | core, core/types, miner: fix transaction nonce-price combo sortPéter Szilágyi2016-01-224-22/+131
| |/ /
* | | Merge pull request #2140 from obscuren/rpc2-consoleJeffrey Wilcke2016-01-26132-14318/+4709
|\ \ \ | | | | | | | | Rpc2 console
| * | | rpc: migrated the RPC insterface to a new reflection based RPC layerBas van Kervel2016-01-26132-14318/+4709
|/ / /
* | | Merge pull request #2136 from fjl/glog-prefixFelix Lange2016-01-267-92/+112
|\ \ \ | | | | | | | | logger/glog: improve vmodule
| * | | node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosityFelix Lange2016-01-215-41/+18
| | | |
| * | | logger/glog: add SetVmoduleFelix Lange2016-01-211-0/+5
| | | |
| * | | logger/glog: add directory context to output and vmodule matchingFelix Lange2016-01-212-51/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows setting the verbosity for directory prefixes using the syntax: --vmodule=eth/=6
* | | | Merge pull request #2145 from caktux/developFelix Lange2016-01-233-21/+34
|\ \ \ \ | |_|/ / |/| | | separate and optimize Dockerfile for master and develop
| * | | separate and optimize Dockerfile for master and developcaktux2016-01-223-21/+34
|/ / /
* | | Merge pull request #2115 from karalabe/vm-debug-storageJeffrey Wilcke2016-01-214-14/+20
|\ \ \ | | | | | | | | core/vm: resolve circular dependency to debug vm storage
| * | | core/vm: resolve circular dependency to debug vm storagePéter Szilágyi2016-01-124-14/+20
| | | |
* | | | Merge pull request #2132 from bas-vk/console-sleepJeffrey Wilcke2016-01-212-0/+84
|\ \ \ \ | | | | | | | | | | console: add admin.sleep and admin.sleepBlocks
| * | | | console: add admin.sleep and admin.sleepBlocksBas van Kervel2016-01-192-0/+84
| | |_|/ | |/| |
* | | | Merge pull request #2130 from bas-vk/nodeinfo-formatFelix Lange2016-01-191-6/+6
|\ \ \ \ | |/ / / |/| | | Nodeinfo format Genesis and Header
| * | | eth: changed NodeInfo Genesis and Head typesBas van Kervel2016-01-181-6/+6
|/ / /
* | | Merge pull request #2119 from karalabe/statedb-batch-commitJeffrey Wilcke2016-01-141-1/+2
|\ \ \ | |/ / |/| | core/state: always commit in batches, just finish if not needed later
| * | core/state: always commit in batches, just finish if not needed laterPéter Szilágyi2016-01-131-1/+2
|/ /
* | Merge pull request #2114 from karalabe/chain-maker-state-remakeFelix Lange2016-01-111-12/+7
|\ \ | |/ |/| core: fix invalid state reuse in chain maker based tests
| * core: fix invalid state reuse in chain maker based testsPéter Szilágyi2016-01-111-12/+7
|/
* Merge pull request #2110 from LefterisJP/determining_home_for_ubuntu_coreFelix Lange2016-01-081-5/+6
|\ | | | | common: Fix HomeDir detection
| * common: Fix HomeDir detectionLefteris Karapetsas2016-01-081-5/+6
|/ | | | | | | | | | | | | | | | | | | I am working on porting geth to [Ubuntu Core](https://developer.ubuntu.com/en/snappy/https://developer.ubuntu.com/en/snappy/). I am testing geth on a Raspberry PI and for Ubuntu Core the $HOME directory is unique for each application. See [here](https://developer.ubuntu.com/en/snappy/guides/filesystem-layout) for more information of their filesystem layout. For some reason in Go `usr.HomeDir` returns a different value than `$HOME` in Ubuntu Core. Adding this at the end of `HomeDir()` ```go fmt.Printf("at HomeDir, user.HomeDir = %s and $HOME is %s\n", usr.HomeDir, os.Getenv("HOME")) ``` gives the following output ``` at HomeDir, user.HomeDir = /home/ubuntu and $HOME is /home/ubuntu/apps/geth.sideload/IJcODREBYbHO ``` With this commit, I propose giving precedence to the `$HOME` environment variable as is also suggested by the [homedir](https://github.com/mitchellh/go-homedir/blob/master/homedir.go) project.
* Merge pull request #2097 from karalabe/block-state-checksJeffrey Wilcke2016-01-056-61/+85
|\ | | | | core, eth/downloader: ensure state presence in ancestor lookup
| * core, eth/downloader: ensure state presence in ancestor lookupPéter Szilágyi2016-01-046-61/+85
| |
* | Merge pull request #2101 from karalabe/delete-outoffund-transactionsJeffrey Wilcke2016-01-052-44/+344
|\ \ | |/ |/| core: transaction invalidation and reorganization fixes
| * core: fix transaction reorg issues within the tx poolPéter Szilágyi2016-01-052-44/+344
|/
* Merge pull request #2099 from karalabe/fix-throttling-testFelix Lange2015-12-301-3/+1
|\ | | | | eth/downloader: throttling tests are time-sensitive, don't run parallel
| * eth/downloader: throttling tests are time-sensitive, don't run parallelPéter Szilágyi2015-12-301-3/+1
|/
* Merge pull request #2064 from fjl/remove-common-rlpJeffrey Wilcke2015-12-1917-1235/+96
|\ | | | | common: remove old RLP implementation, Value and ExtPackage
| * common: remove old RLP implementation, Value and ExtPackageFelix Lange2015-12-1810-1162/+19
| | | | | | | | | | In order to make this happen, kill all remaining trivial uses of common/{rlp,value}.go. The non-trivial ones have been updated earlier.
| * core/state, core/types use package rlp for state, receipt serialisationFelix Lange2015-12-185-71/+67
| |
| * eth/downloader: fix negative balance issue in testsFelix Lange2015-12-182-2/+10
| | | | | | | | | | | | | | | | | | | | The test chain generated by makeChainFork included invalid uncle headers, crashing the generator during the state commit. The headers were invalid because they used the iteration counter as the block number, even though makeChainFork uses a block with number > 0 as the parent. Fix this by introducing BlockGen.Number, which allows accessing the actual number of the block being generated.
* | Merge pull request #2084 from bas-vk/rpcnilptrJeffrey Wilcke2015-12-191-5/+6
|\ \ | | | | | | console crash on nil ptr
| * | console: bugfix that causes the console to crash when connection to an ↵Bas van Kervel2015-12-181-5/+6
|/ / | | | | | | endpoint without the personal api enabled
* | Merge pull request #2019 from zsfelfoldi/light-stateJeffrey Wilcke2015-12-1810-15/+1091
|\ \ | |/ |/| Light state
| * light: implemented odr-capable trie and state structureszsfelfoldi2015-12-1710-15/+1091
| |
* | Merge pull request #1925 from fjl/p2p-dial-resolveJeffrey Wilcke2015-12-1810-208/+444
|\ \ | | | | | | p2p: resolve incomplete dial targets
| * | p2p/discover: attempt to deflake TestUDP_responseTimeoutsFelix Lange2015-12-181-1/+2
| | | | | | | | | | | | | | | The test expected the timeout to fire after a matcher for the response was added, but the timeout is random and fired sooner sometimes.
| * | p2p: resolve incomplete dial targetsFelix Lange2015-12-182-63/+175
| | | | | | | | | | | | | | | | | | This change makes it possible to add peers without providing their IP address. The endpoint of the target node is resolved using the discovery protocol.
| * | p2p, p2p/discover: track bootstrap state in p2p/discoverFelix Lange2015-12-186-91/+110
| | | | | | | | | | | | | | | | | | This change simplifies the dial scheduling logic because it no longer needs to track whether the discovery table has been bootstrapped.
| * | p2p/discover: support incomplete node URLs, add ResolveFelix Lange2015-12-187-54/+158
|/ /
* | Merge pull request #1997 from zsfelfoldi/gasprice2Jeffrey Wilcke2015-12-174-5/+76
|\ \ | | | | | | core: tx pool skip price validation for "owned" transactions
| * | core: tx pool skip price validation for "owned" transactionszsfelfoldi2015-12-164-5/+76
| | |
* | | Merge pull request #2077 from karalabe/fix-header-query-duplicationJeffrey Wilcke2015-12-172-1/+23
|\ \ \ | |_|/ |/| | eth: fix #2076, where end of hash query was interpreted number query
| * | eth: fix #2076, where end of hash query was interpreted number queryPéter Szilágyi2015-12-162-1/+23
| |/
* | Merge pull request #2061 from zsfelfoldi/rpc-contextFelix Lange2015-12-168-18/+1122
|\ \ | |/ |/| rpc: optionally passing context argument to rpc v2 api methods
| * rpc/v2: optionally passing context argument to rpc v2 api methodszsfelfoldi2015-12-168-18/+1122
| |
* | Merge pull request #2072 from karalabe/admin-debug-apisFelix Lange2015-12-157-26/+494
|\ \ | | | | | | core, eth, node, rpc: port the admin and debug API
| * | core, eth, node, rpc: port the admin and debug APIPéter Szilágyi2015-12-157-26/+494
| |/
* | Merge pull request #2070 from karalabe/android-archivesFelix Lange2015-12-152-25/+76
|\ \ | |/ |/| Makefile, cmd/geth: support building Android archives
| * Makefile, cmd/geth: support building Android archivesPéter Szilágyi2015-12-142-25/+76
| |
* | Merge pull request #2035 from bas-vk/rcp-v2-rebaseFelix Lange2015-12-1538-14/+4651
|\ \ | | | | | | rpc: new RPC implementation with pub/sub support
| * | rpc: new RPC implementation with pub/sub supportBas van Kervel2015-12-1438-14/+4651
| | |
* | | Merge pull request #2056 from fjl/fix-account-formatJeffrey Wilcke2015-12-101-8/+8
|\ \ \ | |_|/ |/| | crypto: "Crypto" -> "crypto" in web3 key format
| * | crypto: "Crypto" -> "crypto" in web3 key formatFelix Lange2015-12-081-8/+8
| | |
* | | Merge pull request #2058 from karalabe/geth-frameworkFelix Lange2015-12-104-27/+91
|\ \ \ | | | | | | | | Makefile, cmd/geth: assemble ios xcode frameworks
| * | | Makefile, cmd/geth: assemble ios xcode frameworksPéter Szilágyi2015-12-094-27/+91
| | | |
* | | | Merge pull request #2003 from obscuren/abi-callingFelix Lange2015-12-086-88/+243
|\ \ \ \ | | | | | | | | | | accounts/abi: added output parsing & added call mechanism
| * | | | accounts/abi: added output parsing & added call mechanismJeffrey Wilcke2015-11-256-88/+243
| | | | | | | | | | | | | | | | | | | | Added calling mechanism and return value parsing
* | | | | Merge pull request #2051 from karalabe/store-transaction-fastsyncFelix Lange2015-12-081-0/+12
|\ \ \ \ \ | |_|/ / / |/| | | | core: write individual transactions and receipts too on fast sync
| * | | | core: write individual transactions and receipts too on fast syncPéter Szilágyi2015-12-041-0/+12
| | | | |
* | | | | Merge pull request #2034 from karalabe/always-allow-dyndialsJeffrey Wilcke2015-12-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | p2p: always allow dynamic dials if network not disabled
| * | | | | p2p: always allow dynamic dials if network not disabledPéter Szilágyi2015-12-031-1/+1
| | | | | |
* | | | | | Merge pull request #2037 from fjl/no-libgmpPéter Szilágyi2015-12-045-52/+15
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | crypto/secp256k1: remove dependency on libgmp
| * | | | | crypto/secp256k1: remove dependency on libgmpFelix Lange2015-12-045-52/+15
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Turns out we actually don't need it, USE_NUM_NONE works because we also set USE_FIELD_INV_BUILTIN.
* | | | | Merge pull request #2024 from obscuren/exp-logsJeffrey Wilcke2015-12-044-4/+68
|\ \ \ \ \ | |/ / / / |/| | | | core: added a new RemovedLogEvent
| * | | | core: added a new RemovedLogEventJeffrey Wilcke2015-12-014-4/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a chain reorganisation occurs we collect the logs that were deleted during the chain reorganisation. The removed logs are posted to the event mux indicating that those were deleted during the reorg.
* | | | | Merge pull request #2036 from karalabe/ios-arm64-crossFelix Lange2015-12-041-3/+13
|\ \ \ \ \ | |_|/ / / |/| | | | Makefile: support 64bit ARM iOS cross builds
| * | | | Makefile: support 64bit ARM iOS cross buildsPéter Szilágyi2015-12-041-3/+13
|/ / / /
* | | | Merge pull request #2032 from karalabe/linux-arm64-crossJeffrey Wilcke2015-12-031-2/+8
|\ \ \ \ | | | | | | | | | | Makefile: enable 64-bit ARM builds on Linux
| * | | | Makefile: enable 64-bit ARM builds on LinuxPéter Szilágyi2015-12-021-2/+8
|/ / / /
* | | | Merge pull request #1862 from Gustav-Simonsson/libsecp256k1_ecdhJeffrey Wilcke2015-12-0216-185/+334
|\ \ \ \ | |_|_|/ |/| | | crypto, crypto/secp256k1: use libsecp256k1 for scalar multiplication
| * | | crypto, crypto/ecies, crypto/secp256k1: libsecp256k1 scalar multGustav Simonsson2015-11-3016-171/+321
| | | | | | | | | | | | | | | | thanks to Felix Lange (fjl) for help with design & impl
| * | | core/secp256k1: update libsecp256k1 Go wrapper and testsGustav Simonsson2015-11-302-18/+17
| | | |
* | | | Merge pull request #2025 from karalabe/windows-account-unlock-testfixFelix Lange2015-12-011-1/+1
|\ \ \ \ | | | | | | | | | | accounts: increase re-lock timeout to account for slow CI servers
| * | | | accounts: increase re-lock timeout to account for slow CI serversPéter Szilágyi2015-12-011-1/+1
| | | | |
* | | | | Merge pull request #2022 from karalabe/multiversion-arm-buildsPéter Szilágyi2015-12-011-33/+28
|\ \ \ \ \ | | | | | | | | | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clients
| * | | | | Makefile: build ARM v5/v6/v7, drop high API mobile clientsPéter Szilágyi2015-12-011-33/+28
| |/ / / /
* | | | | Merge pull request #2005 from zsfelfoldi/light-trieJeffrey Wilcke2015-12-017-68/+343
|\ \ \ \ \ | | | | | | | | | | | | Trie error handling
| * | | | | trie: added error handlingzsfelfoldi2015-12-017-68/+343
| | |/ / / | |/| | | | | | | | | | | | | Created alternate versions of Trie and SecureTrie functions that can return a MissingNodeError (used by ODR services)
* | | | | Merge pull request #2021 from fjl/fix-etherbase-no-accountsJeffrey Wilcke2015-12-012-21/+18
|\ \ \ \ \ | |_|/ / / |/| | | | cmd/utils: restore starting geth without any accounts and etherbase
| * | | | cmd/utils: restore starting geth without any accounts and etherbaseFelix Lange2015-12-012-21/+18
| | | | | | | | | | | | | | | | | | | | Also remove some duplication around address/index parsing.
* | | | | Merge pull request #2020 from bas-vk/issue2016Jeffrey Wilcke2015-12-011-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | eth package creates new event mux
| * | | | eth: use global event mux insteadBas van Kervel2015-12-011-1/+1
|/ / / /
* | | | Merge pull request #2015 from bas-vk/console-instance-nameJeffrey Wilcke2015-11-301-1/+1
|\ \ \ \ | |/ / / |/| | | console: fix instance name printed incorrect on start
| * | | console: fix instance name printed incorrect on startBas van Kervel2015-11-301-1/+1
|/ / /
* | | Merge pull request #2014 from karalabe/enable-ios-buildsFelix Lange2015-11-301-1/+1
|\ \ \ | | | | | | | | Makefile: enable iOS experimental builds (fix prev omission)
| * | | Makefile: enable iOS experimental builds (fix prev omission)Péter Szilágyi2015-11-291-1/+1
|/ / /
* | | Merge pull request #2011 from karalabe/fix-hex-addressJeffrey Wilcke2015-11-281-2/+2
|\ \ \ | |/ / |/| | common: fix #2008, wrong hex prefix check
| * | common: fix #2008, wrong hex prefix checkPéter Szilágyi2015-11-281-2/+2
|/ /
* | Merge pull request #1970 from karalabe/customizable-protocol-stacksJeffrey Wilcke2015-11-2739-1023/+2494
|\ \ | | | | | | Customizable protocol stacks
| * | cmd, eth, node, rpc, xeth: use single-instance servicesPéter Szilágyi2015-11-2717-294/+329
| | |
| * | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-2730-939/+1041
| | |
| * | cmd: drop blocktest command, create gethrpctest programPéter Szilágyi2015-11-273-168/+182
| | |
| * | node: customizable protocol and service stacksPéter Szilágyi2015-11-2713-13/+1333
| | |
* | | Merge pull request #2002 from karalabe/ios-cross-buildsJeffrey Wilcke2015-11-278-25/+63
|\ \ \ | | | | | | | | Makefile: add support for iOS cross compilation
| * | | Makefile: support library build modesPéter Szilágyi2015-11-253-12/+15
| | | |
| * | | Makefile: add support for iOS cross compilationPéter Szilágyi2015-11-248-16/+51
| | |/ | |/|
* | | Merge pull request #1999 from karalabe/javascript-timer-argcheckJeffrey Wilcke2015-11-271-5/+15
|\ \ \ | | | | | | | | jrse: fix #1082, fail if setTimeout/setInterval lack callback
| * | | jrse: fix #1082, fail if setTimeout/setInterval lack callbackPéter Szilágyi2015-11-231-5/+15
| | | |
* | | | Merge pull request #2001 from obscuren/fixesJeffrey Wilcke2015-11-273-947/+6229
|\ \ \ \ | |_|_|/ |/| | | cmd, crypto: updated web3
| * | | cmd, crypto: fixed nil public keys and updated web3Jeffrey Wilcke2015-11-263-947/+6229
| | | |
* | | | Merge pull request #1996 from obscuren/whisper-spam-fixJeffrey Wilcke2015-11-253-2/+19
|\ \ \ \ | |_|_|/ |/| | | whisper: fixed broadcast race
| * | | whisper: fixed broadcast raceJeffrey Wilcke2015-11-253-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Whisper's expire and broadcast loops happen in two separate go routines. Whenever an envelope is being expired it's removed from the set of envelopes and it looses all information about the envelope, including the "known hash". After the envelope has been removed it can be re-accepted by a broadcasting peer putting back the envelope in the set of envelopes. Since the envelope broadcast loop is separate of the expire loop expired messages may be broadcast to other peer, resulting in messages **never** being dropped. This PR includes an expire check before adding new messages to the set of envelopes.
* | | | Merge pull request #1988 from bas-vk/issue1971Jeffrey Wilcke2015-11-241-0/+11
|\ \ \ \ | |_|_|/ |/| | | miner: bugfix where blockhash in receipts and logs is left empty
| * | | miner: bugfix were blockhash in receipts and logs is left emptyBas van Kervel2015-11-191-0/+11
| |/ /
* | | Merge pull request #1991 from Gustav-Simonsson/common_testsGustav-Simonsson2015-11-233-39/+865
|\ \ \ | |_|/ |/| | Update common test files
| * | Update common test filesGustav Simonsson2015-11-203-39/+865
| | |