Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd/utils, crypto: add --lightkdf flag for lighter KDF | Drake Burroughs | 2015-10-29 | 2 | -2/+2 |
| | |||||
* | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 5 | -80/+52 |
| | | | | | | | | * xeth, rpc: implement eth_getNatSpec for tx confirmations * rename silly docserver -> httpclient * eth/backend: httpclient now accessible via eth.Ethereum init-d via config.DocRoot * cmd: introduce separate CLI flag for DocRoot (defaults to homedir) * common/path: delete unused assetpath func, separate HomeDir func | ||||
* | console: | zelig | 2015-10-22 | 4 | -71/+166 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lines with leading space are ommitted from history * exit processed even with whitespace around * all whitespace lines (not only empty ones) are ignored add 7 missing commands to admin api autocomplete registrar: methods now return proper error if reg addresses are not set. fixes #1457 rpc/console: fix personal.newAccount() regression. Now all comms accept interactive password registrar: add registrar tests for errors crypto: catch AES decryption error on presale wallet import + fix error msg format. fixes #1580 CLI: improve error message when starting a second instance of geth. fixes #1564 cli/accounts: unlock multiple accounts. fixes #1785 * make unlocking multiple accounts work with inline <() fd * passwdfile now correctly read only once * improve logs * fix CLI help text for unlocking fix regression with docRoot / admin API * docRoot/jspath passed to rpc/api ParseApis, which passes onto adminApi * docRoot field for JS console in order to pass when RPC is (re)started * improve flag desc for jspath common/docserver: catch http errors from response fix rpc/api tests common/natspec: fix end to end test (skipped because takes 8s) registrar: fix major regression: * deploy registrars on frontier * register HashsReg and UrlHint in GlobalRegistrar. * set all 3 contract addresses in code * zero out addresses first in tests | ||||
* | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 1 | -1/+1 |
|\ | | | | | all: Add GPU mining, disabled by default | ||||
| * | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 1 | -1/+1 |
| | | |||||
* | | common, crypto: add ICAP functions | Gustav Simonsson | 2015-10-13 | 3 | -0/+284 |
|/ | |||||
* | common: fix #1818, secondary datadir paths to fall back to | Péter Szilágyi | 2015-10-01 | 1 | -6/+16 |
| | |||||
* | core, core/types: readd transactions after chain re-org | Jeffrey Wilcke | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Added a `Difference` method to `types.Transactions` which sets the receiver to the difference of a to b (NOTE: not a **and** b). Transaction pool subscribes to RemovedTransactionEvent adding back to those potential missing from the chain. When a chain re-org occurs remove any transactions that were removed from the canonical chain during the re-org as well as the receipts that were generated in the process. Closes #1746 | ||||
* | Merge pull request #1793 from jeffallen/typo | Felix Lange | 2015-09-18 | 1 | -18/+19 |
|\ | | | | | common: Update README.md for the current package name | ||||
| * | common: Update README.md for the current package name | Jeff R. Allen | 2015-09-11 | 1 | -18/+19 |
| | | |||||
* | | Merge pull request #1801 from fjl/ethdb | Jeffrey Wilcke | 2015-09-16 | 2 | -27/+1 |
|\ \ | | | | | | | all: move common.Database to ethdb and add NewBatch | ||||
| * | | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 2 | -27/+1 |
| |/ | |||||
* | | new solc api: | zelig | 2015-09-15 | 2 | -14/+14 |
| | | | | | | | | | | | | * use legacy version matcher * optimise just a boolean flag * skipf for messages in tests | ||||
* | | Solidity Compiler - solc new API | zelig | 2015-09-12 | 2 | -23/+49 |
|/ | | | | | | | | | | * adapt to new compiler versioning * use compiler version as language version * implement new solc API for versions >= 0.1.[2-9][0-9]* fixes #1770 * add optimize=1 to options * backward compatibility (for now) for <= 0.1.1, and old versions (0.[2-9][0-9]*.[0-9]+) * introduce compilerOptions to ContractInfo * clean up flair, include full version string to version line and ContractInfo | ||||
* | common/compiler: fix #1598, expose solidity errors | Péter Szilágyi | 2015-08-26 | 1 | -58/+46 |
| | |||||
* | common/compiler, common/docserver, jsre: fix tests on windows | Felix Lange | 2015-08-06 | 3 | -9/+16 |
| | |||||
* | common: remove windows path functions | Felix Lange | 2015-08-06 | 3 | -64/+1 |
| | | | | They were unused and their tests failed on Windows. | ||||
* | common: remove config.go | Felix Lange | 2015-07-24 | 1 | -83/+0 |
| | | | | | The code in config.go is unused. The main reason for removing it is to get rid github.com/rakyll/goini in Godeps (it has no license). | ||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 38 | -38/+38 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 38 | -152/+152 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 1 | -3/+5 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | common/natspec: fixed test | Jeffrey Wilcke | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | all: goimports -w | Felix Lange | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 38 | -0/+608 |
| | |||||
* | fix/skip tests, adapt registrar to no contract address | zelig | 2015-07-07 | 3 | -21/+27 |
| | | | | registry initialisers now return the txhash which caller can use to retrieve receipt | ||||
* | fix natspec test | zelig | 2015-07-07 | 4 | -52/+98 |
| | | | | | | * registar url string retrieval chop leading zeros now * rewrite test using test mining * remove temporary applyTxs from xeth | ||||
* | fix js arguments and TestContract passes | zelig | 2015-07-07 | 2 | -6/+267 |
| | |||||
* | fix sleepBlocks, implement sleep | zelig | 2015-07-07 | 1 | -1/+1 |
| | |||||
* | Registrar and contractInfo handling | zelig | 2015-07-07 | 12 | -354/+719 |
| | | | | | | | | | | | | | | | | * resolver -> common/registrar * global registrar name registry interface * add Call to resolver backend interface * the hashReg and UrlHing contracts now initialised from global registry * initialization of contracts uniform * improve errors and more econsistent method names * common/registrar/ethreg: versioned registrar * integrate new naming and registrar in natspec * js console api: setGlobalRegistrar, setHashReg, setUrlHint * js test TestContract uses mining - tests fixed all pass * eth/backend: allow PoW test mode (small ethash DAG) * console jsre refers to resolver.abi/addr, * cmd/geth/contracts.go moved to common/registrar | ||||
* | Change keystore to version 3 | Gustav Simonsson | 2015-06-24 | 1 | -0/+37 |
| | | | | | | | | | | | | * Change password protection crypto in keystore to version 3 * Update KeyStoreTests/basic_tests.json * Add support for PBKDF2 with HMAC-SHA256 * Change MAC and encryption key to avoid unnecessary hashing * Add tests for test vectors in new wiki page defining version 3 * Add tests for new keystore tests in ethereum/tests repo * Move JSON loading util to common for use in both tests and crypto packages * Add backwards compatibility with key store version 1 | ||||
* | core, ethdb, trie: validate database errors | obscuren | 2015-06-21 | 1 | -1/+1 |
| | |||||
* | core/state, core/vm: reworked storage get / set to use common.Hash | obscuren | 2015-06-17 | 1 | -0/+4 |
| | |||||
* | core: reduce max allowed queued txs per address | obscuren | 2015-06-15 | 1 | -0/+11 |
| | | | | | Transactions in the queue are now capped to a maximum of 200 transactions. This number is completely arbitrary. | ||||
* | fixed windows ipc path issue | Bas van Kervel | 2015-06-12 | 1 | -0/+3 |
| | |||||
* | added API/IPC commandline flags | Bas van Kervel | 2015-06-11 | 1 | -0/+4 |
| | |||||
* | skip sol on new compiler | obscuren | 2015-06-09 | 1 | -2/+2 |
| | |||||
* | skipped failing natspec tests | obscuren | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | cmd/geth, common/natspec: updating tests (still failing?) | obscuren | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | types: block json unmarshal method added | obscuren | 2015-06-04 | 1 | -4/+4 |
| | |||||
* | common, ethdb: removed caching and LastTD | obscuren | 2015-05-28 | 1 | -1/+0 |
| | |||||
* | compile solidity contracts with std library | Marek Kotewicz | 2015-05-25 | 1 | -0/+2 |
| | |||||
* | multiple contract source for solidity compiler: returns contract array if ↵ | zelig | 2015-05-20 | 2 | -58/+65 |
| | | | | multiple contracts. fixes #1023 | ||||
* | remove solc flair | zelig | 2015-05-20 | 1 | -1/+2 |
| | |||||
* | fix solc tests unskip | zelig | 2015-05-20 | 2 | -14/+18 |
| | |||||
* | xeth: set balance max balance to from in call. Closes #951 | obscuren | 2015-05-16 | 1 | -0/+1 |
| | |||||
* | Change default keystore dir | Gustav Simonsson | 2015-05-13 | 1 | -2/+2 |
| | |||||
* | Fix natspec test (again x2) types | Gustav Simonsson | 2015-05-12 | 1 | -1/+2 |
| | |||||
* | Fix natspec e2e test accounts type (again) | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #933 from bas-vk/issue928 | Jeffrey Wilcke | 2015-05-12 | 2 | -16/+14 |
|\ | | | | | replaced path with platform aware filepath module | ||||
| * | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 2 | -16/+14 |
| | | |||||
* | | sol: skipped source checking step | obscuren | 2015-05-12 | 1 | -3/+5 |
|/ | |||||
* | compiler, cli/js: fix solidity compiler tests failing when a different ↵ | zelig | 2015-05-12 | 2 | -3/+9 |
| | | | | version of solc installed | ||||
* | core, eth, miner: improved tx removal & fatal error on db sync err | obscuren | 2015-05-11 | 2 | -20/+0 |
| | | | | | | | | * core: Added GasPriceChange event * eth: When one of the DB flush methods error a fatal error log message is given. Hopefully this will prevent corrupted databases from occuring. * miner: remove transactions with low gas price. Closes #906, #903 | ||||
* | solidity compiler and contract metadocs integration | zelig | 2015-05-07 | 7 | -369/+641 |
| | | | | | | | | | | | | | * common/compiler: solidity compiler + tests * rpc: eth_compilers, eth_compileSolidity + tests * fix natspec test using keystore API, notice exp dynamically changes addr, cleanup * resolver implements registrars and needs to create reg contract (temp) * xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath) * ethereumApi: implement compiler related RPC calls using XEth - json struct tests * admin: make use of XEth.SetSolc to allow runtime setting of compiler paths * cli: command line flags solc to set custom solc bin path * js admin api with new features debug and contractInfo modules * wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions | ||||
* | Merge pull request #791 from fjl/discover-sha3-distance | Jeffrey Wilcke | 2015-05-07 | 1 | -1/+14 |
|\ | | | | | p2p/discover: sha3-based node distance | ||||
| * | common: add Hash.Generate | Felix Lange | 2015-04-30 | 1 | -1/+14 |
| | | |||||
* | | xeth, rpc: added nonce setting through RPC and xeth transact | obscuren | 2015-05-07 | 1 | -2/+2 |
|/ | |||||
* | Remove path separator literals | Taylor Gerring | 2015-04-29 | 1 | -6/+7 |
| | |||||
* | natspec: disabled natspec test | obscuren | 2015-04-24 | 1 | -0/+1 |
| | |||||
* | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -0/+1 |
| | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | natspec: fixed test to work with new queued transactions | obscuren | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | common: delete BinaryLength | Felix Lange | 2015-04-22 | 2 | -25/+0 |
| | | | | | The test is failing the 32bit build and the function is not used anywhere. | ||||
* | contract addresses include hex prefix | zelig | 2015-04-20 | 4 | -37/+38 |
| | | | | | | | | - simplify resolver and tests - added missing test for KeyToUrl - fix notice error message and its test with !%x(MISSING) - natspec test: insertTx modified - does not prepend 0x to contract address - disable networking in e2e test | ||||
* | fix end to end test import cycle | zelig | 2015-04-20 | 1 | -3/+1 |
| | |||||
* | fixed resolver test | zsfelfoldi | 2015-04-20 | 1 | -2/+6 |
| | |||||
* | URLhint support for URLs longer than 32 bytes | zsfelfoldi | 2015-04-20 | 3 | -22/+70 |
| | |||||
* | added missing source file | zsfelfoldi | 2015-04-20 | 1 | -0/+36 |
| | |||||
* | test account is no longer permanently in genesis block, only put there when ↵ | zsfelfoldi | 2015-04-20 | 1 | -4/+13 |
| | | | | testing | ||||
* | NatSpec contracts are now not in the genesis block but added by the test | zsfelfoldi | 2015-04-20 | 2 | -20/+45 |
| | |||||
* | utils linked to natspec notice eval, test notice now using utils.toHex() | zsfelfoldi | 2015-04-20 | 3 | -8/+4048 |
| | |||||
* | NatSpec cli option, resolver tests passing | zsfelfoldi | 2015-04-20 | 2 | -8/+10 |
| | |||||
* | default fallback NatSpec messages | zsfelfoldi | 2015-04-20 | 2 | -14/+49 |
| | |||||
* | natspec test bugfix | zsfelfoldi | 2015-04-20 | 1 | -15/+12 |
| | |||||
* | NatSpec passing end to end test | zsfelfoldi | 2015-04-20 | 4 | -49/+196 |
| | |||||
* | s | zsfelfoldi | 2015-04-20 | 3 | -51/+79 |
| | |||||
* | NatSpec contracts in genesis block, end to end test (unfinished) | zsfelfoldi | 2015-04-20 | 6 | -58/+174 |
| | |||||
* | resolver tests | zelig | 2015-04-20 | 4 | -20/+81 |
| | | | | | | - add resolver tests and fix resolver to pass - statereg constructor fixed - comments added to natspec plus docserver integration for natspec userdoc fetching | ||||
* | reorg: | zelig | 2015-04-20 | 5 | -116/+66 |
| | | | | | - statereg methods move to natspec/resolver/docserver - fix failing test on invalid js input | ||||
* | add docserver using net/http Transport/Roundtrip | zelig | 2015-04-20 | 2 | -0/+131 |
| | |||||
* | NatSpec, URL register storage retrieval | zsfelfoldi | 2015-04-20 | 3 | -27/+200 |
| | | | | fixed 2/3 tests | ||||
* | add common/resolver skeleton | zelig | 2015-04-20 | 2 | -0/+62 |
| | |||||
* | new natspec | zelig | 2015-04-20 | 2 | -51/+186 |
| | | | | | | | - constructor takes abidoc, userdoc - json parsing of userdoc - method found by abi data - notice found from method | ||||
* | common: Added debug reporter | obscuren | 2015-04-15 | 1 | -0/+20 |
| | | | | | | | NOTE: For known, non-consensus, hard to reproduce bugs consider the following method `common.Report("extra", stuff, "you need logged")` will give you a stack trace and a friendly request to submit it as an issue on our issue tracker. | ||||
* | Queued level db writes and batch writes. Closes #647 | obscuren | 2015-04-08 | 1 | -2/+0 |
| | |||||
* | Detect non-valid strings for blockheight | Taylor Gerring | 2015-04-02 | 1 | -0/+5 |
| | |||||
* | Fix block size output #613 | Taylor Gerring | 2015-04-01 | 1 | -0/+4 |
| | |||||
* | common: remove WriteFile and ReadAllFile (use ioutil instead) | zelig | 2015-03-27 | 2 | -76/+1 |
| | |||||
* | natspec: minor fix in test | zelig | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | Merge pull request #547 from tgerring/commoncleanup | Jeffrey Wilcke | 2015-03-23 | 9 | -265/+250 |
|\ | | | | | common/common.go cleanup | ||||
| * | Remove common.go | Taylor Gerring | 2015-03-22 | 1 | -12/+0 |
| | | |||||
| * | Move Big* vars to big.go | Taylor Gerring | 2015-03-22 | 2 | -14/+13 |
| | | |||||
| * | Move MakeName to path | Taylor Gerring | 2015-03-22 | 2 | -8/+8 |
| | | |||||
| * | Move OS-specific funcs to path.go | Taylor Gerring | 2015-03-22 | 4 | -98/+91 |
| | | |||||
| * | Move CurrencyToString to size | Taylor Gerring | 2015-03-22 | 4 | -91/+95 |
| | | |||||
| * | Move ToHex/FromHex into bytes | Taylor Gerring | 2015-03-22 | 4 | -42/+43 |
| | | |||||
* | | Merge pull request #536 from zsfelfoldi/develop | Jeffrey Wilcke | 2015-03-23 | 1 | -1/+1 |
|\ \ | |/ |/| | using robertkrimen/otto, godeps updated | ||||
| * | using robertkrimen/otto, godeps updated | zsfelfoldi | 2015-03-20 | 1 | -1/+1 |
| | | |||||
* | | Merge remote-tracking branch 'ethereum/conversion' into conversion | Felix Lange | 2015-03-20 | 2 | -11/+4 |
|\ \ | |||||
| * | | copy over loop | obscuren | 2015-03-20 | 1 | -9/+2 |
| | | | |||||
| * | | Removed more casts | obscuren | 2015-03-20 | 1 | -2/+2 |
| | | | |||||
* | | | common: drop accessors for Value.Val | Felix Lange | 2015-03-20 | 3 | -10/+2 |
| | | | | | | | | | | | | I don't see why we would need two different accessors for a public field. | ||||
* | | | common: drop unused kind field from Value | Felix Lange | 2015-03-20 | 1 | -5/+1 |
| | | | | | | | | | | | | This makes Value 24 bytes smaller on 64bit systems. | ||||
* | | | common: make Value encodable with package rlp | Felix Lange | 2015-03-20 | 2 | -28/+55 |
|/ / | | | | | | | | | Value.{Encode,Decode} are gone. It implements rlp.Encoder and rlp.Decoder instead, so Value can be decoded into directly. | ||||
* | | merge | obscuren | 2015-03-19 | 1 | -0/+9 |
|\| | |||||
| * | DRY up the use of toHex in the project and move it to common | Maran | 2015-03-16 | 1 | -0/+9 |
| | | |||||
* | | prep template for fixed size hashes | obscuren | 2015-03-18 | 1 | -0/+48 |
| | | |||||
* | | Added Hex methods | obscuren | 2015-03-18 | 1 | -0/+2 |
| | | |||||
* | | Fixed VM & Tests w/ conversion | obscuren | 2015-03-17 | 1 | -0/+15 |
| | | |||||
* | | Merge branch 'develop' into conversion | obscuren | 2015-03-17 | 1 | -7/+2 |
|\| | | | | | | | | | Conflicts: common/types.go | ||||
| * | tmp | obscuren | 2015-03-16 | 1 | -2/+2 |
| | | |||||
* | | updated blockpool | obscuren | 2015-03-17 | 1 | -0/+3 |
| | | |||||
* | | converted vm | obscuren | 2015-03-17 | 1 | -18/+27 |
| | | |||||
* | | conversion state | obscuren | 2015-03-17 | 1 | -3/+5 |
| | | |||||
* | | Getters shouldn't need to be pointer receiver | obscuren | 2015-03-16 | 1 | -8/+7 |
| | | |||||
* | | compilable trie (tests fail) | obscuren | 2015-03-16 | 1 | -5/+5 |
| | | |||||
* | | Added functions to Hash & Address | obscuren | 2015-03-16 | 1 | -1/+37 |
| | | | | | | | | | | * Set, SetString, SetBytes * StringTo*, BytesTo* | ||||
* | | Added ToString methods | obscuren | 2015-03-16 | 1 | -3/+6 |
| | | |||||
* | | new type + additional methods | obscuren | 2015-03-16 | 2 | -1/+37 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 30 | -0/+2972 |