aboutsummaryrefslogtreecommitdiffstats
path: root/eth
Commit message (Collapse)AuthorAgeFilesLines
...
| * | eth/downloader: sync the cancel channel during cancel tooPéter Szilágyi2015-05-131-21/+4
| | |
| * | eth/downloader: fix deliveries to check for sync cancelsPéter Szilágyi2015-05-131-10/+31
| |/
* / eth/downloader: fix nil panic caused by wrong variable usePéter Szilágyi2015-05-131-1/+1
|/
* eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-133-24/+16
|
* eth: 100% tx propagationobscuren2015-05-131-1/+1
|
* 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
* eth, eth/downloader: moved pending queue error message to debugobscuren2015-05-112-3/+4
|
* 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)
* eth/downloader: use count instead of peers, clearerPéter Szilágyi2015-05-112-4/+4
|
* eth/downloader: revert to demotion, use harsher penaltyPéter Szilágyi2015-05-112-8/+19
|
* eth/downloader: fix #910, thread safe peers & polishesPéter Szilágyi2015-05-114-161/+210
|
* 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
* eth: added a cancel method for the downloaderobscuren2015-05-103-2/+106
| | | | | | | | | Added a cancel method to the downloader which gracefully shuts down any active syncing process (hash fetching or block downloading) and resets the queue and remove any pending blocks. Issue with the downloader which would stall because of an active ongoing process when an invalid block was found.
* cmd/geth, cmd/mist, eth, flags: renamed loglevel to verbosityobscuren2015-05-091-7/+11
|
* Merge pull request #863 from karalabe/ordered-block-downloadJeffrey Wilcke2015-05-087-383/+468
|\ | | | | eth/downloader: prioritize block fetch based on chain position, cap memo...
| * eth/downloader: fix leftover state between syncsPéter Szilágyi2015-05-081-1/+4
| |
| * eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-084-48/+48
| |
| * eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-085-82/+22
| |
| * eth/downloader: fix priority queue reset, add throttling testPéter Szilágyi2015-05-071-0/+48
| |
| * eth/downloader: fix expiration not running while fetchingPéter Szilágyi2015-05-072-34/+32
| |
| * eth/downloader: prioritize block fetch based on chain position, cap memory usePéter Szilágyi2015-05-075-273/+369
| |
* | 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
| |
* | downloader: hash downloading recoveryobscuren2015-05-032-29/+71
| | | | | | | | | | | | If a peer fails to respond (disconnect, etc) during hash downloading switch to a different peer which has it's current_hash in the queue's peer set.
* | cmd/geth, eth: bump version & tmp fix for incorrect TD peersobscuren2015-05-031-0/+7
| |
* | eth/downloader: put back hashes on block overflow errorobscuren2015-05-031-19/+14
| |
* | eth/downloader: changed has to blockHashes for chain linkingobscuren2015-05-031-1/+1
| |
* | eth/downloader: added additional testsobscuren2015-05-032-4/+73
| |
* | eth,core: changed NewTicker to Tickobscuren2015-05-031-4/+4
| |
* | eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-016-291/+347
| | | | | | | | | | | | | | 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
* | eth/downloader: delete blocks from queueobscuren2015-04-302-3/+15
| |
* | core: added a wait group to chain manager for graceful shutdownobscuren2015-04-301-0/+1
| |
* | core, eth: verify td of received blocksobscuren2015-04-301-1/+21
| |
* | eth, eth/downloader: remove bad peers from peer setobscuren2015-04-302-17/+29
|/ | | | Peers in the eth protocol handler are now being ignored for catch up.
* eth: rely on p2p to determine block propagationobscuren2015-04-301-1/+1
|
* core/types, eth: meassure and display propagation timesobscuren2015-04-301-1/+3
|
* eth/downloader: drop blockobscuren2015-04-301-1/+1
|
* core: fixed tetst to reflect (int, error) return by insertChainobscuren2015-04-291-2/+2
|
* eth/downloader: ignore orphan blocks in the downloader.obscuren2015-04-291-5/+9
| | | | | | When blocks have been sorted and are being processed, orphan blocks should be ignored and thrown out. The protocol handler is responsible for downloading blocks which have missing parents.
* core: return the index of the block that failed when inserting a chainobscuren2015-04-292-6/+5
|
* eth/downloader: reset the chain when parent is missing during processingobscuren2015-04-291-0/+2
|
* eth: check if downloader is busy before showing log messageobscuren2015-04-292-0/+9
|
* 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-258-214/+160
|\ \ | | | | | | eth, eth/downloader: improve downloader and remove asynchronousness
| * | eth/downloader: removed update loop and synch channelobscuren2015-04-251-25/+0
| | |
| * | 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: added a few informative messages regarding downloadingobscuren2015-04-241-0/+6
| | |
| * | eth/downloader: fixed testsobscuren2015-04-241-12/+8
| | |
| * | eth, eth/downloader: simplified synchronisation processobscuren2015-04-242-31/+24
| | |
| * | eth/downloader: removed peer td management and best peer selectionobscuren2015-04-242-16/+2
| | |
| * | eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-244-25/+22
| | |
| * | eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-244-134/+127
| | |
* | | backend: start miner in its go routine (no wait to generate DAG)zelig2015-04-241-2/+1
|/ /
* / eth: cleanupobscuren2015-04-241-5/+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-233-28/+78
| | | | | | | | | 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)
* | Merge branch 'frontier/natspec' of ↵obscuren2015-04-211-0/+3
|\ \ | | | | | | | | | https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec
| * | NatSpec cli option, resolver tests passingzsfelfoldi2015-04-201-0/+3
| |/
* / core: added chain head reset to known blockobscuren2015-04-202-1/+4
|/
* geth: admin download statusobscuren2015-04-201-11/+15
|
* downloader: fixed tests with low ttlobscuren2015-04-192-2/+3
|
* movedobscuren2015-04-191-6/+6
|
* Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum ↵obscuren2015-04-191-6/+6
|\ | | | | | | | | | | | | into fjl-rlp-size-validation Conflicts: eth/protocol.go
| * cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limitFelix Lange2015-04-171-3/+3
| |
* | Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-191-4/+1
|\ \
| * \ Merge pull request #749 from fjl/fix-nodekey-persistenceJeffrey Wilcke2015-04-191-4/+1
| |\ \ | | | | | | | | Fix p2p node key persistence
| | * | 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.
* | | | Removed debug printlnobscuren2015-04-191-3/+0
| | | |
* | | | eth: drop blocks with low TDobscuren2015-04-192-5/+7
| | | |
* | | | downloader: moved chunk ignoring. Fixes issue with catching upobscuren2015-04-194-31/+44
|/ / /
* | | eth: temp 100% block propagation because of the current state of the netobscuren2015-04-191-2/+2
| | |
* | | downloader: defer peer reset after downloadobscuren2015-04-192-4/+8
|/ /
* | downloader: reset hashTtl on receiveobscuren2015-04-191-0/+2
| |
* | eth: removed debug messages to stdoutobscuren2015-04-191-2/+2
| |
* | downloader: don't remove peers. keep them aroundobscuren2015-04-193-17/+17
| |
* | typoobscuren2015-04-191-1/+1
| |
* | downloader: free up peers from work when the downloader resetsobscuren2015-04-193-5/+22
| |
* | downloader: throw an error if there are no peers available for downloadobscuren2015-04-191-6/+16
| | | | | | | | | | | | If all peers have been tried during the block download process and some hashes are unfetchable (available peers > 0 and fetching == 0) throw an error so the process can be aborted.
* | downloader: fixed a race condition for download statusobscuren2015-04-191-1/+0
| |
* | eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-193-4/+14
| |
* | downloader: improved downloading and synchronisationobscuren2015-04-194-110/+129
| | | | | | | | | | | | * Downloader's peers keeps track of peer's previously requested hashes so that we don't have to re-request * Changed `AddBlock` to be fully synchronous
* | downloader: make sure that hashes are only accepted from the active peerobscuren2015-04-182-20/+54
| |
* | downloader: reset the queue if a peer response with an empty hash setobscuren2015-04-183-15/+37
| |
* | eth: ignore NewBlockMsg with lower tdobscuren2015-04-181-2/+3
| |
* | downloader: all handlers check for isBusyobscuren2015-04-181-7/+7
| |
* | 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: drop blocks that are knownobscuren2015-04-181-0/+6
| |
* | eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-183-56/+140
| | | | | | | | | | | | | | | | * 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-184-388/+369
| |
* | Merge branch 'develop' into downloader-protoobscuren2015-04-182-5/+117
|\| | | | | | | | | Conflicts: eth/downloader/downloader.go
| * downloader: fixed a typoobscuren2015-04-171-1/+1
| |
| * downloader: added demotion / promotion in prep. for rep. systemobscuren2015-04-162-0/+25
| |
| * downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-21/+47
| | | | | | | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents).
* | eth: basic implementation of the downloaderobscuren2015-04-171-0/+25
| |
* | Merge branch 'develop' into downloader-protoobscuren2015-04-163-32/+79
|\ \
| * | downloader: updated downloader and fixed issues with catch upobscuren2015-04-161-22/+48
| |/ | | | | | | | | | | Properly ignore blocks coming from peers not in our peer list (blocked) and do never request anything from bad peers. Added some checks to account for blocks known when requesting hashes (missing parents).
| * 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)`
| * Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-04-132-8/+28
| |\
| | * Merge pull request #702 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-131-7/+5
| | |\ | | | | | | | | blockpool stability fixes:
| | | * blockpool stability fixes:zelig2015-04-131-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - follow up locks and fix them - chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test - make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers. - add purging to bounded nodeCache (config nodeCacheSize) - use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost) - minor error in addError - reduce idleBestPeerTimeout to 1 minute - correct status counts and unskip status passing status test - glogified logging
| | * | Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-131-1/+23
| | |/
* | / eth: added downloader for syncing up the chainobscuren2015-04-132-37/+72
|/ /
* | downloader: added missing blocks catchup functionalityobscuren2015-04-134-133/+303
| | | | | | | | | | When a parent is missing in the block list an attempt should be made to fetch the missing parent and grandparents.
* | downloader: return an error for peer.fetch and return chunk to queueobscuren2015-04-122-3/+16
| | | | | | | | | | If a peer was somehow already fetching and somehow managed to end up in the `available` pool it should return it's work.
* | downloader: renamed chunks to queueobscuren2015-04-121-0/+0
| |
* | downloader: implemented new downloaderobscuren2015-04-124-0/+602
|/
* Disabled TD checkobscuren2015-04-091-1/+1
| | | | | @zelig: Temporarily commented out TD check untill the rest of the network has been fixed.
* Moved log to debugobscuren2015-04-091-5/+10
|
* 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-072-9/+9
|
* Update ethashobscuren2015-04-051-1/+1
|
* Changed log to new loggingobscuren2015-04-041-1/+1
|
* correctedobscuren2015-04-011-1/+1
|
* bumped network protocolobscuren2015-04-011-1/+1
|
* eth: update cpp bootnode addressFelix Lange2015-04-011-2/+2
|
* change StatusMsgData.TD back to pointer type *big.Intzelig2015-04-012-8/+8
|
* check TxMsgzelig2015-04-012-1/+43
| | | | | | - add validation on TxMsg checking for nil - add test for nil transaction - add test for zero value transaction (no extra validation needed)
* test for invalid rlp encoding of block in BlocksMsgzelig2015-04-012-7/+32
| | | | | | | - rename Validate -> ValidateFields not to confure consensus block validation - add nil transaction and nil uncle header validation - remove bigint field checks: rlp already decodes *big.Int to big.NewInt(0) - add test for nil header, nil transaction
* add tests for valid blocks msg handlingzelig2015-04-011-4/+46
|
* eth: SEC-29 eth wire protocol decoding invalid message data crashes clientzelig2015-04-012-22/+104
| | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg
* Protocol bumpobscuren2015-04-011-1/+1
|
* 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
|/
* Updated for PV59obscuren2015-03-241-1/+1
| | | | * Value XFER are refunded back to the sender if the execution fails
* 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-214-97/+15
|\
| * iterator returned wrong valueobscuren2015-03-211-2/+1
| |
| * remove eth/wallet.go (only commented out content)zelig2015-03-201-80/+0
| |
| * use own total difficulty to limit best peerzelig2015-03-202-11/+5
| | | | | | | | | | | | | | | | | | - 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
| * peer suspension to disallow reconnect after disconnect on fatal error for ↵zelig2015-03-201-4/+9
| | | | | | | | set period (PeerSuspensionInterval)
* | wipobscuren2015-03-211-1/+1
|/
* eth, whisper: adapt for RLP encoder switch in package p2pFelix Lange2015-03-193-167/+121
| | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone.
* Merge branch 'develop' into conversionobscuren2015-03-194-62/+49
|\
| * fix eth testszelig2015-03-181-3/+3
| |
| * private network supportzelig2015-03-183-40/+51
| | | | | | | | | | | | - 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
| |
| * eth: remove disused peer_util.gozelig2015-03-181-23/+0
| |
* | conversions. -compilable-obscuren2015-03-182-35/+36
|/
* Merge branch 'frontier/js' into frontier/nodeadmin.jszelig2015-03-164-25/+25
|\
| * Moved ethutil => commonobscuren2015-03-164-25/+25
| |
* | 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
| |
* | Merge branch 'rpcfrontier' into developobscuren2015-03-131-0/+3
|\ \
| * | Add web3_clientVersionTaylor Gerring2015-03-131-0/+3
| | |
* | | Bump protocol version 58obscuren2015-03-131-1/+1
|/ /
* / 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-103-11/+23
|\| | | | | | | | | | | | | | | | | | | Conflicts: cmd/utils/cmd.go cmd/utils/flags.go core/manager.go eth/backend.go rpc/http/server.go xeth/xeth.go
| * Fix logger import pathTaylor Gerring2015-03-081-1/+1
| |
| * Fixed testsobscuren2015-03-071-0/+1
| |
| * 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
| |
| * Merge branch 'poc-9' of github.com-obscure:ethereum/go-ethereum into poc-9obscuren2015-03-061-2/+5
| |\
| * | debug comments & pow handlingobscuren2015-03-061-2/+1
| | |
* | | 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-062-23/+22
|\ \ | |/ |/| | | 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.
| * eth, whisper: fix msg.Payload readsFelix Lange2015-03-041-15/+21
| |
* | Miner fixes and updates (including miner)obscuren2015-03-052-3/+2
|/
* Clean up REPLobscuren2015-03-041-1/+2
|
* 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-045-19/+26
| |\ \ | | | | | | | | 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-043-13/+28
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ethersphere-jsonlogs Conflicts: eth/block_pool.go eth/block_pool_test.go eth/protocol_test.go miner/worker.go
| * | | add eth.chain.received.new_block log to eth protocolzelig2015-03-031-1/+9
| | |/ | |/|
| * | Fix logger import in testsTaylor Gerring2015-03-022-5/+5
| | |
| * | Add event eth.tx.receivedTaylor Gerring2015-03-021-0/+7
| | |
| * | Don't import logger as ethloggerTaylor Gerring2015-03-022-14/+14
| |/
* | fixed pow stuffobscuren2015-03-042-3/+6
| |
* | Merge branch 'ethersphere-blockpool2' into poc-9obscuren2015-03-0127-2570/+61
|\ \ | |/ |/|
| * integrate blockpool into ethzelig2015-02-2527-2570/+61
| | | | | | | | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go
* | Report proper database directory. Closes #397obscuren2015-02-271-1/+2
|/
* Merge pull request #359 from fjl/p2p-identityJeffrey Wilcke2015-02-221-6/+30
|\ | | | | Persistent Node Key
| * 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
| |
* | Minor updates for releaseobscuren2015-02-211-1/+1
|/
* dirty tracking for state objects fixedobscuren2015-02-201-1/+1
|
* 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-133-81/+75
|\
| * 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-063-63/+37
| |
* | mergeobscuren2015-02-135-15/+33
|\ \
| * | Temporarily skip broken TestVerifyPoWTaylor Gerring2015-02-111-0/+1
| |/
| * 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"`
| * | fixed testobscuren2015-02-051-0/+2
| | |