aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1869 from Gustav-Simonsson/gpu_minerJeffrey Wilcke2015-10-161-2/+1
|\ | | | | all: Add GPU mining, disabled by default
| * all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-2/+1
| |
* | cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-1/+1
|/ | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* core, core/types: readd transactions after chain re-orgJeffrey Wilcke2015-09-221-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
* all: move common.Database to package ethdbFelix Lange2015-09-151-1/+1
|
* etherbase defaults to first account even if created during the sessionzelig2015-07-271-1/+2
|
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-2/+2
| | | | | 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 preparationJeffrey Wilcke2015-07-101-2/+4
| | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block.
* all: update license informationFelix Lange2015-07-071-0/+16
|
* cmd/geth: fixed testJeffrey Wilcke2015-07-071-1/+1
|
* fix/skip tests, adapt registrar to no contract addresszelig2015-07-071-3/+9
| | | | registry initialisers now return the txhash which caller can use to retrieve receipt
* fix natspec testzelig2015-07-071-1/+1
| | | | | | * registar url string retrieval chop leading zeros now * rewrite test using test mining * remove temporary applyTxs from xeth
* fix js arguments and TestContract passeszelig2015-07-071-7/+10
|
* rename js methods in js_test for new console APIzelig2015-07-071-7/+7
| | | | + rebase fixes
* Registrar and contractInfo handlingzelig2015-07-071-1/+1
| | | | | | | | | | | | | | | | * 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
* Registrar and contractInfo handlingzelig2015-07-071-55/+161
| | | | | | | | | | | | | | | | * 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
* fix account orderingzelig2015-07-031-1/+1
| | | | | | | | * chronological order of creation * new naming scheme keystore/UTC--<created_at UTC ISO8601>-<address hex> * KeyStore2 -> KeyStore * backward compatibility * refactor keyStore methods
* accounts order by keyfile ctimezelig2015-07-031-3/+3
|
* rpc/js coinbase returns null if no etherbase setzelig2015-07-031-3/+1
|
* unlock multiple passes and obsolete primaryzelig2015-07-031-1/+1
| | | | | | | * multiple passwords allowed in password file * split on "\n", sideeffect: chop trailing slashes. fixes common mistake <(echo 'pass') * remove accounts.Primary method * do not fall back to primary account for mining
* added RPC start/stop supportBas van Kervel2015-06-221-1/+1
|
* fixed unittestsBas van Kervel2015-06-221-7/+10
|
* fixed unittest build problemBas van Kervel2015-06-111-1/+1
|
* core: settable genesis nonceobscuren2015-06-091-0/+3
| | | | | | | You can set the nonce of the block with `--genesisnonce`. When the genesis nonce changes and it doesn't match with the first block in your database it will fail. A new `datadir` must be given if the nonce of the genesis block changes.
* skipped failing natspec testsobscuren2015-06-041-1/+1
|
* cmd/geth, common/natspec: updating tests (still failing?)obscuren2015-06-041-1/+1
|
* cmd/geth: fix js console test for p2p server updatePéter Szilágyi2015-05-271-1/+3
|
* fix eth.sign. now implemented in admin jsre until web3.js has it .zelig2015-05-201-1/+1
|
* multiple contract source for solidity compiler: returns contract array if ↵zelig2015-05-201-3/+3
| | | | multiple contracts. fixes #1023
* solc now in ethereum, fixes solc path setting; setSolc() didnt workzelig2015-05-201-1/+2
|
* fix solc tests unskipzelig2015-05-201-14/+19
|
* core: chain manager no longer exports genesis blockobscuren2015-05-191-0/+2
|
* cmd/geth: use plain keystore for JS testsFelix Lange2015-05-141-1/+1
| | | | This reduces the time it takes to run the tests back to 3 seconds.
* Change default keystore dirGustav Simonsson2015-05-131-1/+1
|
* Fix address type in js testGustav Simonsson2015-05-121-1/+1
|
* Merge pull request #933 from bas-vk/issue928Jeffrey Wilcke2015-05-121-3/+2
|\ | | | | replaced path with platform aware filepath module
| * replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-3/+2
| |
* | sol: skipped source checking stepobscuren2015-05-121-0/+1
|/
* compiler, cli/js: fix solidity compiler tests failing when a different ↵zelig2015-05-121-2/+11
| | | | version of solc installed
* Signature test.Daniel A. Nagy2015-05-091-0/+28
|
* solidity compiler and contract metadocs integrationzelig2015-05-071-26/+215
| | | | | | | | | | | | | * 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
* cli/js console: if corsDomain is not given to startRpc, we fall back to ↵zelig2015-04-241-1/+1
| | | | value set on command line with `-corsDomain`
* js console: add cors domain optional argument to startRpczelig2015-04-241-7/+7
|
* cmd/geth: improve the JS testsFelix Lange2015-04-221-187/+68
| | | | | These changes ensure that the JS tests run without networking and fixes the block chain export and its associated test.
* geth: fixed failing cli testsobscuren2015-04-151-2/+2
|
* renamed ethereum => gethobscuren2015-03-271-0/+262