arkpar
cd3355f23f
used weak_ptr for session and peers, minor sync optimization
10 years ago
Paweł Bylica
6b3fd2d3ca
Small override & std::move fixes.
10 years ago
arkpar
18127c1b4e
continue syncing refactoring
10 years ago
arkpar
2ad9a6d265
reverted to old pv61 sync code
10 years ago
arkpar
6b80953aa3
State management in EthereumHost, better sync progress reporting.
Invariants checking
10 years ago
arkpar
566b2b6354
resync after downloading unknown new block
10 years ago
arkpar
0a44c7ab4f
block queue limiting and other fixes
10 years ago
Gav Wood
8266ee155e
Avoid download more than one thousand blocks in advance.
10 years ago
Gav Wood
87cf8dd5d6
VM provides information on its performance.
Make guarding of DB optional.
Various updates to syncing.
Start of a holistic reputation manager.
10 years ago
Gav Wood
7bff0d1f7d
Faster State diffs.
Support canary contract to stop mining.
Manage rude nodes.
10 years ago
arkpar
bec5703d33
hash download reporting
10 years ago
arkpar
0c63c92503
request hashes from all peers initially, pv61+ priority
10 years ago
Gav Wood
fdff985a30
--ask and --bid
10 years ago
subtly
7b8a4cebd8
Better code.
10 years ago
arkpar
fdeadf9330
renamed isSyncingInternal
10 years ago
arkpar
49d753b302
fixed isSyncing usage
10 years ago
arkpar
f7ee67a8db
fixed pv61+ hash downloading stalling
10 years ago
arkpar
597f56843b
GetBlockHashesByNumber packet
10 years ago
arkpar
10cfa35c09
blockchain sync refactoring
10 years ago
subtly
012ffd4adc
retain session when interacting with capability
10 years ago
Gav Wood
ebe06b37de
More stringent checking for ancestors in uncles.
Minor fixes to AZ.
Optimisations for NewBlockHashes handling.
10 years ago
arkpar
cc5a617aa6
set and map to hash tables
10 years ago
Gav Wood
82ca50d234
NewBlockHashes packet, basic implementation.
10 years ago
Gav Wood
3525a62ccb
Diagnostics for checking transaction dropping/resubmission
10 years ago
Gav Wood
a3a72816af
Don't send all transactions all the time - rather select a set of peers
each time.
10 years ago
Gav Wood
103b9ea0a7
Bunch of repotting/curating.
[10:59:28] Vitalik Buterin: block.parent.gas_limit * 1023 / 1024 <=
block.gas_limit <= block.parent.gas_limit * 1025/1024
10 years ago
Gav Wood
9385ee2533
Bunch of repotting/curating.
[10:59:28] Vitalik Buterin: block.parent.gas_limit * 1023 / 1024 <=
block.gas_limit <= block.parent.gas_limit * 1025/1024
10 years ago
Gav Wood
210104395f
Bunch of repotting/curating.
[10:59:28] Vitalik Buterin: block.parent.gas_limit * 1023 / 1024 <=
block.gas_limit <= block.parent.gas_limit * 1025/1024
10 years ago
jhuntley
6d62e3ab26
Revert all asio.h includes except for in 2 files, DebuggingStateWrapper.h and Transact.cpp. After enabling WIN32_LEAN_AND_MEAN, all the asio.h include issues, commit 20b6e24ffcab088e71092e07030a377d3135da3c, went away.
10 years ago
jhuntley
0bf7d15a57
asio.h and windows.h build comments as per request.
10 years ago
jhuntley
e1e7b227df
Avoid boost include order issue on windows:
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue
http://stackoverflow.com/questions/9750344/boostasio-winsock-and-winsock-2-compatibility-issue/16288859#16288859
Make sure boost/asio.hpp is included before windows.h.
10 years ago
Lefteris Karapetsas
ba81493976
StructuredLogger propagated as a const reference
10 years ago
Lefteris Karapetsas
5695d0ee25
Adding argument for structured logging and propagating it forward
- Also style fixes when problems encountered
10 years ago
arkpar
3767677b27
explicit operator bool for hash type
10 years ago
Gav Wood
2c6b18f01b
Add EVMJIT.
10 years ago
subtly
de099b2d8b
remove network pause.
fix client repeat-disconnect loop.
removed resolver from getifaddr dance (not reqd) and updated getifaddr code (needs windowz/linux testing).
don't accept new connections if listenport bind fails (possible due to OS firewall settings).
only use upnp w/ipv4 addresses.
re: disconnect loop. Looks like ethhost session isn't deallocating once stopped. Thinking UI might have shared_ptr. For now, letting dealloc/quit continue as long as isOpen returns false -- maybe okay since network will be halted. Also, it maybe possible the issue is due to network thread not running after disconnect so packets aren't tx/rx to kill peer -- either way, it's possible remote end doesn't ack disconnect and timeout/force-close-dealloc is required, so will need more attention later.
10 years ago
Gav Wood
2b93dcdc1d
Move over to new GetTransactions semantics.
10 years ago
Gav Wood
07c804a885
Vast P2P networking improvements, mainly for peer discovery, management
and handling.
10 years ago
Gav Wood
c9582e490c
Windows build fix.
10 years ago
Gav Wood
4f5b153452
Better state management.
10 years ago
Gav Wood
d7465f7b55
Syncing fixes.
10 years ago
Gav Wood
611caef125
Compilable etheruem network rewrite.
10 years ago
Gav Wood
6df207655c
More work on the peer state transition system
10 years ago
Gav Wood
f73b46d2c1
Work on making states good and various docs.
10 years ago
Gav Wood
3f61b506db
Remove incoming queue. Put things straight into actual queues.
Make state items more fitting.
10 years ago
Gav Wood
05d3d8096e
Simple chain download view.
10 years ago
Gav Wood
5ce45164bd
Get rid of nasty old code.
10 years ago
Gav Wood
17f55abd37
Get blocks in right order.
10 years ago
Gav Wood
b883f0c135
User DNS & poc-5.ethdev.com for peerserver.
10 years ago
Gav Wood
8ec86bb362
Add DownloadMan for download management.
10 years ago