aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
Commit message (Collapse)AuthorAgeFilesLines
* console:zelig2015-10-221-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 issuesPéter Szilágyi2015-10-211-1/+0
|
* eth: clean out light node notions from ethPéter Szilágyi2015-10-191-2/+2
|
* core: support inserting pure header chainsPéter Szilágyi2015-10-191-1/+1
|
* cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-2/+4
|
* Merge pull request #1899 from obscuren/mipmap-bloomJeffrey Wilcke2015-10-171-0/+46
|\ | | | | core, eth/filters, miner, xeth: Optimised log filtering
| * core, eth/filters, miner, xeth: Optimised log filteringJeffrey Wilcke2015-10-171-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_minerJeffrey Wilcke2015-10-161-12/+0
|\ \ | | | | | | all: Add GPU mining, disabled by default
| * | all: Add GPU mining, disabled by defaultGustav Simonsson2015-10-071-12/+0
| | |
* | | core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-161-1/+2
| |/ |/|
* | cmd, core, eth: added official testnetJeffrey Wilcke2015-10-091-1/+17
| |
* | cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-11/+11
|/ | | | | | * Renamed ChainManager to BlockChain * Checkpointing is no longer required and never really properly worked when the state was corrupted.
* ethdb: remove FlushFelix Lange2015-09-151-33/+2
|
* all: move common.Database to package ethdbFelix Lange2015-09-151-8/+8
|
* core: split out TD from database and all internalsPéter Szilágyi2015-09-111-4/+14
|
* core, eth: split the db blocks into headers and bodiesPéter Szilágyi2015-09-111-63/+45
|
* cmd/geth, cmd/utils, eth: added dev mode flagJeffrey Wilcke2015-09-091-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 testsPéter Szilágyi2015-08-241-1/+1
|
* Update CPP pubkeyTaylor Gerring2015-08-171-1/+1
|
* Added SG bootnodeTaylor Gerring2015-08-171-2/+3
|
* eth, trie: removed key prefixing from state entries & merge db fixJeffrey Wilcke2015-08-141-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 oneJeffrey Wilcke2015-08-081-72/+118
|
* cmd/geth, eth: added canonical extra dataJeffrey Wilcke2015-08-071-7/+2
| | | | | Implemented canonical extra data according to https://github.com/ethereum/wiki/wiki/Extra-Data
* cmd, core, eth: support for the olympic networkJeffrey Wilcke2015-08-041-0/+9
| | | | Added a --olympic flag which initialiser the olympic protocol settings
* Merge pull request #1533 from ethersphere/frontier/etherbaseJeffrey Wilcke2015-07-281-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 sessionzelig2015-07-271-1/+5
| |
* | Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-281-1/+1
|\ \ | |/ |/| all: fix license headers one more time
| * all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* | params: reduce extra data to 32 bytesJeffrey Wilcke2015-07-261-2/+3
| |
* | eth: set default miner extra to client nameJeffrey Wilcke2015-07-251-0/+7
| |
* | Merge pull request #1510 from fjl/license-fixesJeffrey Wilcke2015-07-231-4/+4
|\| | | | | all: license fixes
| * all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-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 usePéter Szilágyi2015-07-221-1/+2
|/
* cmd, core, eth, common: genesis preparationJeffrey Wilcke2015-07-101-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/shutdownPéter Szilágyi2015-07-091-25/+3
|
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
|
* all: update license informationFelix Lange2015-07-071-0/+16
|
* Merge pull request #1428 from obscuren/coinbase-fixesJeffrey Wilcke2015-07-071-2/+8
|\ | | | | cmd,eth,rpc,tests: default coinbase
| * eth,miner,rpc: set coinbaseJeffrey Wilcke2015-07-071-0/+1
| |
| * cmd,eth,rpc,tests: default coinbaseJeffrey Wilcke2015-07-071-2/+7
| |
* | Registrar and contractInfo handlingzelig2015-07-071-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/accountsJeffrey Wilcke2015-07-041-10/+2
|\ | | | | Account management improvements
| * require explicit etherbase address for mining. Falling back to primary is ↵zelig2015-07-031-3/+2
| | | | | | | | risky given it is inconsistent if keys are imported/merged/created or copied/transfered
| * unlock multiple passes and obsolete primaryzelig2015-07-031-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 writingJeffrey Wilcke2015-07-031-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 61Péter Szilágyi2015-07-011-2/+1
|
* cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61Péter Szilágyi2015-07-011-25/+34
|
* cmd, core, eth, metrics, p2p: require enabling metricsPéter Szilágyi2015-06-301-25/+26
|
* cmd/geth, eth, ethdb: monitor database compactionsPéter Szilágyi2015-06-301-15/+24
|
* eth, ethdb: measure database operation latencies tooPéter Szilágyi2015-06-241-9/+9
|
* eth: make sure dbs are lvldb before instrumentingPéter Szilágyi2015-06-241-18/+21
|
* core, eth, eth/fetcher, ethdb: polish metrics gathering a bitPéter Szilágyi2015-06-241-0/+19
|
* eth, eth/fetcher: propagate after header verify, announce only on insertPéter Szilágyi2015-06-181-1/+1
|
* Merge pull request #1260 from obscuren/tx-drop-low-txJeffrey Wilcke2015-06-161-0/+1
|\ | | | | core: drop low gas tx
| * core, miner: tx pool drops txs below ask priceobscuren2015-06-151-0/+1
| |
* | Merge pull request #990 from zsfelfoldi/gaspriceJeffrey Wilcke2015-06-151-16/+36
|\ \ | | | | | | eth: add GasPriceOracle
| * | fixed saving receiptszsfelfoldi2015-06-151-16/+36
| |/
* / eth, eth/downloader: move peer removal into downloaderPéter Szilágyi2015-06-151-5/+3
|/
* eth, core: interupt the chain processing on stopobscuren2015-06-121-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 poolobscuren2015-06-101-5/+0
| | | | Removed `Stop/Start` mechanism from the transaction pool.
* core: write accounts to statedb. Closes #1210obscuren2015-06-091-1/+1
|
* core: settable genesis nonceobscuren2015-06-091-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.obscuren2015-06-041-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 TxPoolFelix Lange2015-06-041-1/+1
|
* Update bootnodeTaylor Gerring2015-06-011-1/+1
|
* cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flagPéter Szilágyi2015-05-271-0/+2
|
* eth, p2p: start the p2p server even if maxpeers == 0Péter Szilágyi2015-05-261-7/+3
|
* eth: stop p2p.Server on shutdownFelix Lange2015-05-251-1/+1
|
* automatic DAG pregeneration for smooth epoch transitionszelig2015-05-211-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 LevelDBobscuren2015-05-211-1/+1
|
* solc now in ethereum, fixes solc path setting; setSolc() didnt workzelig2015-05-201-0/+20
|
* core: parallelise nonce checking when processing blocksobscuren2015-05-181-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 flagobscuren2015-05-161-0/+2
|
* eth, eth/downloader, miner: use download events to check miner startobscuren2015-05-151-2/+2
|
* Fix common.Address / []byte type conversionsGustav Simonsson2015-05-121-1/+1
|
* Use common.Address type for accounts.AddressGustav Simonsson2015-05-121-5/+8
|
* Merge pull request #933 from bas-vk/issue928Jeffrey Wilcke2015-05-121-7/+6
|\ | | | | replaced path with platform aware filepath module
| * replaced several path.* with filepath.* which is platform independentBas van Kervel2015-05-121-7/+6
| |
* | eth, ethdb: lower the amount of open files & improve err messages for dbobscuren2015-05-121-0/+1
|/ | | | Closes #880
* eth, ethdb: lower the amount of open files & improve err messages for dbobscuren2015-05-121-3/+6
| | | | Closes #880
* cmd/geth, miner, backend, xeth: Fixed miner threads to be settableobscuren2015-05-111-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 errobscuren2015-05-111-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 verbosityobscuren2015-05-091-7/+11
|
* cmd, eth, p2p: introduce pending peer cli arg, add testsPéter Szilágyi2015-05-071-12/+14
|
* fixed merge issueobscuren2015-05-071-4/+49
|\
| * eth, p2p: add trusted node list beside static listPéter Szilágyi2015-05-041-12/+12
| |
| * eth, p2p: rename trusted nodes to static, drop inbound extra slotsPéter Szilágyi2015-05-011-11/+11
| |
| * cmd, eth, p2p: fix review issues enumerated by FelixPéter Szilágyi2015-04-301-5/+5
| |
| * cmd/geth, cmd/utils, eth: internalize trusted node config filePéter Szilágyi2015-04-301-23/+20
| |
| * cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peersPéter Szilágyi2015-04-301-4/+52
| |
* | Merge pull request #791 from fjl/discover-sha3-distanceJeffrey Wilcke2015-05-071-2/+2
|\ \ | | | | | | p2p/discover: sha3-based node distance
| * | p2p/discover: new endpoint formatFelix Lange2015-04-301-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 cmdGustav Simonsson2015-05-051-2/+1
| |
* | eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-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 shutdownobscuren2015-04-301-0/+1
|/
* Merge pull request #793 from karalabe/discovery-node-cacheJeffrey Wilcke2015-04-281-0/+3
|\ | | | | p2p/discover: persistent node database
| * cmd/bootnode, eth, p2p, p2p/discover: use a fancier db designPéter Szilágyi2015-04-241-8/+2
| |
| * cmd/bootnode, eth, p2p, p2p/discover: clean up the seeder and mesh into eth.Péter Szilágyi2015-04-241-3/+10
| |
| * cmd, eth, p2p, p2p/discover: init and clean up the seed cachePéter Szilágyi2015-04-241-0/+2
| |
* | eth: pull in a lost merge changePéter Szilágyi2015-04-281-2/+4
| | | | | | | | Ref: https://github.com/Gustav-Simonsson/go-ethereum/commit/21c4c155ee68890a069654dcc5bc083a867f65cd
* | Merge pull request #805 from obscuren/download_improvementsJeffrey Wilcke2015-04-251-3/+3
|\ \ | | | | | | eth, eth/downloader: improve downloader and remove asynchronousness
| * | xeth, core, cmd/utils: Transaction can not be over block gas limitobscuren2015-04-241-1/+1
| | | | | | | | | | | | Transactions will be invalidated when the tx.gas_limit > block.gas_limit
| * | eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-241-2/+2
| |/
* / backend: start miner in its go routine (no wait to generate DAG)zelig2015-04-241-2/+1
|/
* Merge pull request #797 from tgerring/bootnodesJeffrey Wilcke2015-04-241-2/+3
|\ | | | | Bootnodes update
| * Updated bootnodesTaylor Gerring2015-04-241-2/+3
| | | | | | | | Update pub key for EU node and add new SA node
* | Moved leveldb update loop to eth/backendBas van Kervel2015-04-231-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 propagationobscuren2015-04-231-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 goroutineobscuren2015-04-231-1/+1
|
* Merge pull request #756 from Gustav-Simonsson/block_test_improvementsJeffrey Wilcke2015-04-211-1/+4
|\ | | | | Block test improvements
| * eth: use NewDB hook also for extra DBFelix Lange2015-04-191-1/+4
| | | | | | | | (cherry picked from commit d5083033f15bb815a6212eddae16a7125db58738)
* | NatSpec cli option, resolver tests passingzsfelfoldi2015-04-201-0/+3
|/
* eth: fix node key persistenceFelix Lange2015-04-191-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 blocksobscuren2015-04-181-1/+1
|
* eth: listen for mined blocks and propagate using the protocol managerobscuren2015-04-181-17/+15
|
* eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-181-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 managerobscuren2015-04-181-12/+1
|
* Merge branch 'develop' into downloader-protoobscuren2015-04-161-3/+26
|\
| * eth: limit the amount of peers that will receive Block/Tx messagesobscuren2015-04-141-2/+3
| | | | | | | | All transaction and block messages are now limited using `sqrt(peers)`
| * Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-131-1/+23
| |
* | eth: added downloader for syncing up the chainobscuren2015-04-131-1/+5
|/
* Moved handling of nonces to the managed stateobscuren2015-04-091-1/+1
|
* Improved transaction poolobscuren2015-04-091-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 networkobscuren2015-04-081-0/+15
|
* Updated loggingobscuren2015-04-071-7/+7
|
* Update ethashobscuren2015-04-051-1/+1
|
* eth: update cpp bootnode addressFelix Lange2015-04-011-2/+2
|
* Update Go bootnode addressTaylor Gerring2015-03-311-1/+1
|
* settable etherbasezelig2015-03-271-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/xethcleanupJeffrey Wilcke2015-03-251-18/+21
|\ | | | | XEth cleanup
| * Improve protocol version reportingTaylor Gerring2015-03-251-18/+21
| |
* | Store protocol version in the block db **NOT** extra dbobscuren2015-03-251-2/+2
|/
* better block propagationobscuren2015-03-241-2/+2
|
* Implement RPC net_versionTaylor Gerring2015-03-241-5/+7
|
* Merge pull request #551 from ethersphere/frontier/eth-version-exportsTaylor Gerring2015-03-241-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 fieldzelig2015-03-241-9/+10
| |
* | moved state and vm to coreobscuren2015-03-231-1/+1
|/
* Merge branch 'jsonlog' of https://github.com/ethersphere/go-ethereum into ↵obscuren2015-03-231-17/+21
|\ | | | | | | | | | | | | ethersphere-jsonlog Conflicts: eth/backend.go
| * independent flag for json structured loggingzelig2015-03-221-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.obscuren2015-03-221-3/+3
|/ | | | | * WIP missing arguments for submitting new work * GetWork **done**
* eth: enable whisper againFelix Lange2015-03-211-1/+1
|
* Merge branch 'ethersphere-frontier/blockpool' into conversionobscuren2015-03-211-1/+2
|\
| * use own total difficulty to limit best peerzelig2015-03-201-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
* | wipobscuren2015-03-211-1/+1
|/
* eth, whisper: adapt for RLP encoder switch in package p2pFelix Lange2015-03-191-2/+2
| | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone.
* Merge branch 'develop' into conversionobscuren2015-03-191-15/+21
|\
| * private network supportzelig2015-03-181-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()zelig2015-03-181-5/+4
| |
* | conversions. -compilable-obscuren2015-03-181-5/+5
|/
* Merge branch 'frontier/js' into frontier/nodeadmin.jszelig2015-03-161-13/+13
|\
| * Moved ethutil => commonobscuren2015-03-161-13/+13
| |
* | eth:zelig2015-03-151-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()
* mergeobscuren2015-03-151-6/+21
|\
| * eth: add ResetWithGenesisBlockFelix Lange2015-03-141-4/+11
| | | | | | | | This depends on a change in ethash which exposes UpdateCache.
| * eth: add hook for database creationFelix Lange2015-03-141-2/+10
| |
* | Add web3_clientVersionTaylor Gerring2015-03-131-0/+3
| |
* | Add additional extra database for non-protocol related dataobscuren2015-03-121-7/+9
|/ | | | * Add transaction to extra database after a successful block process
* miner: provide coinbase when starting the minerFelix Lange2015-03-121-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-integrationFelix Lange2015-03-111-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 nodeGustav Simonsson2015-03-101-0/+11
| |
* | eth: return account errors directlyFelix Lange2015-03-101-1/+1
| |
* | eth: fix testsFelix Lange2015-03-101-7/+7
| |
* | Merge ethereum/poc-9 into accounts-integrationFelix Lange2015-03-101-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 #416obscuren2015-03-071-10/+18
| |
| * Debug option for VM & command line flagobscuren2015-03-061-0/+4
| |
* | eth: delete unused RpcServer fieldFelix Lange2015-03-101-7/+0
| |
* | accounts: AccountManager -> ManagerFelix Lange2015-03-081-17/+17
| |
* | accounts, core, eth, xeth: use account manager for everythingFelix Lange2015-03-071-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 managerGustav Simonsson2015-03-061-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/newcliFelix Lange2015-03-061-2/+5
|\ | | | | Improved CLI
| * ethutil: remove Config variableFelix Lange2015-03-061-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 ↵obscuren2015-03-061-8/+1
|\ \ | |/ |/| | | fjl-p2p-handshake-2
| * eth, p2p: delete p2p.BlacklistFelix Lange2015-03-041-8/+1
| | | | | | | | | | It is unused and untested right now. We can bring it back later if required.
* | Miner fixes and updates (including miner)obscuren2015-03-051-2/+1
|/
* Merge branch 'develop' into poc-9obscuren2015-03-041-5/+2
|\ | | | | | | | | Conflicts: cmd/utils/cmd.go
| * Merge pull request #411 from ethersphere/readmeJeffrey Wilcke2015-03-041-1/+1
| |\ | | | | | | [WIP] Update Readme
| | * db name database -> blockchain in backend error messagezelig2015-03-031-1/+1
| | |
| * | Merge pull request #409 from tgerring/jsonlogsJeffrey Wilcke2015-03-041-12/+12
| |\ \ | | | | | | | | Updated JSON log events
| * | | Remove Websockets RPC transportTaylor Gerring2015-03-011-4/+1
| | |/ | |/|
* | | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵obscuren2015-03-041-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 ethloggerTaylor Gerring2015-03-021-12/+12
| |/
* | fixed pow stuffobscuren2015-03-041-2/+5
| |
* | Merge branch 'ethersphere-blockpool2' into poc-9obscuren2015-03-011-3/+4
|\ \ | |/ |/|
| * integrate blockpool into ethzelig2015-02-251-3/+4
| | | | | | | | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go
* | Report proper database directory. Closes #397obscuren2015-02-271-1/+2
|/
* eth: persist node key between sessions (#304)Felix Lange2015-02-201-6/+27
|
* eth: add poc-8.ethdev.com as second default bootstrap nodeFelix Lange2015-02-201-0/+3
|
* Merge pull request #345 from maran/feature/minerthreadsJeffrey Wilcke2015-02-201-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 minerMaran2015-02-191-1/+3
| | | | | | | | Defaults to the amount of cores available on the CPU
* | Merge pull request #339 from tgerring/jsonlogTaylor Gerring2015-02-191-2/+0
|\ \ | |/ |/| JSON log updates
| * Update JSON Log typesTaylor Gerring2015-02-181-2/+0
| |
* | Disabled ability to disable whisper. Closes #334obscuren2015-02-181-1/+5
|/
* added bootnode back inobscuren2015-02-181-2/+1
|
* Changed to ChainEvent and fixed a nil pointer in transactobscuren2015-02-181-2/+2
|
* Filter and mutex locks addedobscuren2015-02-171-0/+1
|
* "centralised" mining to backend. Closes #323obscuren2015-02-171-63/+19
|
* eth: add default bootnodeFelix Lange2015-02-141-2/+11
|
* mergeobscuren2015-02-131-11/+10
|
* wipobscuren2015-02-131-61/+68
|\
| * cmd/ethereum, cmd/mist, eth, p2p: use package p2p/natFelix Lange2015-02-131-9/+5
| | | | | | | | This deletes the old NAT implementation.
| * eth: remove unused Ethereum sync fieldsFelix Lange2015-02-101-4/+0
| |
| * cmd/mist, cmd/ethereum: add CLI arguments for node keyFelix Lange2015-02-101-3/+10
| |
| * eth: don't warn if no BootNodes are specifiedFelix Lange2015-02-091-0/+3
| |
| * cmd/ethereum, cmd/mist: add flag for discovery bootstrap nodesFelix Lange2015-02-071-9/+28
| |
| * cmd/mist, eth, javascript, p2p: use Node URLs for peer suggestionsFelix Lange2015-02-071-6/+4
| |
| * cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p APIFelix Lange2015-02-061-43/+30
| |
* | mergeobscuren2015-02-131-11/+14
|\|
| * Merge pull request #287 from ethereum/system-testingJeffrey Wilcke2015-02-061-8/+4
| |\ | | | | | | Seednode CLI param updates
| | * Move hardcoded seed node address to app flagTaylor Gerring2015-02-031-8/+4
| | | | | | | | | | | | Replaces functionality `-seed=true` with `-seed="ip:port"`
| * | Added (disabled) Jit validationobscuren2015-02-011-2/+1
| |/
| * moving to a better xethobscuren2015-01-291-0/+4
| |
| * Update CLI to use new Websocket RPCTaylor Gerring2015-01-281-0/+4
| | | | | | | | Use “wsport” flag to change default port
| * Move HTTP transport to sub package of RPCTaylor Gerring2015-01-281-1/+1
| |
* | Move standard fields to LogEventTaylor Gerring2015-02-121-1/+1
| |
* | Move event names within each objectTaylor Gerring2015-02-111-1/+1
| |
* | Use strongly-typed objectsTaylor Gerring2015-02-111-8/+7
| |
* | Rename jsonlogger methodTaylor Gerring2015-01-221-1/+1
| |
* | Add JsonLogger typeTaylor Gerring2015-01-221-0/+9
| |
* | Add LogFormat flagTaylor Gerring2015-01-221-1/+2
|/
* Print error instead of returning for seed node errobscuren2015-01-191-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 defaultobscuren2015-01-091-7/+3
|
* Refactored ethutil.Config.Db outobscuren2015-01-071-4/+4
|
* Fixed port numobscuren2015-01-061-1/+1
|
* Changed to poc-8 & removed GetTxsobscuren2015-01-061-1/+1
|
* Mergeobscuren2015-01-061-15/+32
|
* BlockManager => BlockProcessorobscuren2015-01-051-9/+9
|
* Cleaned up some of that utilobscuren2015-01-041-16/+74
|
* Fixed bug where logging could crash client during tx addingobscuren2015-01-031-2/+4
|
* Removed the need of having a backend for the tx poolobscuren2015-01-021-1/+1
|
* Refactored block & Transactionobscuren2014-12-231-1/+1
| | | | * Includes new rlp decoder
* Merge fixesobscuren2014-12-181-2/+2
|
* Added whisper handlerobscuren2014-12-161-0/+4
|
* made mist in a compilable, workable state using the new refactored packagesobscuren2014-12-151-0/+4
|
* Moved peer helper methedsobscuren2014-12-151-17/+0
|
* removed filter manager from baseobscuren2014-12-151-15/+0
|
* Added old filter. Needs some refactoringobscuren2014-12-151-57/+6
|
* WIPobscuren2014-12-151-3/+5
|
* added protocol handlerobscuren2014-12-151-1/+1
|
* added whisperobscuren2014-12-151-18/+19
|
* WIPobscuren2014-12-151-43/+10
|
* adapt blockpool/backend to use pow/ezp with pow.Block for VerifyPoW funczelig2014-12-151-4/+3
|
* blockmanager start/stop obsoletezelig2014-12-151-2/+0
|
* initial commit for new backend (eth.Ethereum)zelig2014-12-151-0/+357