aboutsummaryrefslogtreecommitdiffstats
path: root/eth/protocol.go
Commit message (Collapse)AuthorAgeFilesLines
* eth: add the blocks from numbers protocol messagePéter Szilágyi2015-07-011-3/+26
|
* cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61Péter Szilágyi2015-07-011-3/+8
|
* core, eth: document that result of GetTransactions is modifiableFelix Lange2015-06-091-2/+4
|
* eth: implement the NewBlockHashes protocol proposalPéter Szilágyi2015-06-081-1/+1
|
* eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-2/+0
|
* eth: began split up of peers and protocol managerobscuren2015-04-181-376/+7
|
* eth: basic implementation of the downloaderobscuren2015-04-171-0/+25
|
* Merge branch 'develop' into downloader-protoobscuren2015-04-161-7/+5
|\
| * 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
* | eth: added downloader for syncing up the chainobscuren2015-04-131-36/+67
|/
* 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
|
* Changed log to new loggingobscuren2015-04-041-1/+1
|
* correctedobscuren2015-04-011-1/+1
|
* bumped network protocolobscuren2015-04-011-1/+1
|
* change StatusMsgData.TD back to pointer type *big.Intzelig2015-04-011-3/+3
|
* check TxMsgzelig2015-04-011-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 BlocksMsgzelig2015-04-011-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 clientzelig2015-04-011-3/+6
| | | | | | - add validate method to types.Block - validate after Decode -> error - add tests for NewBlockMsg
* Protocol bumpobscuren2015-04-011-1/+1
|
* Updated for PV59obscuren2015-03-241-1/+1
| | | | * Value XFER are refunded back to the sender if the execution fails
* iterator returned wrong valueobscuren2015-03-211-2/+1
|
* peer suspension to disallow reconnect after disconnect on fatal error for ↵zelig2015-03-201-4/+9
| | | | set period (PeerSuspensionInterval)
* eth, whisper: adapt for RLP encoder switch in package p2pFelix Lange2015-03-191-51/+44
| | | | | I have rewritten the protocol test to use p2p.MsgPipe because p2p.NewMsg is gone.
* Merge branch 'develop' into conversionobscuren2015-03-191-22/+26
|\
| * private network supportzelig2015-03-181-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-obscuren2015-03-181-30/+31
|/
* Moved ethutil => commonobscuren2015-03-161-7/+7
|
* Bump protocol version 58obscuren2015-03-131-1/+1
|
* debug comments & pow handlingobscuren2015-03-061-2/+1
|
* Merge branch 'p2p-handshake-2' of https://github.com/fjl/go-ethereum into ↵obscuren2015-03-061-15/+21
|\ | | | | | | fjl-p2p-handshake-2
| * eth, whisper: fix msg.Payload readsFelix Lange2015-03-041-15/+21
| |
* | Miner fixes and updates (including miner)obscuren2015-03-051-1/+1
|/
* Clean up REPLobscuren2015-03-041-1/+2
|
* Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into ↵obscuren2015-03-041-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 protocolzelig2015-03-031-1/+9
| |
| * Add event eth.tx.receivedTaylor Gerring2015-03-021-0/+7
| |
* | fixed pow stuffobscuren2015-03-041-1/+1
| |
* | integrate blockpool into ethzelig2015-02-251-26/+43
|/ | | | | | - remove blockpool code - remove blockpool integration test (kinda embarrassing) - remove errors.go
* Minor updates for releaseobscuren2015-02-211-1/+1
|
* dirty tracking for state objects fixedobscuren2015-02-201-1/+1
|
* cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p APIFelix Lange2015-02-061-1/+2
|
* Propagate known transactions to new peers on connectobscuren2015-02-051-0/+12
|
* upped pvobscuren2015-01-291-1/+1
|
* Limit hashes. Closes #249obscuren2015-01-091-0/+7
|
* no need to call AddBlockHashes when receiving new blockzelig2015-01-091-10/+0
|
* Adjusted difficulty and skip get tx messagesobscuren2015-01-061-1/+1
|
* Don't auto push jeff ...obscuren2015-01-061-0/+1
|
* Changed to poc-8 & removed GetTxsobscuren2015-01-061-1/+0
|
* eth, p2p: remove EncodeMsg from p2p.MsgWriterFelix Lange2015-01-061-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.
* Mergeobscuren2015-01-061-45/+55
|
* Updated protocol versionobscuren2015-01-031-1/+1
|
* Refactored block & Transactionobscuren2014-12-231-1/+1
| | | | * Includes new rlp decoder
* Removed goroutine from "Run"obscuren2014-12-161-8/+8
|
* removed filter manager from baseobscuren2014-12-151-21/+22
|
* blockpool rewritten , tests broken FIXMEzelig2014-12-151-292/+0
|
* protocolzelig2014-12-151-7/+83
| | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
* eth protocol changeszelig2014-12-151-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 integrationzelig2014-12-151-1/+126
|
* protocolzelig2014-12-151-50/+52
| | | | | - new interface explicit backend components txPool, chainManager, blockPool - added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
* eth protocol changeszelig2014-12-151-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 integrationzelig2014-12-151-0/+294