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
obscuren
4cd79d8ddd
Refactored block & Transaction
...
* Includes new rlp decoder
10 years ago
obscuren
455241debb
Removed goroutine from "Run"
10 years ago
obscuren
96272e19a6
removed filter manager from base
10 years ago
zelig
01dc1c1394
blockpool rewritten , tests broken FIXME
10 years ago
zelig
4dfce4624d
protocol
...
- new interface explicit backend components txPool, chainManager, blockPool
- added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
10 years ago
zelig
2dd8f41147
eth protocol changes
...
- 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)
10 years ago
zelig
0add0c400f
initial commit for eth-p2p integration
10 years ago
zelig
c44e025898
protocol
...
- new interface explicit backend components txPool, chainManager, blockPool
- added protoErrorDisconnect for blockpool callback (FIXME: handling peer disconnects)
10 years ago
zelig
d957dd2c9f
eth protocol changes
...
- 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)
10 years ago
zelig
e5aa38cb0f
initial commit for eth-p2p integration
10 years ago
zelig
e74f9f27db
eth protocol changes
...
- 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)
10 years ago
zelig
47793b606c
initial commit for eth-p2p integration
10 years ago