Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rebrand as tangerine-network/go-tangerine | Wei-Ning Huang | 2019-09-17 | 1 | -5/+5 |
| | |||||
* | Change import go github.com/dexon-foundation/dexon | Wei-Ning Huang | 2019-06-12 | 1 | -5/+5 |
| | |||||
* | eth: fixed the minor typo inside the comments (#17830) | Liang Ma | 2018-10-04 | 1 | -1/+1 |
| | |||||
* | core, eth: minor txpool event cleanups | Péter Szilágyi | 2018-05-18 | 1 | -3/+3 |
| | |||||
* | all: collate new transaction events together | rjl493456442 | 2018-05-18 | 1 | -2/+2 |
| | |||||
* | eth: golint fixes to variable names (#16711) | kiel barry | 2018-05-09 | 1 | -3/+3 |
| | |||||
* | core, eth, les: fix messy code (#15367) | Péter Szilágyi | 2017-10-25 | 1 | -1/+1 |
| | | | | | | | | * core, eth, les: fix messy code * les: fixed tx status test and rlp encoding * core: add a workaround for light sync | ||||
* | core, light: send chain events using event.Feed (#14865) | Miya Chen | 2017-08-18 | 1 | -0/+6 |
| | |||||
* | core, eth, les: polish txpool API around local/remote txs | Péter Szilágyi | 2017-07-05 | 1 | -2/+2 |
| | |||||
* | cmd, eth, les, mobile: make networkid uint64 everywhere | Péter Szilágyi | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | cmd/geth: add --config file flag (#13875) | Felix Lange | 2017-04-12 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * p2p/discover, p2p/discv5: add marshaling methods to Node * p2p/netutil: make Netlist decodable from TOML * common/math: encode nil HexOrDecimal256 as 0x0 * cmd/geth: add --config file flag * cmd/geth: add missing license header * eth: prettify Config again, fix tests * eth: use gasprice.Config instead of duplicating its fields * eth/gasprice: hide nil default from dumpconfig output * cmd/geth: hide genesis block in dumpconfig output * node: make tests compile * console: fix tests * cmd/geth: make TOML keys look exactly like Go struct fields * p2p: use discovery by default This makes the zero Config slightly more useful. It also fixes package node tests because Node detects reuse of the datadir through the NodeDatabase. * cmd/geth: make ethstats URL settable through config file * cmd/faucet: fix configuration * cmd/geth: dedup attach tests * eth: add comment for DefaultConfig * eth: pass downloader.SyncMode in Config This removes the FastSync, LightSync flags in favour of a more general SyncMode flag. * cmd/utils: remove jitvm flags * cmd/utils: make mutually exclusive flag error prettier It now reads: Fatal: flags --dev, --testnet can't be used at the same time * p2p: fix typo * node: add DefaultConfig, use it for geth * mobile: add missing NoDiscovery option * cmd/utils: drop MakeNode This exposed a couple of places that needed to be updated to use node.DefaultConfig. * node: fix typo * eth: make fast sync the default mode * cmd/utils: remove IPCApiFlag (unused) * node: remove default IPC path Set it in the frontends instead. * cmd/geth: add --syncmode * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive * cmd/utils: don't enable WS, HTTP when setting addr * cmd/utils: fix --identity | ||||
* | core: bugfix state change race condition in txpool (#3412) | bas-vk | 2016-12-11 | 1 | -2/+2 |
| | | | | | | | | The transaction pool keeps track of the current nonce in its local pendingState. When a new block comes in the pendingState is reset. During the reset it fetches multiple times the current state through the use of the currentState callback. When a second block comes in during the reset its possible that the state changes during the reset. If that block holds transactions that are currently in the pool the local pendingState that is used to determine nonces can get out of sync. | ||||
* | core, eth, internal, miner: optimize txpool for quick ops | Péter Szilágyi | 2016-09-02 | 1 | -4/+4 |
| | |||||
* | eth, eth/downloader, eth/fetcher: delete eth/61 code | Felix Lange | 2016-07-22 | 1 | -41/+5 |
| | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic. | ||||
* | eth: disable eth/61 to prepare for more elaborate fork sync algos | Péter Szilágyi | 2016-07-04 | 1 | -2/+2 |
| | |||||
* | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 1 | -0/+3 |
| | |||||
* | eth: clean out light node notions from eth | Péter Szilágyi | 2015-10-19 | 1 | -25/+2 |
| | |||||
* | core, eth: receipt chain reconstruction | 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 | -0/+17 |
| | |||||
* | eth: kill off protocol eth/60 in preparation for eth/62 | Péter Szilágyi | 2015-08-24 | 1 | -14/+11 |
| | |||||
* | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 1 | -19/+105 |
| | |||||
* | eth, metrics, p2p: prepare metrics and net packets to eth/62 | Péter Szilágyi | 2015-08-21 | 1 | -6/+19 |
| | |||||
* | 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. | ||||
* | | cmd/geth, core, eth: Version 1.0.0 | Jeffrey Wilcke | 2015-07-25 | 1 | -1/+1 |
|/ | | | | | | | Genesis release. Closes #1402 Conflicts: cmd/geth/main.go | ||||
* | 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". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | eth: add the blocks from numbers protocol message | Péter Szilágyi | 2015-07-01 | 1 | -3/+26 |
| | |||||
* | cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61 | Péter Szilágyi | 2015-07-01 | 1 | -3/+8 |
| | |||||
* | core, eth: document that result of GetTransactions is modifiable | Felix Lange | 2015-06-09 | 1 | -2/+4 |
| | |||||
* | eth: implement the NewBlockHashes protocol proposal | Péter Szilágyi | 2015-06-08 | 1 | -1/+1 |
| | |||||
* | eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K | Péter Szilágyi | 2015-05-21 | 1 | -2/+0 |
| | |||||
* | eth: began split up of peers and protocol manager | obscuren | 2015-04-18 | 1 | -376/+7 |
| | |||||
* | eth: basic implementation of the downloader | obscuren | 2015-04-17 | 1 | -0/+25 |
| | |||||
* | Merge branch 'develop' into downloader-proto | obscuren | 2015-04-16 | 1 | -7/+5 |
|\ | |||||
| * | blockpool stability fixes: | zelig | 2015-04-13 | 1 | -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 | ||||
* | | eth: added downloader for syncing up the chain | obscuren | 2015-04-13 | 1 | -36/+67 |
|/ | |||||
* | Disabled TD check | obscuren | 2015-04-09 | 1 | -1/+1 |
| | | | | | @zelig: Temporarily commented out TD check untill the rest of the network has been fixed. | ||||
* | Moved log to debug | obscuren | 2015-04-09 | 1 | -5/+10 |
| | |||||
* | Changed log to new logging | obscuren | 2015-04-04 | 1 | -1/+1 |
| | |||||
* | corrected | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | bumped network protocol | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | change StatusMsgData.TD back to pointer type *big.Int | zelig | 2015-04-01 | 1 | -3/+3 |
| | |||||
* | check TxMsg | zelig | 2015-04-01 | 1 | -1/+4 |
| | | | | | | - 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 BlocksMsg | zelig | 2015-04-01 | 1 | -1/+4 |
| | | | | | | | - 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 | ||||
* | eth: SEC-29 eth wire protocol decoding invalid message data crashes client | zelig | 2015-04-01 | 1 | -3/+6 |
| | | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg | ||||
* | Protocol bump | obscuren | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Updated for PV59 | obscuren | 2015-03-24 | 1 | -1/+1 |
| | | | | * Value XFER are refunded back to the sender if the execution fails | ||||
* | iterator returned wrong value | obscuren | 2015-03-21 | 1 | -2/+1 |
| | |||||
* | peer suspension to disallow reconnect after disconnect on fatal error for ↵ | zelig | 2015-03-20 | 1 | -4/+9 |
| | | | | set period (PeerSuspensionInterval) | ||||
* | eth, whisper: adapt for RLP encoder switch in package p2p | Felix Lange | 2015-03-19 | 1 | -51/+44 |
| | | | | | 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 | -22/+26 |
|\ | |||||
| * | private network support | zelig | 2015-03-18 | 1 | -23/+27 |
| | | | | | | | | | | | | - protocolversion, networkid global int flags to cli and mist - fix bug with protocolversion check using wrong db - log protocolversion & networkid in backend | ||||
* | | conversions. -compilable- | obscuren | 2015-03-18 | 1 | -30/+31 |
|/ | |||||
* | Moved ethutil => common | obscuren | 2015-03-16 | 1 | -7/+7 |
| | |||||
* | Bump protocol version 58 | obscuren | 2015-03-13 | 1 | -1/+1 |
| | |||||
* | debug comments & pow handling | obscuren | 2015-03-06 | 1 | -2/+1 |
| | |||||
* | Merge branch 'p2p-handshake-2' of https://github.com/fjl/go-ethereum into ↵ | obscuren | 2015-03-06 | 1 | -15/+21 |
|\ | | | | | | | fjl-p2p-handshake-2 | ||||
| * | eth, whisper: fix msg.Payload reads | Felix Lange | 2015-03-04 | 1 | -15/+21 |
| | | |||||
* | | Miner fixes and updates (including miner) | obscuren | 2015-03-05 | 1 | -1/+1 |
|/ | |||||
* | Clean up REPL | obscuren | 2015-03-04 | 1 | -1/+2 |
| | |||||
* | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵ | obscuren | 2015-03-04 | 1 | -0/+16 |
|\ | | | | | | | | | | | | | | | | | | | 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 protocol | zelig | 2015-03-03 | 1 | -1/+9 |
| | | |||||
| * | Add event eth.tx.received | Taylor Gerring | 2015-03-02 | 1 | -0/+7 |
| | | |||||
* | | fixed pow stuff | obscuren | 2015-03-04 | 1 | -1/+1 |
| | | |||||
* | | integrate blockpool into eth | zelig | 2015-02-25 | 1 | -26/+43 |
|/ | | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go | ||||
* | Minor updates for release | obscuren | 2015-02-21 | 1 | -1/+1 |
| | |||||
* | dirty tracking for state objects fixed | obscuren | 2015-02-20 | 1 | -1/+1 |
| | |||||
* | cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API | Felix Lange | 2015-02-06 | 1 | -1/+2 |
| | |||||
* | Propagate known transactions to new peers on connect | obscuren | 2015-02-05 | 1 | -0/+12 |
| | |||||
* | upped pv | obscuren | 2015-01-29 | 1 | -1/+1 |
| | |||||
* | Limit hashes. Closes #249 | obscuren | 2015-01-09 | 1 | -0/+7 |
| | |||||
* | no need to call AddBlockHashes when receiving new block | zelig | 2015-01-09 | 1 | -10/+0 |
| | |||||
* | Adjusted difficulty and skip get tx messages | obscuren | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Don't auto push jeff ... | obscuren | 2015-01-06 | 1 | -0/+1 |
| | |||||
* | Changed to poc-8 & removed GetTxs | obscuren | 2015-01-06 | 1 | -1/+0 |
| | |||||
* | eth, p2p: remove EncodeMsg from p2p.MsgWriter | Felix Lange | 2015-01-06 | 1 | -4/+4 |
| | | | | | | | | | | | | ...and make it a top-level function instead. The original idea behind having EncodeMsg in the interface was that implementations might be able to encode RLP data to their underlying writer directly instead of buffering the encoded data. The encoder will buffer anyway, so that doesn't matter anymore. Given the recent problems with EncodeMsg (copy-pasted implementation bug) I'd rather implement once, correctly. | ||||
* | Merge | obscuren | 2015-01-06 | 1 | -45/+55 |
| | |||||
* | Updated protocol version | obscuren | 2015-01-03 | 1 | -1/+1 |
| | |||||
* | Refactored block & Transaction | obscuren | 2014-12-23 | 1 | -1/+1 |
| | | | | * Includes new rlp decoder | ||||
* | Removed goroutine from "Run" | obscuren | 2014-12-16 | 1 | -8/+8 |
| | |||||
* | removed filter manager from base | obscuren | 2014-12-15 | 1 | -21/+22 |
| | |||||
* | blockpool rewritten , tests broken FIXME | zelig | 2014-12-15 | 1 | -292/+0 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -7/+83 |
| | | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects) | ||||
* | eth protocol changes | zelig | 2014-12-15 | 1 | -3/+94 |
| | | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary) | ||||
* | initial commit for eth-p2p integration | zelig | 2014-12-15 | 1 | -1/+126 |
| | |||||
* | protocol | zelig | 2014-12-15 | 1 | -50/+52 |
| | | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects) | ||||
* | eth protocol changes | zelig | 2014-12-15 | 1 | -57/+79 |
| | | | | | | | | | - changed backend interface - using callbacks for blockPool - use rlp stream for lazy decoding - use peer as logger - add id (peer pubkey) to ethProtocol fields - add testPeer to protocol test (temporary) | ||||
* | initial commit for eth-p2p integration | zelig | 2014-12-15 | 1 | -0/+294 |