Péter Szilágyi
aac2b6ae4c
eth: add the blocks from numbers protocol message
10 years ago
Péter Szilágyi
393d675690
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
10 years ago
Felix Lange
73c355591f
core, eth: document that result of GetTransactions is modifiable
10 years ago
Péter Szilágyi
6f415b96b3
eth: implement the NewBlockHashes protocol proposal
10 years ago
Péter Szilágyi
06a041589f
eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K
10 years ago
obscuren
c2f410214c
eth: began split up of peers and protocol manager
10 years ago
Felix Lange
56a48101dc
cmd/rlpdump, cmd/utils, eth, p2p, whisper: use rlp input limit
10 years ago
obscuren
73eb8e8c20
eth: basic implementation of the downloader
10 years ago
obscuren
97d2954e22
eth: added downloader for syncing up the chain
10 years ago
zelig
3d57e377a4
blockpool stability fixes:
...
- 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
10 years ago
obscuren
764a802eaa
Disabled TD check
...
@zelig : Temporarily commented out TD check untill the rest of the network has
been fixed.
10 years ago
obscuren
663fd8f849
Moved log to debug
10 years ago
obscuren
c985ce4d78
Changed log to new logging
10 years ago
obscuren
216ea425e4
corrected
10 years ago
obscuren
8e961df283
bumped network protocol
10 years ago
zelig
f56fc9cd9d
change StatusMsgData.TD back to pointer type *big.Int
10 years ago
zelig
6ffea34d8b
check TxMsg
...
- add validation on TxMsg checking for nil
- add test for nil transaction
- add test for zero value transaction (no extra validation needed)
10 years ago
zelig
82da6bf4d2
test for invalid rlp encoding of block in BlocksMsg
...
- 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
10 years ago
zelig
e1be34bce1
eth: SEC-29 eth wire protocol decoding invalid message data crashes client
...
- add validate method to types.Block
- validate after Decode -> error
- add tests for NewBlockMsg
10 years ago
obscuren
f2c6a937f3
Protocol bump
10 years ago
obscuren
576df064e5
Updated for PV59
...
* Value XFER are refunded back to the sender if the execution fails
10 years ago
obscuren
ecd10d2cf7
iterator returned wrong value
10 years ago
zelig
50661f0e68
peer suspension to disallow reconnect after disconnect on fatal error for set period (PeerSuspensionInterval)
10 years ago
Felix Lange
e80dda6051
eth, whisper: adapt for RLP encoder switch in package p2p
...
I have rewritten the protocol test to use p2p.MsgPipe because
p2p.NewMsg is gone.
10 years ago
obscuren
0a1eeca41e
conversions. -compilable-
10 years ago
zelig
b6aa88c099
private network support
...
- protocolversion, networkid global int flags to cli and mist
- fix bug with protocolversion check using wrong db
- log protocolversion & networkid in backend
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
aa9f981d5f
Bump protocol version 58
10 years ago
obscuren
23ad2f02c0
debug comments & pow handling
10 years ago
Taylor Gerring
5948adfa10
Added eth.chain.received.new_block
10 years ago
obscuren
c47866d251
Miner fixes and updates (including miner)
10 years ago
Felix Lange
6e7e5d5fd5
eth, whisper: fix msg.Payload reads
10 years ago
obscuren
15f491e500
Clean up REPL
10 years ago
obscuren
313fe3861b
fixed pow stuff
10 years ago
zelig
fc47f0f27b
add eth.chain.received.new_block log to eth protocol
10 years ago
Taylor Gerring
e31ec57f88
Add event eth.tx.received
10 years ago
zelig
16ecda951b
integrate blockpool into eth
...
- remove blockpool code
- remove blockpool integration test (kinda embarrassing)
- remove errors.go
10 years ago
obscuren
cc43ab9a81
Minor updates for release
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
Felix Lange
56f777b2fc
cmd/ethereum, cmd/mist, core, eth, javascript, xeth: fixes for new p2p API
10 years ago
obscuren
1d519854e2
Propagate known transactions to new peers on connect
10 years ago
obscuren
1337a8dfb1
upped pv
10 years ago
obscuren
35f4bb96f3
Limit hashes. Closes #249
10 years ago
zelig
43ed0ed1ae
no need to call AddBlockHashes when receiving new block
10 years ago
obscuren
25e6c4eff8
Adjusted difficulty and skip get tx messages
10 years ago
obscuren
a76b7dadae
Don't auto push jeff ...
10 years ago
obscuren
4e7f53adf0
Changed to poc-8 & removed GetTxs
10 years ago
Felix Lange
eb0e7b1b81
eth, p2p: remove EncodeMsg from p2p.MsgWriter
...
...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.
10 years ago
obscuren
6abf8ef78f
Merge
10 years ago
obscuren
530953050a
Updated protocol version
10 years ago