Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | core: added basic chain configuration | Jeffrey Wilcke | 2016-04-01 | 55 | -431/+732 |
| | | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings. | ||||
* | Merge pull request #2383 from karalabe/goabi-exclusions-duplicates | Péter Szilágyi | 2016-04-01 | 4 | -39/+46 |
|\ | | | | | accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns | ||||
| * | accounts/abi/bind: support account slices, drop hash type | Péter Szilágyi | 2016-03-31 | 1 | -2/+2 |
| | | |||||
| * | accounts/abi/bind: merge all tests into a single suite | Péter Szilágyi | 2016-03-31 | 1 | -22/+22 |
| | | |||||
| * | accounts/abi/bind: use anonymous ephemeral call result structs | Péter Szilágyi | 2016-03-31 | 1 | -15/+10 |
| | | |||||
| * | accounts/abi/bind, cmd/abigen: dedup structs, exclude patterns | Péter Szilágyi | 2016-03-26 | 2 | -6/+18 |
| | | |||||
* | | Merge pull request #2399 from karalabe/fix-trace-json-output | Jeffrey Wilcke | 2016-03-31 | 1 | -4/+13 |
|\ \ | | | | | | | eth: fix accidental nil panic on nil errors | ||||
| * | | eth: fix accidental nil panic on nil errors | Péter Szilágyi | 2016-03-31 | 1 | -4/+13 |
| | | | |||||
* | | | Merge pull request #2398 from karalabe/fix-trace-json-output | Péter Szilágyi | 2016-03-31 | 1 | -11/+11 |
|\| | | |/ |/| | eth: manually convert errors to strings on the trace API (json cannot) | ||||
| * | eth: manually convert errors to strings on the trace API (json cannot) | Péter Szilágyi | 2016-03-31 | 1 | -11/+11 |
|/ | |||||
* | Merge pull request #2381 from karalabe/fix-abigen-tuples | Jeffrey Wilcke | 2016-03-26 | 2 | -4/+36 |
|\ | | | | | accounts/abi/bind: fix double pointer in generated code | ||||
| * | accounts/abi/bind: fix double pointer in generated code | Péter Szilágyi | 2016-03-25 | 2 | -4/+36 |
|/ | |||||
* | Merge pull request #2357 from karalabe/abi-binding-generator | Péter Szilágyi | 2016-03-24 | 25 | -61/+12850 |
|\ | | | | | accounts/abi/bind: Go ABI binding generator | ||||
| * | accounts/abi/bind, cmd/abigen: port to templates, bind to solidity | Péter Szilágyi | 2016-03-24 | 10 | -448/+594 |
| | | |||||
| * | accounts/abi/bind: constructor, auth utils and various backends | Péter Szilágyi | 2016-03-24 | 10 | -267/+736 |
| | | |||||
| * | accounts/abi/bind, cmd/abigen: Go API generator around an EVM ABI | Péter Szilágyi | 2016-03-24 | 20 | -42/+12216 |
|/ | |||||
* | Merge pull request #2141 from obscuren/evm-init | Jeffrey Wilcke | 2016-03-24 | 36 | -343/+666 |
|\ | | | | | core, core/vm, tests: changed the initialisation behaviour of the EVM | ||||
| * | core, eth, cmd: temporary work around for enabling the jit | Jeffrey Wilcke | 2016-03-24 | 3 | -1/+17 |
| | | | | | | | | | | This commit serves as a temporary workaround for enabling the jit until the block customisation PR is merged in. | ||||
| * | eth/api: added root to the receipts | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+3 |
| | | |||||
| * | eth, rpc: implemented block debugging rpc calls | Jeffrey Wilcke | 2016-03-24 | 2 | -93/+214 |
| | | | | | | | | | | | | | | | | | | Implemented the following block debugging RPC calls * Block(RLP) * BlockByFile(fileName) * BlockByNumber(number) * BlockByHash(hash) | ||||
| * | core: Added EVM configuration options | Jeffrey Wilcke | 2016-03-24 | 30 | -229/+407 |
| | | | | | | | | | | The EVM is now initialised with an additional configured object that allows you to turn on debugging options. | ||||
| * | core, core/vm, tests: changed the initialisation behaviour of the EVM | Jeffrey Wilcke | 2016-03-23 | 13 | -44/+49 |
| | | | | | | | | | | | | | | The EVM was previously initialised and created for every CALL, CALLCODE, DELEGATECALL and CREATE. This PR changes this behaviour so that the same EVM can be used through the session and beyond as long as the Environment sticks around. | ||||
* | | Merge pull request #2371 from hiddentao/fix_prompt_passwd_input | Jeffrey Wilcke | 2016-03-24 | 1 | -0/+1 |
|\ \ | | | | | | | Strip extraneous carriage return from end of entered password | ||||
| * | | cmd/utils: removed password line endings when not using liner. | Ramesh Nair | 2016-03-23 | 1 | -0/+1 |
| | | | |||||
* | | | Merge pull request #2259 from bas-vk/http | Jeffrey Wilcke | 2016-03-23 | 15 | -236/+903 |
|\ \ \ | |/ / |/| | | rpc/http: improve request handling | ||||
| * | | rpc/http: improve request handling | Bas van Kervel | 2016-03-23 | 15 | -236/+903 |
| | | | |||||
* | | | Merge pull request #2348 from obscuren/abi-variable-input | Péter Szilágyi | 2016-03-17 | 4 | -31/+193 |
|\ \ \ | | | | | | | | | accounts/abi: Fixed bytes input accept []byte and variable input support | ||||
| * | | | accounts/abi: Fixed bytes input accept []byte and variable input support | Jeffrey Wilcke | 2016-03-15 | 4 | -31/+193 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed up `[]byte` slice support such that `function print(bytes input)` accepts `[]byte` as input and treats it as 1 element rather than a slice of multiple elements. Added support for variable length input parameters like `bytes` and `strings`. | ||||
* | | | | Merge pull request #2354 from karalabe/miner-atomic-pending | Péter Szilágyi | 2016-03-16 | 3 | -17/+10 |
|\ \ \ \ | | | | | | | | | | | eth, miner: fetch pending block/state in on go (data race) | ||||
| * | | | | eth, miner: fetch pending block/state in on go (data race) | Péter Szilágyi | 2016-03-16 | 3 | -17/+10 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2355 from karalabe/abi-constant-functions-2 | Péter Szilágyi | 2016-03-16 | 2 | -9/+12 |
|\ \ \ \ | |/ / / |/| | | | accounts/abi: handle the "constant" modifier for functions | ||||
| * | | | accounts/abi: handle the "constant" modifier for functions | Péter Szilágyi | 2016-03-16 | 2 | -9/+12 |
|/ / / | |||||
* | | | Merge pull request #2341 from leijurv/patch-2 | Péter Szilágyi | 2016-03-16 | 1 | -3/+3 |
|\ \ \ | | | | | | | | | core: fixed various typos | ||||
| * | | | core: fixed various typos | Leif Jurvetson | 2016-03-16 | 1 | -3/+3 |
| | | | | |||||
* | | | | Merge pull request #2350 from leijurv/patch-3 | Felix Lange | 2016-03-16 | 4 | -8/+8 |
|\ \ \ \ | | | | | | | | | | | core, eth: replace reorganiz with reorganis | ||||
| * | | | | core, eth: replace reorganiz with reorganis | Leif Jurvetson | 2016-03-16 | 4 | -8/+8 |
|/ / / / | |||||
* | | | | Merge pull request #2351 from leijurv/patch-4 | Felix Lange | 2016-03-16 | 21 | -39/+39 |
|\ \ \ \ | | | | | | | | | | | core: various typos | ||||
| * | | | | core: various typos | Leif Jurvetson | 2016-03-16 | 21 | -39/+39 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #2352 from leijurv/patch-5 | Felix Lange | 2016-03-16 | 11 | -29/+29 |
|\ \ \ \ | |/ / / |/| | | | eth: various typos | ||||
| * | | | eth: various typos | Leif Jurvetson | 2016-03-16 | 11 | -29/+29 |
|/ / / | |||||
* | | | Merge pull request #2327 from fjl/debug-fixes | Péter Szilágyi | 2016-03-15 | 4 | -1/+54 |
|\ \ \ | | | | | | | | | cmd/utils, internal/debug: fixes for debugging | ||||
| * | | | cmd/utils, internal/debug: show all stacks for 10x Ctrl-C induced panic | Felix Lange | 2016-03-12 | 3 | -1/+53 |
| | | | | | | | | | | | | | | | | | | | | Go 1.6 only prints stacks for the current goroutine by default, but for this panic we want to see all of them. | ||||
| * | | | internal/debug: don't disable heap profile collection by default | Felix Lange | 2016-03-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | Setting runtime.MemProfileRate to 0 through the flag default value makes it impossible to get an 'in-use' profile. | ||||
* | | | | Merge pull request #2342 from obscuren/issue-templates | Jeffrey Wilcke | 2016-03-15 | 2 | -0/+20 |
|\ \ \ \ | |_|/ / |/| | | | templates: added issue template | ||||
| * | | | templates: added issue template | Jeffrey Wilcke | 2016-03-15 | 2 | -0/+20 |
| |/ / | |||||
* | | | Merge pull request #2337 from karalabe/upnp-error-hang | Péter Szilágyi | 2016-03-14 | 1 | -0/+1 |
|\ \ \ | |/ / |/| | | p2p/nat: fix #2291, NAT discovery did't abort on failure | ||||
| * | | p2p/nat: fix #2291, NAT discovery did't abort on failure | Péter Szilágyi | 2016-03-14 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #2311 from obscuren/future-proc-fix | Jeffrey Wilcke | 2016-03-12 | 1 | -14/+15 |
|\ \ | | | | | | | core: added future proc mutex lock | ||||
| * | | core: added future proc mutex lock | Jeffrey Wilcke | 2016-03-11 | 1 | -14/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added a future lock which prevents the anything being added or removed from or to the set when looping over the set of blocks. This fixes a nil pointer in the range loop when trying to retrieve a block from the set which was previously available but removed due to regular chain processing. Fixes #2305 | ||||
* | | | Merge pull request #2322 from karalabe/headerchain-preformance-fixes | Péter Szilágyi | 2016-03-11 | 2 | -20/+52 |
|\ \ \ | | | | | | | | | core: cache fresh headers and tds to avoid db trashing | ||||
| * | | | core: cache fresh headers and tds to avoid db trashing | Péter Szilágyi | 2016-03-11 | 2 | -20/+52 |
| |/ / | |||||
* | | | Merge pull request #2326 from karalabe/goleveldb-datarace-fix | Péter Szilágyi | 2016-03-11 | 4 | -69/+15 |
|\ \ \ | | | | | | | | | Godeps: pull in the leveldb upstream write race fix | ||||
| * | | | Godeps: pull in the leveldb upstream write race fix | Péter Szilágyi | 2016-03-11 | 4 | -69/+15 |
|/ / / | |||||
* | | | Merge pull request #2321 from karalabe/downloader-throughput-datarace | Péter Szilágyi | 2016-03-11 | 1 | -2/+2 |
|\ \ \ | |/ / |/| | | eth/downloader: fix a throughput estimation data race | ||||
| * | | eth/downloader: fix a throughput estimation data race | Péter Szilágyi | 2016-03-10 | 1 | -2/+2 |
| | | | |||||
* | | | Merge pull request #2081 from zsfelfoldi/light-chain | Jeffrey Wilcke | 2016-03-10 | 4 | -345/+575 |
|\ \ \ | | | | | | | | | core: create a header chain structure shared by full and light clients | ||||
| * | | | core: create a header chain structure shared by core.BlockChain and ↵ | zsfelfoldi | 2016-03-10 | 4 | -345/+575 |
|/ / / | | | | | | | | | | light.LightChain | ||||
* | | | Merge pull request #2301 from obscuren/uncle-fix | Jeffrey Wilcke | 2016-03-10 | 2 | -6/+101 |
|\ \ \ | |_|/ |/| | | core: announce ChainSideEvent during reorg | ||||
| * | | core: announce ChainSideEvent during reorg | Jeffrey Wilcke | 2016-03-08 | 2 | -6/+101 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously all blocks that were already in our chain were never re announced as potential uncle block (e.g. ChainSideEvent). This is problematic during mining where you want to gather as much possible uncles as possible increasing the profit. This is now addressed in this PR where during reorganisations of chains the old chain is regarded as uncles. Fixed #2298 | ||||
* | | | Merge pull request #2320 from karalabe/update-goleveldb | Jeffrey Wilcke | 2016-03-10 | 27 | -2184/+194 |
|\ \ \ | |_|/ |/| | | Godeps: update goleveldb to fix a compaction data race | ||||
| * | | Godeps: update goleveldb to fix a compaction data race | Péter Szilágyi | 2016-03-10 | 27 | -2184/+194 |
|/ / | |||||
* | | Merge pull request #2228 from karalabe/allocate-cache-to-chaindata | Péter Szilágyi | 2016-03-09 | 13 | -24/+176 |
|\ \ | | | | | | | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | ||||
| * | | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | Péter Szilágyi | 2016-03-09 | 13 | -24/+176 |
|/ / | |||||
* | | Merge pull request #2309 from bas-vk/passwd | Péter Szilágyi | 2016-03-08 | 1 | -9/+15 |
|\ \ | | | | | | | console: allow optional password on the command line | ||||
| * | | console: allow optional password on the command line | Bas van Kervel | 2016-03-08 | 1 | -9/+15 |
| | | | |||||
* | | | Merge pull request #2310 from karalabe/ethash-future-cache | Péter Szilágyi | 2016-03-08 | 2 | -9/+25 |
|\ \ \ | |/ / |/| | | Godeps: pull in ethash future cache generator | ||||
| * | | Godeps: pull in ethash future cache generator | Péter Szilágyi | 2016-03-08 | 2 | -9/+25 |
|/ / | |||||
* | | Merge pull request #2293 from kobigurk/develop | Felix Lange | 2016-03-08 | 3 | -2/+19 |
|\ \ | | | | | | | Adds --keystore | ||||
| * | | cmd/utils: add --keystore | Kobi Gurkan | 2016-03-08 | 3 | -2/+19 |
| |/ | |||||
* | | Merge pull request #2292 from remyroy/fix-solc-win-path | Felix Lange | 2016-03-08 | 1 | -1/+1 |
|\ \ | |/ |/| | Fix path problem with Solidity compile with filepath.Glob on Windows | ||||
| * | common/compiler: fix path problem with filepath.Glob on Windows | Rémy Roy | 2016-03-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #2285 from karalabe/forward-empty-bodies | Jeffrey Wilcke | 2016-03-03 | 1 | -1/+5 |
|\ | | | | | eth: forward empty body responses to the downlaoder | ||||
| * | eth: forward empty body responses to the downlaoder | Péter Szilágyi | 2016-03-03 | 1 | -1/+5 |
|/ | |||||
* | Merge pull request #2280 from bas-vk/js-cleanup | Jeffrey Wilcke | 2016-03-03 | 2 | -168/+4 |
|\ | | | | | console: cleanup old autocompletations relics | ||||
| * | console: cleanup old autocompletations relics | Bas van Kervel | 2016-03-02 | 2 | -168/+4 |
| | | |||||
* | | Merge pull request #2267 from karalabe/pending-state-events | Péter Szilágyi | 2016-03-02 | 2 | -2/+12 |
|\ \ | | | | | | | core, miner: add PendingStateEvent to track non-log updates. | ||||
| * | | core, miner: add PendingStateEvent to track non-log updates | Péter Szilágyi | 2016-02-29 | 2 | -2/+12 |
| | | | |||||
* | | | Merge pull request #2278 from fjl/rpc-inproc-pipe | Péter Szilágyi | 2016-03-01 | 1 | -69/+19 |
|\ \ \ | |_|/ |/| | | rpc: simplify inproc client | ||||
| * | | rpc: simplify inproc client | Felix Lange | 2016-03-01 | 1 | -69/+19 |
|/ / | | | | | | | Fixes #2277 | ||||
* | | Merge pull request #2221 from karalabe/expost-key-decryption | Péter Szilágyi | 2016-03-01 | 3 | -57/+126 |
|\ \ | | | | | | | crypto: expose key decryption method to parse a string direclty | ||||
| * | | crypto: expose key encryption method, add ping-pong test | Péter Szilágyi | 2016-02-24 | 2 | -18/+71 |
| | | | |||||
| * | | crypto: code polish + ensure key file contents match with name | Péter Szilágyi | 2016-02-24 | 1 | -5/+12 |
| | | | |||||
| * | | crypto: expose key decryption method to parse a string direclty | Péter Szilágyi | 2016-02-24 | 2 | -36/+45 |
| | | | |||||
* | | | Merge pull request #2215 from bas-vk/estimategas | Péter Szilágyi | 2016-03-01 | 2 | -35/+32 |
|\ \ \ | | | | | | | | | core: improved check for contract creation | ||||
| * | | | core: improved check for contract creation | Bas van Kervel | 2016-02-16 | 2 | -35/+32 |
| | | | | |||||
* | | | | params: updated homestead block | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+1 |
| | | | | |||||
* | | | | cmd/utils, params: homestead block | Jeffrey Wilcke | 2016-02-29 | 2 | -1/+7 |
| | | | | |||||
* | | | | Merge pull request #2269 from obscuren/repl-multi-line | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+0 |
|\ \ \ \ | | | | | | | | | | | cmd/geth: removed multiline support | ||||
| * | | | | cmd/geth: removed multiline support | Jeffrey Wilcke | 2016-02-27 | 1 | -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-price | Jeffrey Wilcke | 2016-02-29 | 1 | -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 shannon | Jeffrey Wilcke | 2016-02-29 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Merge pull request #2272 from karalabe/fix-premature-downloader-exit | Jeffrey Wilcke | 2016-02-29 | 1 | -1/+3 |
|\ \ \ \ | | | | | | | | | | | eth/downloader: fix premature exit before notifying all part fetchers | ||||
| * | | | | eth/downloader: fix premature exit before notifying all part fetchers | Péter Szilágyi | 2016-02-29 | 1 | -1/+3 |
|/ / / / | |||||
* | | | | Merge pull request #2266 from obscuren/up-gas-floor | Jeffrey Wilcke | 2016-02-27 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | params: settle the Pi vs Tau dispute | ||||
| * | | | params: settle the Pi vs Tau dispute | Jeffrey Wilcke | 2016-02-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This commit increases the artificial gas floor to 4712388 | ||||
* | | | | Merge pull request #2265 from fjl/downloader-mem | Jeffrey Wilcke | 2016-02-26 | 1 | -1/+1 |
|\ \ \ \ | |/ / / |/| | | | eth/downloader: fix header download limiting | ||||
| * | | | eth/downloader: fix header download limiting | Felix Lange | 2016-02-26 | 1 | -1/+1 |
|/ / / | | | | | | | | | | Fixes #2201 | ||||
* | | | Merge pull request #2260 from karalabe/ethash-cache-fixes | Péter Szilágyi | 2016-02-24 | 27 | -3400/+190 |
|\ \ \ | |_|/ |/| | | Godeps, eth, tests: update ethash, used shared for testing | ||||
| * | | Godeps, eth, tests: update ethash, used shared for testing | Péter Szilágyi | 2016-02-24 | 27 | -3400/+190 |
| | | | |||||
* | | | Merge pull request #2251 from karalabe/increase-downlaoder-queue | Péter Szilágyi | 2016-02-24 | 2 | -1/+6 |
|\ \ \ | | | | | | | | | eth/downloader: bump the download queue size to prevent starvation | ||||
| * | | | eth/downloader: bump the download queue size to prevent starvation | Péter Szilágyi | 2016-02-23 | 2 | -1/+6 |
| | | | | |||||
* | | | | Merge pull request #2242 from jimenezrick/upstream-crypto | Jeffrey Wilcke | 2016-02-24 | 68 | -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 bit | Ricardo Catalinas Jiménez | 2016-02-22 | 2 | -1/+1 |
| | | | | | |||||
| * | | | | common/natspec: Remove old unnused file | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -253/+0 |
| | | | | | |||||
| * | | | | ethdb: Remove outdated README pointing to an old link | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -11/+0 |
| | | | | | |||||
| * | | | | common: Remove dead code | Ricardo Catalinas Jiménez | 2016-02-22 | 2 | -36/+0 |
| | | | | | |||||
| * | | | | common: Remove empty lines | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -2/+0 |
| | | | | | |||||
| * | | | | crypto: Remove dead code | Ricardo Catalinas Jiménez | 2016-02-22 | 2 | -11/+0 |
| | | | | | |||||
| * | | | | crypto: Add backward compatible aliases for Sha3{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -0/+4 |
| | | | | | |||||
| * | | | | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 48 | -92/+92 |
| | | | | | | | | | | | | | | | | | | | | As we aren't really using the standarized SHA-3 | ||||
| * | | | | crypto/sha3: Export Keccak-256 hash function | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -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 code | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | crypto/sha3: Copy latest code from "golang.org/x/crypto/sha3" | Ricardo Catalinas Jiménez | 2016-02-22 | 13 | -0/+1269 |
| | | | | | | | | | | | | | | | | | | | | Revision: 1f22c0103821b9390939b6776727195525381532 | ||||
| * | | | | crypto/sha3: Delete old copied code | Ricardo Catalinas Jiménez | 2016-02-22 | 2 | -671/+0 |
| | | | | | |||||
* | | | | | Merge pull request #2218 from karalabe/time-drift-warning | Péter Szilágyi | 2016-02-24 | 2 | -4/+149 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | p2p/discover: NTP sanity check clock drift in case of expirations | ||||
| * | | | | p2p/discover: emphasize warning, add 10 min cooldown | Péter Szilágyi | 2016-02-24 | 2 | -18/+39 |
| | | | | | |||||
| * | | | | psp/discovery: NTP sanity check clock drift in case of expirations | Péter Szilágyi | 2016-02-24 | 2 | -4/+128 |
| | | | | | |||||
* | | | | | Merge pull request #2252 from karalabe/disable-metrics-metaops | Péter Szilágyi | 2016-02-24 | 1 | -0/+4 |
|\ \ \ \ \ | |/ / / / |/| | | | | ethdb: fully disable metrics if not requested (oops?) | ||||
| * | | | | ethdb: fully disable metrics if not requested (oops?) | Péter Szilágyi | 2016-02-23 | 1 | -0/+4 |
|/ / / / | |||||
* | | | | Merge pull request #2147 from prasanna/add-vagrantfile | Péter Szilágyi | 2016-02-23 | 2 | -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 geth | Prasanna Pendse | 2016-02-15 | 2 | -0/+31 |
| | |/ | |/| | |||||
* | | | Merge pull request #2234 from obscuren/tx-rpc-fix | Péter Szilágyi | 2016-02-23 | 1 | -9/+9 |
|\ \ \ | | | | | | | | | eth: fixed homestead tx check | ||||
| * | | | eth: fixed homestead tx check | Jeffrey Wilcke | 2016-02-20 | 1 | -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-lock | Péter Szilágyi | 2016-02-23 | 1 | -2/+28 |
|\ \ \ | | | | | | | | | eth/downloader: fix partial rollback and ancestor lookup | ||||
| * | | | eth/downloader: fix partial rollback and ancestor lookup | Péter Szilágyi | 2016-02-19 | 1 | -2/+28 |
| | |/ | |/| | |||||
* | | | Merge pull request #2095 from karalabe/trie-node-iterator | Péter Szilágyi | 2016-02-23 | 6 | -11/+574 |
|\ \ \ | |_|/ |/| | | core/state, trie: add node iterator, test state/trie sync consistency | ||||
| * | | core/state, trie: switch iterator panics to error fields | Péter Szilágyi | 2016-02-16 | 4 | -45/+62 |
| | | | |||||
| * | | core/state, trie: node iterator reports parent hashes too | Péter Szilágyi | 2016-02-16 | 2 | -15/+27 |
| | | | |||||
| * | | core/state, trie: surface iterator entry hashes | Péter Szilágyi | 2016-02-16 | 6 | -20/+114 |
| | | | |||||
| * | | core/state, trie: add node iterator, test state/trie sync consistency | Péter Szilágyi | 2016-02-16 | 4 | -11/+451 |
| |/ | |||||
* | | Merge pull request #2116 from obscuren/homestead | Jeffrey Wilcke | 2016-02-19 | 838 | -10016/+195245 |
|\ \ | | | | | | | core, core/vm: consensus changes necessary for the homestead release | ||||
| * | | core: Added new TD strategy which mitigate the risk for selfish mining | Jeffrey Wilcke | 2016-02-18 | 2 | -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 homestead | Jeffrey Wilcke | 2016-02-18 | 24 | -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 tests | Jeffrey Wilcke | 2016-02-18 | 800 | -11178/+181716 |
| | | | |||||
| * | | parmas, crypto, core, core/vm: homestead consensus protocol changes | Gustav Simonsson | 2016-02-18 | 55 | -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/mathrandom | Felix Lange | 2016-02-19 | 12 | -46/+815 |
|\ \ \ | | | | | | | | | console: seed random number generator | ||||
| * | | | console: seed random number generator | Bas van Kervel | 2016-02-19 | 12 | -46/+815 |
| |/ / | |||||
* | | | Merge pull request #2226 from fjl/eip-8 | Jeffrey Wilcke | 2016-02-19 | 14 | -182/+764 |
|\ \ \ | |/ / |/| | | p2p, p2p/discover: EIP-8 changes | ||||
| * | | p2p: EIP-8 changes | Felix Lange | 2016-02-19 | 4 | -149/+443 |
| | | | |||||
| * | | p2p/discover: EIP-8 changes | Felix Lange | 2016-02-19 | 2 | -1/+122 |
| | | | |||||
| * | | rlp: add "tail" struct tag | Felix Lange | 2016-02-19 | 6 | -26/+163 |
| | | | |||||
| * | | crypto/ecies: make authenticated shared data work | Felix Lange | 2016-02-12 | 2 | -6/+36 |
| | | | | | | | | | | | | The s2 parameter was not actually written to the MAC. | ||||
* | | | Merge pull request #2206 from fjl/update-deps | Jeffrey Wilcke | 2016-02-17 | 664 | -66894/+164289 |
|\ \ \ | |_|/ |/| | | Godeps: update all dependencies | ||||
| * | | jsre: include constructor properties in auto-completion | Felix Lange | 2016-02-15 | 3 | -14/+107 |
| | | | |||||
| * | | cmd/geth, jsre: improve auto-completion | Felix Lange | 2016-02-15 | 2 | -64/+68 |
| | | | |||||
| * | | cmd/geth: enable multi-line mode | Felix Lange | 2016-02-12 | 1 | -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.js | Felix Lange | 2016-02-12 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | Fixing the filename matters now because it will actually show up in JS backtraces. | ||||
| * | | jsre: fix pretty printer for upstream otto change | Felix Lange | 2016-02-12 | 1 | -2/+11 |
| | | | |||||
| * | | cmd/geth: update monitor to new termui code | Péter Szilágyi | 2016-02-11 | 1 | -25/+22 |
| | | | |||||
| * | | Godeps: update all dependencies to latest code | Péter Szilágyi | 2016-02-11 | 659 | -66792/+164083 |
| |/ | |||||
* | | Merge pull request #2210 from obscuren/abi-typed-array | Jeffrey Wilcke | 2016-02-15 | 2 | -43/+114 |
|\ \ | | | | | | | accounts/abi: support for typed array | ||||
| * | | accounts/abi: support for typed array | Jeffrey Wilcke | 2016-02-15 | 2 | -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-filters | Péter Szilágyi | 2016-02-13 | 8 | -52/+143 |
|\ \ | | | | | | | eth/filters: ✨ pending logs ✨ | ||||
| * | | eth/filters: ✨ pending logs ✨ | Jeffrey Wilcke | 2016-02-13 | 8 | -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-rpc | Péter Szilágyi | 2016-02-13 | 19 | -540/+654 |
|\ \ | |/ |/| | cmd, common, node, rpc: move HTTP RPC into node, drop singleton aspect | ||||
| * | cmd, node, rpc: readd inproc RPC client, expose via node | Péter Szilágyi | 2016-02-09 | 11 | -25/+178 |
| | | |||||
| * | cmd, common, node, rpc: rework naming convention to canonical one | Péter Szilágyi | 2016-02-09 | 13 | -115/+115 |
| | | |||||
| * | cmd, node, rpc: move websockets into node, break singleton | Péter Szilágyi | 2016-02-05 | 11 | -292/+194 |
| | | |||||
| * | cmd, common, node, rpc: move HTTP RPC into node, drop singletone aspect | Péter Szilágyi | 2016-02-05 | 10 | -215/+274 |
| | | |||||
* | | Merge pull request #2192 from obscuren/runtime-abi-fixes | Jeffrey Wilcke | 2016-02-11 | 6 | -48/+480 |
|\ \ | | | | | | | account/abi, vm/runtime: abi fixes & simplified runtime calling mechanism | ||||
| * | | core/vm/runtime: simplified runtime calling mechanism | Jeffrey Wilcke | 2016-02-11 | 3 | -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 parsing | Jeffrey Wilcke | 2016-02-11 | 3 | -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-rpc | Péter Szilágyi | 2016-02-11 | 2 | -15/+14 |
|\ \ \ | | | | | | | | | eth: Added GPO to suggest default gas prices | ||||
| * | | | eth: Added GPO to suggest default gas prices | Jeffrey Wilcke | 2016-02-10 | 2 | -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-reports | Péter Szilágyi | 2016-02-11 | 5 | -143/+160 |
|\ \ \ | | | | | | | | | eth, eth/downloader, jsre: surface state sync progress through the API | ||||
| * | | | eth, eth/downloader, jsre: surface state sync progress through the API | Péter Szilágyi | 2016-02-10 | 5 | -143/+160 |
|/ / / | |||||
* | | | Merge pull request #2189 from karalabe/fix-nil-miner | Péter Szilágyi | 2016-02-09 | 3 | -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 etherbase | Péter Szilágyi | 2016-02-09 | 3 | -76/+53 |
|/ / / | |||||
* | | | Merge pull request #2184 from karalabe/fix-fastsync-state-serializer-bug | Péter Szilágyi | 2016-02-09 | 2 | -3/+3 |
|\ \ \ | |/ / |/| | | eth/downloader: raise pending state limit that prevented concurrency | ||||
| * | | eth/downloader: raise pending state limit that prevented concurrency | Péter Szilágyi | 2016-02-08 | 2 | -3/+3 |
|/ / | |||||
* | | Merge pull request #2183 from bas-vk/issue2180 | Péter Szilágyi | 2016-02-08 | 1 | -1/+1 |
|\ \ | | | | | | | eth_sendTransaction, error not reported | ||||
| * | | eth: sendTransaction would not report the error when tx could not be added ↵ | Bas van Kervel | 2016-02-08 | 1 | -1/+1 |
|/ / | | | | | | | to tx pool | ||||
* | | Merge pull request #2106 from obscuren/out-of-bound-logs | Jeffrey Wilcke | 2016-02-06 | 4 | -26/+132 |
|\ \ | | | | | | | eth/filters: added notifications for out of bound log events | ||||
| * | | eth/filters: added notifications for out of bound log events | Jeffrey Wilcke | 2016-02-05 | 4 | -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_typo | Jeffrey Wilcke | 2016-02-05 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | cmd/utils: fix jspath flag typo | ||||
| * | | cmd/utils: fix jspath flag typo | Isidoro Ghezzi | 2016-02-05 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #2168 from karalabe/move-rpc-into-node | Péter Szilágyi | 2016-02-05 | 14 | -156/+292 |
|\ \ | | | | | | | cmd, common, node, rpc: move IPC into the node itself | ||||
| * | | cmd, common, node, rpc: move IPC into the node itself | Péter Szilágyi | 2016-02-04 | 14 | -156/+292 |
| | | | |||||
* | | | Merge pull request #2171 from karalabe/rpc-modules-fix | Péter Szilágyi | 2016-02-05 | 2 | -11/+8 |
|\ \ \ | |/ / |/| | | rpc: add jsonrpc version to module request, use json types | ||||
| * | | rpc: add jsonrpc version to module request, use json types | Péter Szilágyi | 2016-02-04 | 2 | -11/+8 |
|/ / | |||||
* | | Merge pull request #2169 from karalabe/fix-http-rpc-method | Jeffrey Wilcke | 2016-02-04 | 1 | -23/+17 |
|\ \ | |/ |/| | rpc: allow RPC requests on GET too | ||||
| * | rpc: allow RPC requests on GET too | Péter Szilágyi | 2016-02-03 | 1 | -23/+17 |
| | | |||||
* | | Merge pull request #2134 from karalabe/save-state-writes | Péter Szilágyi | 2016-02-03 | 4 | -10/+175 |
|\ \ | | | | | | | core/state, trie: don't leak database writes before commit | ||||
| * | | core/state, ethdb, trie: test intermediate secure key leak, fix memdb bug | Péter Szilágyi | 2016-01-20 | 3 | -3/+73 |
| | | | |||||
| * | | core/state, trie: don't leak database writes before commit | Péter Szilágyi | 2016-01-20 | 3 | -8/+103 |
| | | | |||||
* | | | Merge pull request #2154 from karalabe/rpc-fixes | Péter Szilágyi | 2016-02-03 | 5 | -114/+107 |
|\ \ \ | | | | | | | | | cmd, eth, rpc: fix some RPC issues with pending blocks | ||||
| * | | | cmd, eth, rpc: fix some RPC issues with pending blocks | Péter Szilágyi | 2016-02-03 | 5 | -114/+107 |
|/ / / | |||||
* | | | Merge pull request #2156 from ppratscher/add_replay_tx | Péter Szilágyi | 2016-02-03 | 4 | -1/+147 |
|\ \ \ | | | | | | | | | core/vm, rpc/api: added debug_replayTransaction RPC call | ||||
| * | | | core/vm, rpc/api: renamed to debug.replayTransaction, migrated to new RPC, ↵ | Peter Pratscher | 2016-02-02 | 4 | -1/+147 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integrated feedback Integrated code review suggestions Integrated last review comments | ||||
* | | | | Merge pull request #2167 from obscuren/abi-event-fixes | Péter Szilágyi | 2016-02-03 | 6 | -31/+174 |
|\ \ \ \ | | | | | | | | | | | account/abi: implements event parsing | ||||
| * | | | | account/abi: implements event parsing | Jeffrey Wilcke | 2016-02-02 | 6 | -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/contrib | Péter Szilágyi | 2016-02-03 | 1 | -0/+9 |
|\ \ \ \ \ | |_|_|_|/ |/| | | | | CONTRIBUTING: Added a feature section | ||||
| * | | | | CONTRIBUTING: Added a feature section | Jeffrey Wilcke | 2016-02-02 | 1 | -0/+9 |
| |/ / / | |||||
* | | | | Merge pull request #2170 from karalabe/fix-miner-registration | Péter Szilágyi | 2016-02-03 | 1 | -1/+4 |
|\ \ \ \ | | | | | | | | | | | miner: register newly created remote agent in the API | ||||
| * | | | | miner: register newly created remote agent in the API | Péter Szilágyi | 2016-02-03 | 1 | -1/+4 |
|/ / / / | |||||
* | | | | Merge pull request #2098 from karalabe/rpc-txpool-queue-inspection | Jeffrey Wilcke | 2016-02-02 | 3 | -1/+113 |
|\ \ \ \ | | | | | | | | | | | core, eth, rpc/api: rpc method to inspect the txpool queue | ||||
| * | | | | core, eth, rpc/api: rpc method to inspect the txpool queue | Péter Szilágyi | 2016-02-01 | 3 | -1/+113 |
|/ / / / | |||||
* | | | | Merge pull request #2146 from fjl/discover-win32-large-packets | Jeffrey Wilcke | 2016-02-01 | 4 | -7/+124 |
|\ \ \ \ | |/ / / |/| | | | p2p/discover: fix Windows-specific issue for larger-than-buffer packets | ||||
| * | | | p2p/discover: fix Windows-specific issue for larger-than-buffer packets | Felix Lange | 2016-01-23 | 4 | -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-alpine | Péter Szilágyi | 2016-01-31 | 1 | -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 now | Péter Szilágyi | 2016-01-31 | 1 | -5/+5 |
|/ / / / | |||||
* | | | | Merge pull request #2164 from karalabe/add-alpine-images | Péter Szilágyi | 2016-01-31 | 4 | -0/+29 |
|\ \ \ \ | |_|/ / |/| | | | containers: regroup and add Alpine images (31 MB) | ||||
| * | | | containers: regroup and add Alpine images (31 MB) | Péter Szilágyi | 2016-01-31 | 4 | -0/+29 |
|/ / / | |||||
* | | | Merge pull request #2151 from fjl/debug-api | Jeffrey Wilcke | 2016-01-28 | 12 | -116/+517 |
|\ \ \ | | | | | | | | | internal/debug: APIs for profiling and tracing | ||||
| * | | | internal/debug: APIs for profiling and tracing | Felix Lange | 2016-01-28 | 10 | -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 getters | Felix Lange | 2016-01-27 | 1 | -8/+10 |
| | | | | |||||
| * | | | logger/glog: fix TraceLocation.Set("") | Felix Lange | 2016-01-27 | 1 | -0/+4 |
| | | | | |||||
| * | | | rpc: fix success response encoding for null return value | Felix Lange | 2016-01-27 | 1 | -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-2 | Jeffrey Wilcke | 2016-01-28 | 4 | -22/+131 |
|\ \ \ \ | |/ / / |/| | | | core, core/types, miner: fix transaction nonce-price combo sort | ||||
| * | | | core, core/types, miner: fix transaction nonce-price combo sort | Péter Szilágyi | 2016-01-22 | 4 | -22/+131 |
| |/ / | |||||
* | | | Merge pull request #2140 from obscuren/rpc2-console | Jeffrey Wilcke | 2016-01-26 | 132 | -14318/+4709 |
|\ \ \ | | | | | | | | | Rpc2 console | ||||
| * | | | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 132 | -14318/+4709 |
|/ / / | |||||
* | | | Merge pull request #2136 from fjl/glog-prefix | Felix Lange | 2016-01-26 | 7 | -92/+112 |
|\ \ \ | | | | | | | | | logger/glog: improve vmodule | ||||
| * | | | node, rpc/api: add debug_vmodule, move admin_verbosity to debug_verbosity | Felix Lange | 2016-01-21 | 5 | -41/+18 |
| | | | | |||||
| * | | | logger/glog: add SetVmodule | Felix Lange | 2016-01-21 | 1 | -0/+5 |
| | | | | |||||
| * | | | logger/glog: add directory context to output and vmodule matching | Felix Lange | 2016-01-21 | 2 | -51/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows setting the verbosity for directory prefixes using the syntax: --vmodule=eth/=6 | ||||
* | | | | Merge pull request #2145 from caktux/develop | Felix Lange | 2016-01-23 | 3 | -21/+34 |
|\ \ \ \ | |_|/ / |/| | | | separate and optimize Dockerfile for master and develop | ||||
| * | | | separate and optimize Dockerfile for master and develop | caktux | 2016-01-22 | 3 | -21/+34 |
|/ / / | |||||
* | | | Merge pull request #2115 from karalabe/vm-debug-storage | Jeffrey Wilcke | 2016-01-21 | 4 | -14/+20 |
|\ \ \ | | | | | | | | | core/vm: resolve circular dependency to debug vm storage | ||||
| * | | | core/vm: resolve circular dependency to debug vm storage | Péter Szilágyi | 2016-01-12 | 4 | -14/+20 |
| | | | | |||||
* | | | | Merge pull request #2132 from bas-vk/console-sleep | Jeffrey Wilcke | 2016-01-21 | 2 | -0/+84 |
|\ \ \ \ | | | | | | | | | | | console: add admin.sleep and admin.sleepBlocks | ||||
| * | | | | console: add admin.sleep and admin.sleepBlocks | Bas van Kervel | 2016-01-19 | 2 | -0/+84 |
| | |_|/ | |/| | | |||||
* | | | | Merge pull request #2130 from bas-vk/nodeinfo-format | Felix Lange | 2016-01-19 | 1 | -6/+6 |
|\ \ \ \ | |/ / / |/| | | | Nodeinfo format Genesis and Header | ||||
| * | | | eth: changed NodeInfo Genesis and Head types | Bas van Kervel | 2016-01-18 | 1 | -6/+6 |
|/ / / | |||||
* | | | Merge pull request #2119 from karalabe/statedb-batch-commit | Jeffrey Wilcke | 2016-01-14 | 1 | -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 later | Péter Szilágyi | 2016-01-13 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #2114 from karalabe/chain-maker-state-remake | Felix Lange | 2016-01-11 | 1 | -12/+7 |
|\ \ | |/ |/| | core: fix invalid state reuse in chain maker based tests | ||||
| * | core: fix invalid state reuse in chain maker based tests | Péter Szilágyi | 2016-01-11 | 1 | -12/+7 |
|/ | |||||
* | Merge pull request #2110 from LefterisJP/determining_home_for_ubuntu_core | Felix Lange | 2016-01-08 | 1 | -5/+6 |
|\ | | | | | common: Fix HomeDir detection | ||||
| * | common: Fix HomeDir detection | Lefteris Karapetsas | 2016-01-08 | 1 | -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-checks | Jeffrey Wilcke | 2016-01-05 | 6 | -61/+85 |
|\ | | | | | core, eth/downloader: ensure state presence in ancestor lookup | ||||
| * | core, eth/downloader: ensure state presence in ancestor lookup | Péter Szilágyi | 2016-01-04 | 6 | -61/+85 |
| | | |||||
* | | Merge pull request #2101 from karalabe/delete-outoffund-transactions | Jeffrey Wilcke | 2016-01-05 | 2 | -44/+344 |
|\ \ | |/ |/| | core: transaction invalidation and reorganization fixes | ||||
| * | core: fix transaction reorg issues within the tx pool | Péter Szilágyi | 2016-01-05 | 2 | -44/+344 |
|/ | |||||
* | Merge pull request #2099 from karalabe/fix-throttling-test | Felix Lange | 2015-12-30 | 1 | -3/+1 |
|\ | | | | | eth/downloader: throttling tests are time-sensitive, don't run parallel | ||||
| * | eth/downloader: throttling tests are time-sensitive, don't run parallel | Péter Szilágyi | 2015-12-30 | 1 | -3/+1 |
|/ | |||||
* | Merge pull request #2064 from fjl/remove-common-rlp | Jeffrey Wilcke | 2015-12-19 | 17 | -1235/+96 |
|\ | | | | | common: remove old RLP implementation, Value and ExtPackage | ||||
| * | common: remove old RLP implementation, Value and ExtPackage | Felix Lange | 2015-12-18 | 10 | -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 serialisation | Felix Lange | 2015-12-18 | 5 | -71/+67 |
| | | |||||
| * | eth/downloader: fix negative balance issue in tests | Felix Lange | 2015-12-18 | 2 | -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/rpcnilptr | Jeffrey Wilcke | 2015-12-19 | 1 | -5/+6 |
|\ \ | | | | | | | console crash on nil ptr | ||||
| * | | console: bugfix that causes the console to crash when connection to an ↵ | Bas van Kervel | 2015-12-18 | 1 | -5/+6 |
|/ / | | | | | | | endpoint without the personal api enabled | ||||
* | | Merge pull request #2019 from zsfelfoldi/light-state | Jeffrey Wilcke | 2015-12-18 | 10 | -15/+1091 |
|\ \ | |/ |/| | Light state | ||||
| * | light: implemented odr-capable trie and state structures | zsfelfoldi | 2015-12-17 | 10 | -15/+1091 |
| | | |||||
* | | Merge pull request #1925 from fjl/p2p-dial-resolve | Jeffrey Wilcke | 2015-12-18 | 10 | -208/+444 |
|\ \ | | | | | | | p2p: resolve incomplete dial targets | ||||
| * | | p2p/discover: attempt to deflake TestUDP_responseTimeouts | Felix Lange | 2015-12-18 | 1 | -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 targets | Felix Lange | 2015-12-18 | 2 | -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/discover | Felix Lange | 2015-12-18 | 6 | -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 Resolve | Felix Lange | 2015-12-18 | 7 | -54/+158 |
|/ / | |||||
* | | Merge pull request #1997 from zsfelfoldi/gasprice2 | Jeffrey Wilcke | 2015-12-17 | 4 | -5/+76 |
|\ \ | | | | | | | core: tx pool skip price validation for "owned" transactions |