Péter Szilágyi
e82ddd9198
p2p: correct a leftover trusted -> static
10 years ago
Péter Szilágyi
413ace37d3
eth, p2p: rename trusted nodes to static, drop inbound extra slots
10 years ago
obscuren
8595198c1b
eth/downloader: delete blocks from queue
10 years ago
obscuren
15873fafc0
core: added a wait group to chain manager for graceful shutdown
10 years ago
Péter Szilágyi
701591b403
cmd, eth, p2p: fix review issues enumerated by Felix
10 years ago
Péter Szilágyi
1528dbc171
p2p: add trust check to handshake, test privileged connectivity
...
Conflicts:
p2p/server_test.go
10 years ago
Péter Szilágyi
14f32a0c3a
p2p: reduce the severity of a debug log
10 years ago
Péter Szilágyi
679c90b873
cmd/geth, cmd/utils, eth: internalize trusted node config file
10 years ago
Péter Szilágyi
de0549fabb
cmd/geth, cmd/mist, cmd/utils, eth, p2p: support trusted peers
10 years ago
Felix Lange
d457a1187d
common: add Hash.Generate
10 years ago
Felix Lange
72ab6d3255
p2p/discover: track sha3(ID) in Node
10 years ago
Felix Lange
b34a8ef624
p2p, p2p/discover: protocol version 4
10 years ago
Felix Lange
fc747ef4a6
p2p/discover: new endpoint format
...
This commit changes the discovery protocol to use the new "v4" endpoint
format, which allows for separate UDP and TCP ports and makes it
possible to discover the UDP address after NAT.
10 years ago
obscuren
e4dba36892
core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D)
10 years ago
obscuren
28b39267d9
core, eth: verify td of received blocks
10 years ago
obscuren
9b6e8f6195
eth, eth/downloader: remove bad peers from peer set
...
Peers in the eth protocol handler are now being ignored for catch up.
10 years ago
Jeffrey Wilcke
3fef601903
Merge pull request #830 from obscuren/downloader-missing-parent
...
eth/downloader: missing parent improvement
10 years ago
obscuren
30b921ef46
cmd/geth: bump version to 0.9.14
10 years ago
obscuren
88292f35db
core: remove txs from queue in addition to removal of pending
10 years ago
obscuren
2590a7dabb
core: added some additional chain tests for shortest chain
10 years ago
obscuren
04c209980b
eth: rely on p2p to determine block propagation
10 years ago
obscuren
01e3d694a6
p2p: added received at to peer message
...
p2p.Msg.ReceivedAt can be used for determining block propagation from
begining to end.
10 years ago
obscuren
9e63798d03
core/types, eth: meassure and display propagation times
10 years ago
obscuren
f8c27d7159
eth/downloader: drop block
10 years ago
obscuren
c930045834
core: fixed tetst to reflect (int, error) return by insertChain
10 years ago
obscuren
dfbf580354
eth/downloader: ignore orphan blocks in the downloader.
...
When blocks have been sorted and are being processed, orphan blocks
should be ignored and thrown out. The protocol handler is responsible
for downloading blocks which have missing parents.
10 years ago
obscuren
735b029db9
core: return the index of the block that failed when inserting a chain
10 years ago
Jeffrey Wilcke
764e81bf12
Merge pull request #825 from obscuren/develop
...
core: chain fork fix
10 years ago
Jeffrey Wilcke
bac4440e17
Merge pull request #822 from fjl/makefile-improvements
...
Makefile improvements
10 years ago
obscuren
13364a2dcf
eth/downloader: reset the chain when parent is missing during processing
10 years ago
obscuren
745c368987
cmd/geth: bump version number
10 years ago
obscuren
4e07967711
core: fixed chain reorg during splits
...
Chain reorgs weren't properly handled when a chain was further ahead.
Previously we'd end up with mixed chains in our canonical numbering
sequence. Added test for this type of forking.
```
/-o-o-o A
o-C-+
\-o-o-o-o B
```
Ends up with with C A1, A2, A3, B4
10 years ago
obscuren
af73d1d682
core/types: added fake parent hash / hash to String() output
10 years ago
obscuren
4b7bdc3766
eth: check if downloader is busy before showing log message
10 years ago
obscuren
7ac24d551b
core: seperated proccing mutex and getting mutex
10 years ago
obscuren
9f32117457
core: bump database version
10 years ago
obscuren
a4b79f1dac
core: moved mutex locks in insert blocks to start of function
...
Insert blocks will no longer allow processing of multiple chains at the
same time. The block lock has been moved to start of the function.
10 years ago
obscuren
04a09b7e2d
core: set min gas price at startup
10 years ago
Jeffrey Wilcke
32373e3837
Merge pull request #828 from tgerring/pathfixes
...
Remove path separator literals
10 years ago
Taylor Gerring
f8cdff9a5d
Remove path separator literals
10 years ago
Felix Lange
aa03e53ca8
Use Makefile for Travis tests
10 years ago
Felix Lange
c6b983e449
Makefile: add test target
10 years ago
Felix Lange
72d8878084
cmd/mist: always enable whisper
...
The default value of the Shh option is true, but cli can't
see it because it is not part of the mist options.
10 years ago
Felix Lange
eb5e43022e
cmd/geth, cmd/mist: use gitCommit in node name
10 years ago
Felix Lange
71c28cfb0c
Makefile: set main.gitCommit when building
10 years ago
Felix Lange
f4e5675303
cmd/mist: add blockchain version flag
...
This is necessary because cli doesn't see the default
value unless the flag is included.
10 years ago
Felix Lange
26fbea5cb7
README: simplify build instructions
10 years ago
Felix Lange
8fcd71920a
Makefile: clean should also delete Godeps/_workspace/pkg
10 years ago
Felix Lange
12df8565cf
build: run build commands from the fake workspace root
...
This ensures that compiler error messages contain the correct path.
10 years ago
Jeffrey Wilcke
a6a49ccbf7
Merge pull request #821 from karalabe/nodedb-fix
...
p2p/discover: fix api issues caused by leveldb update
10 years ago