Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache | Péter Szilágyi | 2016-03-09 | 1 | -6/+3 |
| | |||||
* | Godeps, eth, tests: update ethash, used shared for testing | Péter Szilágyi | 2016-02-24 | 1 | -3/+8 |
| | |||||
* | Merge pull request #2195 from obscuren/gpo-rpc | Péter Szilágyi | 2016-02-11 | 1 | -1/+1 |
|\ | | | | | eth: Added GPO to suggest default gas prices | ||||
| * | eth: Added GPO to suggest default gas prices | Jeffrey Wilcke | 2016-02-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | | eth, miner: move the public miner api into eth to access etherbase | Péter Szilágyi | 2016-02-09 | 1 | -1/+1 |
|/ | |||||
* | rpc: migrated the RPC insterface to a new reflection based RPC layer | Bas van Kervel | 2016-01-26 | 1 | -12/+24 |
| | |||||
* | common: remove old RLP implementation, Value and ExtPackage | Felix Lange | 2015-12-18 | 1 | -12/+2 |
| | | | | | 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, eth, node, rpc: port the admin and debug API | Péter Szilágyi | 2015-12-15 | 1 | -0/+13 |
| | |||||
* | rpc: new RPC implementation with pub/sub support | Bas van Kervel | 2015-12-14 | 1 | -0/+60 |
| | |||||
* | eth: use global event mux instead | Bas van Kervel | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | cmd, eth, node, rpc, xeth: use single-instance services | Péter Szilágyi | 2015-11-27 | 1 | -2/+2 |
| | |||||
* | cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacks | Péter Szilágyi | 2015-11-27 | 1 | -299/+46 |
| | |||||
* | core, eth, rpc: split out block validator and state processor | Jeffrey Wilcke | 2015-11-18 | 1 | -23/+18 |
| | | | | | | | | | | | | This removes the burden on a single object to take care of all validation and state processing. Now instead the validation is done by the `core.BlockValidator` (`types.Validator`) that takes care of both header and uncle validation through the `ValidateBlock` method and state validation through the `ValidateState` method. The state processing is done by a new object `core.StateProcessor` (`types.Processor`) and accepts a new state as input and uses that to process the given block's transactions (and uncles for rewords) to calculate the state root for the next block (P_n + 1). | ||||
* | eth: fix error casting regression during database open | Péter Szilágyi | 2015-11-05 | 1 | -18/+3 |
| | |||||
* | Merge pull request #1934 from karalabe/polish-protocol-infos | Jeffrey Wilcke | 2015-11-04 | 1 | -56/+4 |
|\ | | | | | eth, p2p, rpc/api: polish protocol info gathering | ||||
| * | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 1 | -56/+4 |
| | | |||||
* | | Merge pull request #1952 from obscuren/testnet-peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
|\ \ | | | | | | | eth: added new testnet peers | ||||
| * | | eth: added new testnet peers | Jeffrey Wilcke | 2015-10-30 | 1 | -1/+2 |
| |/ | |||||
* / | cmd/geth, cmd/utils, eth: group CLI flags by purpose | Péter Szilágyi | 2015-10-30 | 1 | -6/+0 |
|/ | |||||
* | rpc api: eth_getNatSpec | zelig | 2015-10-27 | 1 | -0/+11 |
| | | | | | | | | * 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 | 1 | -0/+29 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | core, eth, trie: fix data races and merge/review issues | Péter Szilágyi | 2015-10-21 | 1 | -1/+0 |
| | |||||
* | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 1 | -2/+2 |
| | |||||
* | core: support inserting pure header chains | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | cmd, eth: support switching client modes of operation | Péter Szilágyi | 2015-10-19 | 1 | -2/+4 |
| | |||||
* | Merge pull request #1899 from obscuren/mipmap-bloom | Jeffrey Wilcke | 2015-10-17 | 1 | -0/+46 |
|\ | | | | | core, eth/filters, miner, xeth: Optimised log filtering | ||||
| * | core, eth/filters, miner, xeth: Optimised log filtering | Jeffrey Wilcke | 2015-10-17 | 1 | -0/+46 |
| | | | | | | | | | | | | | | Log filtering is now using a MIPmap like approach where addresses of logs are added to a mapped bloom bin. The current levels for the MIP are in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are therefor filtered in batches of 1.000. | ||||
* | | Merge pull request #1869 from Gustav-Simonsson/gpu_miner | Jeffrey Wilcke | 2015-10-16 | 1 | -12/+0 |
|\ \ | | | | | | | all: Add GPU mining, disabled by default | ||||
| * | | all: Add GPU mining, disabled by default | Gustav Simonsson | 2015-10-07 | 1 | -12/+0 |
| | | | |||||
* | | | core/state, core, miner: handle missing root error from state.New | Gustav Simonsson | 2015-10-16 | 1 | -1/+2 |
| |/ |/| | |||||
* | | cmd, core, eth: added official testnet | Jeffrey Wilcke | 2015-10-09 | 1 | -1/+17 |
| | | |||||
* | | cmd/geth, cmd/utils, core, rpc: renamed to blockchain | Jeffrey Wilcke | 2015-10-04 | 1 | -11/+11 |
|/ | | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted. | ||||
* | ethdb: remove Flush | Felix Lange | 2015-09-15 | 1 | -33/+2 |
| | |||||
* | all: move common.Database to package ethdb | Felix Lange | 2015-09-15 | 1 | -8/+8 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -4/+14 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 1 | -63/+45 |
| | |||||
* | cmd/geth, cmd/utils, eth: added dev mode flag | Jeffrey Wilcke | 2015-09-09 | 1 | -6/+9 |
| | | | | | | | | | | | | Dev mode enabled some debugging flags such as: * VM debugging mode * Simpler proof of work * Whisper enabled by default * Datadir to a tmp datadir * Maxpeers set to 0 * Gas price of 0 * Random listen port | ||||
* | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 1 | -1/+1 |
| | |||||
* | Update CPP pubkey | Taylor Gerring | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | Added SG bootnode | Taylor Gerring | 2015-08-17 | 1 | -2/+3 |
| | |||||
* | eth, trie: removed key prefixing from state entries & merge db fix | Jeffrey Wilcke | 2015-08-14 | 1 | -15/+19 |
| | | | | | | | | | Fixed database merge strategy to use the correct database. Due to a copy paste fail when doing type evaluation the same database was being iterated (chain), all others were ignored. Removed state prefixing because {H(code): code} is stored in the same database as the rest of the state. | ||||
* | core, eth, trie, xeth: merged state, chain, extra databases in one | Jeffrey Wilcke | 2015-08-08 | 1 | -72/+118 |
| | |||||
* | cmd/geth, eth: added canonical extra data | Jeffrey Wilcke | 2015-08-07 | 1 | -7/+2 |
| | | | | | Implemented canonical extra data according to https://github.com/ethereum/wiki/wiki/Extra-Data | ||||
* | cmd, core, eth: support for the olympic network | Jeffrey Wilcke | 2015-08-04 | 1 | -0/+9 |
| | | | | Added a --olympic flag which initialiser the olympic protocol settings | ||||
* | Merge pull request #1533 from ethersphere/frontier/etherbase | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+5 |
|\ | | | | | Etherbase defaults to first account even if it is created during the session | ||||
| * | etherbase defaults to first account even if created during the session | zelig | 2015-07-27 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #1515 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-28 | 1 | -1/+1 |
|\ \ | |/ |/| | all: fix license headers one more time | ||||
| * | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | | params: reduce extra data to 32 bytes | Jeffrey Wilcke | 2015-07-26 | 1 | -2/+3 |
| | | |||||
* | | eth: set default miner extra to client name | Jeffrey Wilcke | 2015-07-25 | 1 | -0/+7 |
| | | |||||
* | | Merge pull request #1510 from fjl/license-fixes | Jeffrey Wilcke | 2015-07-23 | 1 | -4/+4 |
|\| | | | | | all: license fixes | ||||
| * | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | | | | | | 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, ethdb: cache flag to allocate memory for db internal use | Péter Szilágyi | 2015-07-22 | 1 | -1/+2 |
|/ | |||||
* | cmd, core, eth, common: genesis preparation | Jeffrey Wilcke | 2015-07-10 | 1 | -16/+26 |
| | | | | | Implemented the --genesis flag thru which we can set a custom genesis block, including the official Ethereum genesis block. | ||||
* | eth, ethdb: fix a data race during startup/shutdown | Péter Szilágyi | 2015-07-09 | 1 | -25/+3 |
| | |||||
* | all: add some godoc synopsis comments | Felix Lange | 2015-07-07 | 1 | -0/+1 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | Merge pull request #1428 from obscuren/coinbase-fixes | Jeffrey Wilcke | 2015-07-07 | 1 | -2/+8 |
|\ | | | | | cmd,eth,rpc,tests: default coinbase | ||||
| * | eth,miner,rpc: set coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -0/+1 |
| | | |||||
| * | cmd,eth,rpc,tests: default coinbase | Jeffrey Wilcke | 2015-07-07 | 1 | -2/+7 |
| | | |||||
* | | Registrar and contractInfo handling | zelig | 2015-07-07 | 1 | -1/+12 |
|/ | | | | | | | | | | | | | | | | * 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 | ||||
* | Merge pull request #1283 from ethersphere/frontier/accounts | Jeffrey Wilcke | 2015-07-04 | 1 | -10/+2 |
|\ | | | | | Account management improvements | ||||
| * | require explicit etherbase address for mining. Falling back to primary is ↵ | zelig | 2015-07-03 | 1 | -3/+2 |
| | | | | | | | | risky given it is inconsistent if keys are imported/merged/created or copied/transfered | ||||
| * | unlock multiple passes and obsolete primary | zelig | 2015-07-03 | 1 | -9/+2 |
| | | | | | | | | | | | | | | * 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 | ||||
* | | core, miner: miner header validation, transaction & receipt writing | Jeffrey Wilcke | 2015-07-03 | 1 | -1/+1 |
|/ | | | | | | | | * Miners do now verify their own header, not their state. * Changed old putTx and putReceipts to be exported * Moved writing of transactions and receipts out of the block processer in to the chain manager. Closes #1386 * Miner post ChainHeadEvent & ChainEvent. Closes #1388 | ||||
* | eth, eth/downloader: transition to eth 61 | Péter Szilágyi | 2015-07-01 | 1 | -2/+1 |
| | |||||
* | cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61 | Péter Szilágyi | 2015-07-01 | 1 | -25/+34 |
| | |||||
* | cmd, core, eth, metrics, p2p: require enabling metrics | Péter Szilágyi | 2015-06-30 | 1 | -25/+26 |
| | |||||
* | cmd/geth, eth, ethdb: monitor database compactions | Péter Szilágyi | 2015-06-30 | 1 | -15/+24 |
| | |||||
* | eth, ethdb: measure database operation latencies too | Péter Szilágyi | 2015-06-24 | 1 | -9/+9 |
| | |||||
* | eth: make sure dbs are lvldb before instrumenting | Péter Szilágyi | 2015-06-24 | 1 | -18/+21 |
| | |||||
* | core, eth, eth/fetcher, ethdb: polish metrics gathering a bit | Péter Szilágyi | 2015-06-24 | 1 | -0/+19 |
| | |||||
* | eth, eth/fetcher: propagate after header verify, announce only on insert | Péter Szilágyi | 2015-06-18 | 1 | -1/+1 |
| | |||||
* | Merge pull request #1260 from obscuren/tx-drop-low-tx | Jeffrey Wilcke | 2015-06-16 | 1 | -0/+1 |
|\ | | | | | core: drop low gas tx | ||||
| * | core, miner: tx pool drops txs below ask price | obscuren | 2015-06-15 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #990 from zsfelfoldi/gasprice | Jeffrey Wilcke | 2015-06-15 | 1 | -16/+36 |
|\ \ | | | | | | | eth: add GasPriceOracle | ||||
| * | | fixed saving receipts | zsfelfoldi | 2015-06-15 | 1 | -16/+36 |
| |/ | |||||
* / | eth, eth/downloader: move peer removal into downloader | Péter Szilágyi | 2015-06-15 | 1 | -5/+3 |
|/ | |||||
* | eth, core: interupt the chain processing on stop | obscuren | 2015-06-12 | 1 | -1/+1 |
| | | | | | Added an additional channel which is used to interupt the chain manager when it's processing blocks. | ||||
* | core: fixed race condition in the transaction pool | obscuren | 2015-06-10 | 1 | -5/+0 |
| | | | | Removed `Stop/Start` mechanism from the transaction pool. | ||||
* | core: write accounts to statedb. Closes #1210 | obscuren | 2015-06-09 | 1 | -1/+1 |
| | |||||
* | core: settable genesis nonce | obscuren | 2015-06-09 | 1 | -1/+6 |
| | | | | | | | 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. | ||||
* | core, eth, miner: moved nonce management to tx pool. | obscuren | 2015-06-04 | 1 | -29/+0 |
| | | | | | | | | Removed the managed tx state from the chain manager to the transaction pool where it's much easier to keep track of nonces (and manage them). The transaction pool now also uses the queue and pending txs differently where queued txs are now moved over to the pending queue (i.e. txs ready for processing and propagation). | ||||
* | cmd/utils, eth: core.NewBlockProcessor no longer needs TxPool | Felix Lange | 2015-06-04 | 1 | -1/+1 |
| | |||||
* | Update bootnode | Taylor Gerring | 2015-06-01 | 1 | -1/+1 |
| | |||||
* | cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag | Péter Szilágyi | 2015-05-27 | 1 | -0/+2 |
| | |||||
* | eth, p2p: start the p2p server even if maxpeers == 0 | Péter Szilágyi | 2015-05-26 | 1 | -7/+3 |
| | |||||
* | eth: stop p2p.Server on shutdown | Felix Lange | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | automatic DAG pregeneration for smooth epoch transitions | zelig | 2015-05-21 | 1 | -0/+88 |
| | | | | | | | | - backend: AutoDAG bool flag passed from cli/eth.Config to ethereum, autoDAG loop started if true - backend: autoDAG loop start/stop, remove previous DAG - cli: AutoDAG bool flag, off by default, but automatically ON if mining - admin jsre: add startAutoDAG stopAutoDAG and makeDAG in miner section - switch on/off DAG autogeneration when miner started/stopped on console | ||||
* | eth: reduced max open files for LevelDB | obscuren | 2015-05-21 | 1 | -1/+1 |
| | |||||
* | solc now in ethereum, fixes solc path setting; setSolc() didnt work | zelig | 2015-05-20 | 1 | -0/+20 |
| | |||||
* | core: parallelise nonce checking when processing blocks | obscuren | 2015-05-18 | 1 | -2/+2 |
| | | | | | | ChainManager now uses a parallel approach to block processing where all nonces are checked seperatly from the block processing process. This speeds up the process by about 3 times on my i7 | ||||
* | eth, cmd/geth: start mining from console respects CLI flag | obscuren | 2015-05-16 | 1 | -0/+2 |
| | |||||
* | eth, eth/downloader, miner: use download events to check miner start | obscuren | 2015-05-15 | 1 | -2/+2 |
| | |||||
* | Fix common.Address / []byte type conversions | Gustav Simonsson | 2015-05-12 | 1 | -1/+1 |
| | |||||
* | Use common.Address type for accounts.Address | Gustav Simonsson | 2015-05-12 | 1 | -5/+8 |
| | |||||
* | Merge pull request #933 from bas-vk/issue928 | Jeffrey Wilcke | 2015-05-12 | 1 | -7/+6 |
|\ | | | | | replaced path with platform aware filepath module | ||||
| * | replaced several path.* with filepath.* which is platform independent | Bas van Kervel | 2015-05-12 | 1 | -7/+6 |
| | | |||||
* | | eth, ethdb: lower the amount of open files & improve err messages for db | obscuren | 2015-05-12 | 1 | -0/+1 |
|/ | | | | Closes #880 | ||||
* | eth, ethdb: lower the amount of open files & improve err messages for db | obscuren | 2015-05-12 | 1 | -3/+6 |
| | | | | Closes #880 | ||||
* | cmd/geth, miner, backend, xeth: Fixed miner threads to be settable | obscuren | 2015-05-11 | 1 | -6/+6 |
| | | | | | Miner threads are now settable through the admin interface (closes #897) and specify 0 CPU worker threads when eth_getWork is called (closes #916) | ||||
* | core, eth, miner: improved tx removal & fatal error on db sync err | obscuren | 2015-05-11 | 1 | -3/+5 |
| | | | | | | | | * 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 | ||||
* | cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosity | obscuren | 2015-05-09 | 1 | -7/+11 |
| | |||||
* | cmd, eth, p2p: introduce pending peer cli arg, add tests | Péter Szilágyi | 2015-05-07 | 1 | -12/+14 |
| | |||||
* | fixed merge issue | obscuren | 2015-05-07 | 1 | -4/+49 |
|\ | |||||
| * | eth, p2p: add trusted node list beside static list | Péter Szilágyi | 2015-05-04 | 1 | -12/+12 |
| | | |||||
| * | eth, p2p: rename trusted nodes to static, drop inbound extra slots | Péter Szilágyi | 2015-05-01 | 1 | -11/+11 |
| | | |||||
| * | cmd, eth, p2p: fix review issues enumerated by Felix | Péter Szilágyi | 2015-04-30 | 1 | -5/+5 |
| | | |||||
| * | cmd/geth, cmd/utils, eth: internalize trusted node config file | Péter Szilágyi | 2015-04-30 | 1 | -23/+20 |
| | | |||||
| * | cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers | Péter Szilágyi | 2015-04-30 | 1 | -4/+52 |
| | | |||||
* | | Merge pull request #791 from fjl/discover-sha3-distance | Jeffrey Wilcke | 2015-05-07 | 1 | -2/+2 |
|\ \ | | | | | | | p2p/discover: sha3-based node distance | ||||
| * | | p2p/discover: new endpoint format | Felix Lange | 2015-04-30 | 1 | -2/+2 |
| |/ | | | | | | | | | | | This commit changes the discovery protocol to use the new "v4" endpoint format, which allows for separate UDP and TCP ports and makes it possible to discover the UDP address after NAT. | ||||
* | | Integrate new ethash API and change geth makedag cmd | Gustav Simonsson | 2015-05-05 | 1 | -2/+1 |
| | | |||||
* | | eth, eth/downloader: Moved block processing & graceful shutdown | obscuren | 2015-05-01 | 1 | -2/+2 |
| | | | | | | | | | | | | | | The downloader is no longer responsible for processing blocks. The eth-protocol handler now takes care of this instead. Added graceful shutdown during block processing. Closes #846 | ||||
* | | core: added a wait group to chain manager for graceful shutdown | obscuren | 2015-04-30 | 1 | -0/+1 |
|/ | |||||
* | Merge pull request #793 from karalabe/discovery-node-cache | Jeffrey Wilcke | 2015-04-28 | 1 | -0/+3 |
|\ | | | | | p2p/discover: persistent node database | ||||
| * | cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design | Péter Szilágyi | 2015-04-24 | 1 | -8/+2 |
| | | |||||
| * | cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth. | Péter Szilágyi | 2015-04-24 | 1 | -3/+10 |
| | | |||||
| * | cmd, eth, p2p, p2p/discover: init and clean up the seed cache | Péter Szilágyi | 2015-04-24 | 1 | -0/+2 |
| | | |||||
* | | eth: pull in a lost merge change | Péter Szilágyi | 2015-04-28 | 1 | -2/+4 |
| | | | | | | | | Ref: https://github.com/Gustav-Simonsson/go-ethereum/commit/21c4c155ee68890a069654dcc5bc083a867f65cd | ||||
* | | Merge pull request #805 from obscuren/download_improvements | Jeffrey Wilcke | 2015-04-25 | 1 | -3/+3 |
|\ \ | | | | | | | eth, eth/downloader: improve downloader and remove asynchronousness | ||||
| * | | xeth, core, cmd/utils: Transaction can not be over block gas limit | obscuren | 2015-04-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit | ||||
| * | | eth, eth/downloader: don't require td on downloader. Fixed tests | obscuren | 2015-04-24 | 1 | -2/+2 |
| |/ | |||||
* / | backend: start miner in its go routine (no wait to generate DAG) | zelig | 2015-04-24 | 1 | -2/+1 |
|/ | |||||
* | Merge pull request #797 from tgerring/bootnodes | Jeffrey Wilcke | 2015-04-24 | 1 | -2/+3 |
|\ | | | | | Bootnodes update | ||||
| * | Updated bootnodes | Taylor Gerring | 2015-04-24 | 1 | -2/+3 |
| | | | | | | | | Update pub key for EU node and add new SA node | ||||
* | | Moved leveldb update loop to eth/backend | Bas van Kervel | 2015-04-23 | 1 | -18/+49 |
|/ | | | | | | change order of block insert and update LastBlock bugfix, wrong hash stored in blockDb | ||||
* | eth: moved mined, tx events to protocol-hnd and improved tx propagation | obscuren | 2015-04-23 | 1 | -26/+8 |
| | | | | | | | | | Transactions are now propagated to peers from which we have not yet received the transaction. This will significantly reduce the chatter on the network. Moved new mined block handler to the protocol handler and moved transaction handling to protocol handler. | ||||
* | eth: start tx pool in a goroutine | obscuren | 2015-04-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #756 from Gustav-Simonsson/block_test_improvements | Jeffrey Wilcke | 2015-04-21 | 1 | -1/+4 |
|\ | | | | | Block test improvements | ||||
| * | eth: use NewDB hook also for extra DB | Felix Lange | 2015-04-19 | 1 | -1/+4 |
| | | | | | | | | (cherry picked from commit d5083033f15bb815a6212eddae16a7125db58738) | ||||
* | | NatSpec cli option, resolver tests passing | zsfelfoldi | 2015-04-20 | 1 | -0/+3 |
|/ | |||||
* | eth: fix node key persistence | Felix Lange | 2015-04-19 | 1 | -4/+1 |
| | | | | | | crypto.LoadECDSA has been modified to expect hex data. The key was being saved as raw bytes, causing the file to be rewritten on every start. | ||||
* | eth: fixed proper BroadcastBlock for mined blocks | obscuren | 2015-04-18 | 1 | -1/+1 |
| | |||||
* | eth: listen for mined blocks and propagate using the protocol manager | obscuren | 2015-04-18 | 1 | -17/+15 |
| | |||||
* | eth: additional cleanups to the subprotocol, improved block propagation | obscuren | 2015-04-18 | 1 | -19/+22 |
| | | | | | | | | * Improved block propagation by sending blocks only to peers to which, as far as we know, the peer does not know about. * Made sub protocol its own manager * SubProtocol now contains the p2p.Protocol which is used instead of a function-returning-protocol thing. | ||||
* | eth: began split up of peers and protocol manager | obscuren | 2015-04-18 | 1 | -12/+1 |
| | |||||
* | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-16 | 1 | -3/+26 |
|\ | |||||
| * | eth: limit the amount of peers that will receive Block/Tx messages | obscuren | 2015-04-14 | 1 | -2/+3 |
| | | | | | | | | All transaction and block messages are now limited using `sqrt(peers)` | ||||
| * | Added blockchain DB versioning support, closes #650 | Bas van Kervel | 2015-04-13 | 1 | -1/+23 |
| | | |||||
* | | eth: added downloader for syncing up the chain | obscuren | 2015-04-13 | 1 | -1/+5 |
|/ | |||||
* | Moved handling of nonces to the managed state | obscuren | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | Improved transaction pool | obscuren | 2015-04-09 | 1 | -1/+1 |
| | | | | | | | | | | The transaction pool will now some easily be able to pre determine the validity of a transaction by checking the following: * Account existst * gas limit higher than the instrinsic gas * enough funds to pay upfront costs * nonce check | ||||
* | Sync managed accounts to the network | obscuren | 2015-04-08 | 1 | -0/+15 |
| | |||||
* | Updated logging | obscuren | 2015-04-07 | 1 | -7/+7 |
| | |||||
* | Update ethash | obscuren | 2015-04-05 | 1 | -1/+1 |
| | |||||
* | eth: update cpp bootnode address | Felix Lange | 2015-04-01 | 1 | -2/+2 |
| | |||||
* | Update Go bootnode address | Taylor Gerring | 2015-03-31 | 1 | -1/+1 |
| | |||||
* | settable etherbase | zelig | 2015-03-27 | 1 | -4/+23 |
| | | | | | | | | - etherbase flag for block reward destination - coinbase => etherbase - CLI- eth Config -> eth, xeth -> RPC / Miner - use primary instead of coinbase as the unlock magic wildcard - accounts: firstAddr/Coinbase -> Primary | ||||
* | Merge pull request #560 from tgerring/xethcleanup | Jeffrey Wilcke | 2015-03-25 | 1 | -18/+21 |
|\ | | | | | XEth cleanup | ||||
| * | Improve protocol version reporting | Taylor Gerring | 2015-03-25 | 1 | -18/+21 |
| | | |||||
* | | Store protocol version in the block db **NOT** extra db | obscuren | 2015-03-25 | 1 | -2/+2 |
|/ | |||||
* | better block propagation | obscuren | 2015-03-24 | 1 | -2/+2 |
| | |||||
* | Implement RPC net_version | Taylor Gerring | 2015-03-24 | 1 | -5/+7 |
| | |||||
* | Merge pull request #551 from ethersphere/frontier/eth-version-exports | Taylor Gerring | 2015-03-24 | 1 | -9/+10 |
|\ | | | | | eth: fix protocol version/network id copied from config to Ethereum field | ||||
| * | eth: fix protocol version/network id copied from config to Ethereum field | zelig | 2015-03-24 | 1 | -9/+10 |
| | | |||||
* | | moved state and vm to core | obscuren | 2015-03-23 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'jsonlog' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-23 | 1 | -17/+21 |
|\ | | | | | | | | | | | | | ethersphere-jsonlog Conflicts: eth/backend.go | ||||
| * | independent flag for json structured logging | zelig | 2015-03-22 | 1 | -14/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | - logjson flag remove logformat flag - passed to eth Config - logsystem not a field of Ethereum - LogSystem does not need to expose GetLogLevel/SetLogLevel - message struct just implements more generic LogMsg interface - LogMsg is a fmt.Stringer with Level() - jsonMsg ([]byte) implements LogMsg - remove "raw" systems - move level logic inside StdLogSystem - logsystems only print their kind of msg: jsonLogSystem prints jsonMsg, StdLogSystem prints stdMsg | ||||
* | | Get work / submit work partially implemented. | obscuren | 2015-03-22 | 1 | -3/+3 |
|/ | | | | | * WIP missing arguments for submitting new work * GetWork **done** | ||||
* | eth: enable whisper again | Felix Lange | 2015-03-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'ethersphere-frontier/blockpool' into conversion | obscuren | 2015-03-21 | 1 | -1/+2 |
|\ | |||||
| * | use own total difficulty to limit best peer | zelig | 2015-03-20 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | - update blockpool td by subscribing to ChainHeadEvent - if ahead of best peer, demote it - addPeer now take own td as current td - removePeer now take own td as current td - add relevant tests to peers_test - eth: backend now calls blockpool with eth.eventMux and chainManager.Td | ||||
* | | wip | obscuren | 2015-03-21 | 1 | -1/+1 |
|/ | |||||
* | eth, whisper: adapt for RLP encoder switch in package p2p | Felix Lange | 2015-03-19 | 1 | -2/+2 |
| | | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone. | ||||
* | Merge branch 'develop' into conversion | obscuren | 2015-03-19 | 1 | -15/+21 |
|\ | |||||
| * | private network support | zelig | 2015-03-18 | 1 | -14/+21 |
| | | | | | | | | | | | | - protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend | ||||
| * | eth/backend: remove spurious and incorrent PeerInfo() | zelig | 2015-03-18 | 1 | -5/+4 |
| | | |||||
* | | conversions. -compilable- | obscuren | 2015-03-18 | 1 | -5/+5 |
|/ | |||||
* | Merge branch 'frontier/js' into frontier/nodeadmin.js | zelig | 2015-03-16 | 1 | -13/+13 |
|\ | |||||
| * | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -13/+13 |
| | | |||||
* | | eth: | zelig | 2015-03-15 | 1 | -3/+65 |
|/ | | | | | | - NodeInfo, PeerInfo types, PeersInfo(), NodeInfo() in eth/backend to support node admin IF - start net only if MaxPeers > 0, close extraDb in Stop() - defer s.extraDb.Close() | ||||
* | merge | obscuren | 2015-03-15 | 1 | -6/+21 |
|\ | |||||
| * | eth: add ResetWithGenesisBlock | Felix Lange | 2015-03-14 | 1 | -4/+11 |
| | | | | | | | | This depends on a change in ethash which exposes UpdateCache. | ||||
| * | eth: add hook for database creation | Felix Lange | 2015-03-14 | 1 | -2/+10 |
| | | |||||
* | | Add web3_clientVersion | Taylor Gerring | 2015-03-13 | 1 | -0/+3 |
| | | |||||
* | | Add additional extra database for non-protocol related data | obscuren | 2015-03-12 | 1 | -7/+9 |
|/ | | | | * Add transaction to extra database after a successful block process | ||||
* | miner: provide coinbase when starting the miner | Felix Lange | 2015-03-12 | 1 | -8/+15 |
| | | | | | | | | | | This avoids having to query the coinbase when creating the miner, which in turn eliminates the dreaded startup error when no accounts are set up. Later, this will also allow us to simply restart the miner when the user picks a different coinbase. This causes a lot of changes in other packages. These are included in this commit because they're impossible to separate. | ||||
* | Merge branch origin/develop into accounts-integration | Felix Lange | 2015-03-11 | 1 | -0/+11 |
|\ | | | | | | | | | | | | | Conflicts: cmd/blocktest/main.go cmd/mist/debugger.go cmd/utils/cmd.go | ||||
| * | Add empty total difficulty to test blocks and clean up stopping the node | Gustav Simonsson | 2015-03-10 | 1 | -0/+11 |
| | | |||||
* | | eth: return account errors directly | Felix Lange | 2015-03-10 | 1 | -1/+1 |
| | | |||||
* | | eth: fix tests | Felix Lange | 2015-03-10 | 1 | -7/+7 |
| | | |||||
* | | Merge ethereum/poc-9 into accounts-integration | Felix Lange | 2015-03-10 | 1 | -9/+21 |
|\| | | | | | | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go | ||||
| * | Separated block db from state db. Partial fix for #416 | obscuren | 2015-03-07 | 1 | -10/+18 |
| | | |||||
| * | Debug option for VM & command line flag | obscuren | 2015-03-06 | 1 | -0/+4 |
| | | |||||
* | | eth: delete unused RpcServer field | Felix Lange | 2015-03-10 | 1 | -7/+0 |
| | | |||||
* | | accounts: AccountManager -> Manager | Felix Lange | 2015-03-08 | 1 | -17/+17 |
| | | |||||
* | | accounts, core, eth, xeth: use account manager for everything | Felix Lange | 2015-03-07 | 1 | -33/+14 |
| | | | | | | | | | | The account manager is now responsible for picking the default account and the coinbase. | ||||
* | | Integrate eth_accounts and eth_transact to use new account manager | Gustav Simonsson | 2015-03-06 | 1 | -17/+24 |
|/ | | | | | | | * Add from to eth_transact / xeth.Transact and add static pass in lieu of integrating with native Mist window for user passphrase entry * Make eth_accounts return AccountManager.Accounts() * Add a Generate Key menu item in Mist | ||||
* | Merge pull request #433 from fjl/newcli | Felix Lange | 2015-03-06 | 1 | -2/+5 |
|\ | | | | | Improved CLI | ||||
| * | ethutil: remove Config variable | Felix Lange | 2015-03-06 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | Various functions throughout the codebase used it to grab settings. This has to stop because I want to use them without reading the config file. These functions can now be used without reading the config first: * ethdb.NewLDBDatabase * ethrepl.NewJSRepl * vm.New | ||||
* | | Merge branch 'p2p-handshake-2' of https://github.com/fjl/go-ethereum into ↵ | obscuren | 2015-03-06 | 1 | -8/+1 |
|\ \ | |/ |/| | | | fjl-p2p-handshake-2 | ||||
| * | eth, p2p: delete p2p.Blacklist | Felix Lange | 2015-03-04 | 1 | -8/+1 |
| | | | | | | | | | | It is unused and untested right now. We can bring it back later if required. | ||||
* | | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -2/+1 |
|/ | |||||
* | Merge branch 'develop' into poc-9 | obscuren | 2015-03-04 | 1 | -5/+2 |
|\ | | | | | | | | | Conflicts: cmd/utils/cmd.go | ||||
| * | Merge pull request #411 from ethersphere/readme | Jeffrey Wilcke | 2015-03-04 | 1 | -1/+1 |
| |\ | | | | | | | [WIP] Update Readme | ||||
| | * | db name database -> blockchain in backend error message | zelig | 2015-03-03 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #409 from tgerring/jsonlogs | Jeffrey Wilcke | 2015-03-04 | 1 | -12/+12 |
| |\ \ | | | | | | | | | Updated JSON log events | ||||
| * | | | Remove Websockets RPC transport | Taylor Gerring | 2015-03-01 | 1 | -4/+1 |
| | |/ | |/| | |||||
* | | | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-04 | 1 | -12/+12 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | ethersphere-jsonlogs Conflicts: eth/block_pool.go eth/block_pool_test.go eth/protocol_test.go miner/worker.go | ||||
| * | | Don't import logger as ethlogger | Taylor Gerring | 2015-03-02 | 1 | -12/+12 |
| |/ | |||||
* | | fixed pow stuff | obscuren | 2015-03-04 | 1 | -2/+5 |
| | | |||||
* | | Merge branch 'ethersphere-blockpool2' into poc-9 | obscuren | 2015-03-01 | 1 | -3/+4 |
|\ \ | |/ |/| | |||||
| * | integrate blockpool into eth | zelig | 2015-02-25 | 1 | -3/+4 |
| | | | | | | | | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go | ||||
* | | Report proper database directory. Closes #397 | obscuren | 2015-02-27 | 1 | -1/+2 |
|/ | |||||
* | eth: persist node key between sessions (#304) | Felix Lange | 2015-02-20 | 1 | -6/+27 |
| | |||||
* | eth: add poc-8.ethdev.com as second default bootstrap node | Felix Lange | 2015-02-20 | 1 | -0/+3 |
| | |||||
* | Merge pull request #345 from maran/feature/minerthreads | Jeffrey Wilcke | 2015-02-20 | 1 | -1/+3 |
|\ | | | | | Implement command line argument to set the amount miner threads | ||||
| * | Implement command line argument to set the amount of agents created by the miner | Maran | 2015-02-19 | 1 | -1/+3 |
| | | | | | | | | Defaults to the amount of cores available on the CPU | ||||
* | | Merge pull request #339 from tgerring/jsonlog | Taylor Gerring | 2015-02-19 | 1 | -2/+0 |
|\ \ | |/ |/| | JSON log updates | ||||
| * | Update JSON Log types | Taylor Gerring | 2015-02-18 | 1 | -2/+0 |
| | | |||||
* | | Disabled ability to disable whisper. Closes #334 | obscuren | 2015-02-18 | 1 | -1/+5 |
|/ | |||||
* | added bootnode back in | obscuren | 2015-02-18 | 1 | -2/+1 |
| | |||||
* | Changed to ChainEvent and fixed a nil pointer in transact | obscuren | 2015-02-18 | 1 | -2/+2 |
| | |||||
* | Filter and mutex locks added | obscuren | 2015-02-17 | 1 | -0/+1 |
| | |||||
* | "centralised" mining to backend. Closes #323 | obscuren | 2015-02-17 | 1 | -63/+19 |
| | |||||
* | eth: add default bootnode | Felix Lange | 2015-02-14 | 1 | -2/+11 |
| | |||||
* | merge | obscuren | 2015-02-13 | 1 | -11/+10 |
| | |||||
* | wip | obscuren | 2015-02-13 | 1 | -61/+68 |
|\ | |||||
| * | cmd/ethereum, cmd/mist, eth, p2p: use package p2p/nat | Felix Lange | 2015-02-13 | 1 | -9/+5 |
| | | | | | | | | This deletes the old NAT implementation. | ||||
| * | eth: remove unused Ethereum sync fields | Felix Lange | 2015-02-10 | 1 | -4/+0 |
| | | |||||
| * | cmd/mist, cmd/ethereum: add CLI arguments for node key | Felix Lange | 2015-02-10 | 1 | -3/+10 |
| | | |||||
| * | eth: don't warn if no BootNodes are specified | Felix Lange | 2015-02-09 | 1 | -0/+3 |
| | | |||||
| * | cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodes | Felix Lange | 2015-02-07 | 1 | -9/+28 |
| | | |||||
| * | cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestions | Felix Lange | 2015-02-07 | 1 | -6/+4 |
| | | |||||
| * | cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API | Felix Lange | 2015-02-06 | 1 | -43/+30 |
| | | |||||
* | | merge | obscuren | 2015-02-13 | 1 | -11/+14 |
|\| | |||||
| * | Merge pull request #287 from ethereum/system-testing | Jeffrey Wilcke | 2015-02-06 | 1 | -8/+4 |
| |\ | | | | | | | Seednode CLI param updates | ||||
| | * | Move hardcoded seed node address to app flag | Taylor Gerring | 2015-02-03 | 1 | -8/+4 |
| | | | | | | | | | | | | Replaces functionality `-seed=true` with `-seed="ip:port"` | ||||
| * | | Added (disabled) Jit validation | obscuren | 2015-02-01 | 1 | -2/+1 |
| |/ | |||||
| * | moving to a better xeth | obscuren | 2015-01-29 | 1 | -0/+4 |
| | | |||||
| * | Update CLI to use new Websocket RPC | Taylor Gerring | 2015-01-28 | 1 | -0/+4 |
| | | | | | | | | Use “wsport” flag to change default port | ||||
| * | Move HTTP transport to sub package of RPC | Taylor Gerring | 2015-01-28 | 1 | -1/+1 |
| | | |||||
* | | Move standard fields to LogEvent | Taylor Gerring | 2015-02-12 | 1 | -1/+1 |
| | | |||||
* | | Move event names within each object | Taylor Gerring | 2015-02-11 | 1 | -1/+1 |
| | | |||||
* | | Use strongly-typed objects | Taylor Gerring | 2015-02-11 | 1 | -8/+7 |
| | | |||||
* | | Rename jsonlogger method | Taylor Gerring | 2015-01-22 | 1 | -1/+1 |
| | | |||||
* | | Add JsonLogger type | Taylor Gerring | 2015-01-22 | 1 | -0/+9 |
| | | |||||
* | | Add LogFormat flag | Taylor Gerring | 2015-01-22 | 1 | -1/+2 |
|/ | |||||
* | Print error instead of returning for seed node err | obscuren | 2015-01-19 | 1 | -1/+1 |
| | | | | | Returning an error would indicate a complete failure initialising the Ethereum backend. Instead we should print the message and continue. | ||||
* | just enable by default | obscuren | 2015-01-09 | 1 | -7/+3 |
| | |||||
* | Refactored ethutil.Config.Db out | obscuren | 2015-01-07 | 1 | -4/+4 |
| | |||||
* | Fixed port num | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Changed to poc-8 & removed GetTxs | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Merge | obscuren | 2015-01-06 | 1 | -15/+32 |
| | |||||
* | BlockManager => BlockProcessor | obscuren | 2015-01-05 | 1 | -9/+9 |
| | |||||
* | Cleaned up some of that util | obscuren | 2015-01-04 | 1 | -16/+74 |
| | |||||
* | Fixed bug where logging could crash client during tx adding | obscuren | 2015-01-03 | 1 | -2/+4 |
| | |||||
* | Removed the need of having a backend for the tx pool | obscuren | 2015-01-02 | 1 | -1/+1 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -1/+1 |
| | | | | * Includes new rlp decoder |