Péter Szilágyi
68898a4d6b
p2p: fix Self() panic if listening is disabled
10 years ago
Péter Szilágyi
e1a0ee8fc5
cmd/geth, cmd/utils, eth, p2p: pass and honor a no discovery flag
10 years ago
Péter Szilágyi
278183c7e7
eth, p2p: start the p2p server even if maxpeers == 0
10 years ago
obscuren
ceea1a7051
Merge branch 'develop'
10 years ago
obscuren
eae0927597
core: prevent crash when last block fails
10 years ago
Péter Szilágyi
3083ec5e32
eth/downloader: silence "Added N blocks from..." if N == 0
10 years ago
obscuren
2f2dd80e48
Merge branch 'develop'
10 years ago
obscuren
d74ee40c86
cmd/geth: bumped version to 0.9.24
10 years ago
obscuren
e6b143b00d
Merge branch 'develop'
10 years ago
obscuren
3386ecb59a
Merge branch 'release/0.9.24' into develop
10 years ago
obscuren
52b4e51366
Merge branch 'release/0.9.24'
10 years ago
obscuren
0a85260bcd
cmd/geth: bumped version to 0.9.24
10 years ago
Jeffrey Wilcke
245f30c59b
Merge pull request #1014 from fjl/p2p-dialer-3000
...
p2p: new dialer, peer management without locks
10 years ago
Jeffrey Wilcke
fd38ea4149
Merge pull request #1099 from obscuren/fork_fix
...
Fork fix
10 years ago
obscuren
6c2f6f5b03
tests: removed missing block test
10 years ago
obscuren
a6b46420d0
core: ban hash 38f5bb...a714bc
...
Hash 38f5bbbffd74804820ffa4bab0cd540e9de229725afb98c1a7e57936f4a714bc
ignored.
10 years ago
obscuren
f6f81169fe
core/vm: Fork fix. Removal of appending 0 bytes in memset
10 years ago
obscuren
03faccfb08
tests: updated
10 years ago
Jeffrey Wilcke
0de13b0bba
Merge pull request #1102 from karalabe/maintain-block-origins
...
eth, eth/downloader: surface downloaded block origin, drop on error
10 years ago
Péter Szilágyi
eafdc1f8e3
eth, eth/downloader: surface downloaded block origin, drop on error
10 years ago
Jeffrey Wilcke
5044eb4b26
Merge pull request #1101 from obscuren/issue-1096
...
core/vm: Cleanups & SUB output fix. Closes #1096
10 years ago
obscuren
b419e2631a
core/vm: Cleanups & SUB output fix. Closes #1096
10 years ago
Felix Lange
cc318ff8db
Merge pull request #1078 from carver/patch-1
...
eth: expand acronym in log message from TD
10 years ago
Felix Lange
e221a449e0
cmd/geth, jsre, rpc: run all JS code on the event loop
...
Some JSRE methods (PrettyPrint, ToVal) bypassed the event loop. All
calls to the JS VM are now wrapped. In order to make this somewhat more
foolproof, the otto VM is now a local variable inside the event loop.
10 years ago
Felix Lange
9e1fd70b50
p2p: decrease frameReadTimeout to 30s
...
This detects hanging connections sooner. We send a ping every 15s and
other implementation have similar limits.
10 years ago
Felix Lange
1440f9a37a
p2p: new dialer, peer management without locks
...
The most visible change is event-based dialing, which should be an
improvement over the timer-based system that we have at the moment.
The dialer gets a chance to compute new tasks whenever peers change or
dials complete. This is better than checking peers on a timer because
dials happen faster. The dialer can now make more precise decisions
about whom to dial based on the peer set and we can test those
decisions without actually opening any sockets.
Peer management is easier to test because the tests can inject
connections at checkpoints (after enc handshake, after protocol
handshake).
Most of the handshake stuff is now part of the RLPx code. It could be
exported or move to its own package because it is no longer entangled
with Server logic.
10 years ago
Felix Lange
9f38ef5d97
p2p/discover: add ReadRandomNodes
10 years ago
Felix Lange
64564da20b
p2p: decrease maximum message size for devp2p to 1kB
...
The previous limit was 10MB which is unacceptable for all kinds
of reasons, the most important one being that we don't want to
allow the remote side to make us allocate 10MB at handshake time.
10 years ago
Felix Lange
7b93341836
Godeps: add github.com/davecgh/go-spew
10 years ago
Felix Lange
dbdc5fd4b3
p2p: delete Server.Broadcast
10 years ago
Felix Lange
2f249fea44
eth: stop p2p.Server on shutdown
10 years ago
Felix Lange
394826f520
Merge pull request #1066 from karalabe/peer-db-polishes
...
p2p/discover: evacuate self from node database during iterations
10 years ago
Marek Kotewicz
c31f8e2bd7
compile solidity contracts with std library
10 years ago
Jason Carver
f1ce5877ba
do not export ring buffer struct
10 years ago
Jason Carver
8a7fb5fd34
do not export constant for when to log a deep block you mined
10 years ago
Jason Carver
97433f5ef1
expand acronym in log message from TD
...
to total difficulty
10 years ago
Jason Carver
ba295ec6fe
Log locally mined blocks, after they are 5-deep in the chain
...
This helps determine which blocks are unlikely to end up as uncles
* Store the 5 most recent locally mined block numbers
* On every imported block, check if the 5-deep block num is in that store
* Also confirm that the block is signed with miner's coinbase
Why not just check the coinbase? This log is useful if you're running
multiple miners and want to know if *this* miner is performing well.
10 years ago
Jeffrey Wilcke
b2b9b3b567
Merge pull request #1077 from obscuren/disasm
...
core/vm, rpc: added disasm to `ext_` RPC
10 years ago
obscuren
7381be8edb
core/vm, rpc: added disasm to `ext_` RPC
10 years ago
Jeffrey Wilcke
f7415c0bbc
Merge pull request #1076 from obscuren/rpc_sign
...
core: added RPC sign back in
10 years ago
obscuren
6539ccae7c
core: added RPC sign back in
10 years ago
Jeffrey Wilcke
01ddaf5670
Merge pull request #1072 from Gustav-Simonsson/add_random_tests
...
Add StateTests/RandomTests and VMTests/RandomTests
10 years ago
Jeffrey Wilcke
f5e112ae5a
Merge pull request #1074 from bas-vk/issue1068
...
make registrar available in console
10 years ago
Bas van Kervel
821b578f7e
make registrar available in console
10 years ago
Gustav Simonsson
6ad817e17b
Add StateTests/RandomTests and VMTests/RandomTests
10 years ago
obscuren
13e662f6de
Merge branch 'develop'
10 years ago
obscuren
054abe20b8
miner: moved break INSIDE the switch ...
10 years ago
obscuren
8c25a83708
Merge branch 'release/0.9.23' into develop
10 years ago
obscuren
2c1c78a6d9
Merge branch 'release/0.9.23'
10 years ago
Péter Szilágyi
cbd3ae6906
p2p/discover: fix #838 , evacuate self entries from the node db
10 years ago