Péter Szilágyi
cdc2662c40
core: split out TD from database and all internals
9 years ago
Péter Szilágyi
2b339cbbd8
core, eth: split the db blocks into headers and bodies
9 years ago
Péter Szilágyi
ca88e18f59
eth: kill off protocol eth/60 in preparation for eth/62
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
9 years ago
Péter Szilágyi
c51e153b5c
eth, metrics, p2p: prepare metrics and net packets to eth/62
9 years ago
Jeffrey Wilcke
036e6301af
cmd/geth, core, eth: Version 1.0.0
...
Genesis release. Closes #1402
Conflicts:
cmd/geth/main.go
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
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