chriseth
2bcaf47811
Use unique_ptr for RLPXFrameCoder.
10 years ago
chriseth
b78ee4c18c
Reduce usage of "new".
10 years ago
subtly
47a55d62e0
staging progress
10 years ago
Gav Wood
c3933466d7
implement admin_net_nodeInfo.
10 years ago
subtly
3e5542cd95
Host: Fix guard. Fix acceptor loop when connection count exceeded. Acceptor loop exit on shutdown.
10 years ago
arkpar
440f6e7dc2
import transactions in a separate thread
10 years ago
chriseth
485a910523
Documentation and tests for RangeMask.
10 years ago
Gav Wood
9afd426e5a
Refactor toJson out into separate file.
Implement basic admin_eth_* interfaces.
10 years ago
subtly
057311778c
Prep for cleanup, subprotocol packet queues, and framing. Disown rlpxsocket from handshake and rename FrameIO to FrameCoder.
10 years ago
arkpar
566b2b6354
resync after downloading unknown new block
10 years ago
Gav Wood
fbf77ea8d9
Compile fix.
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
arkpar
10cfa35c09
blockchain sync refactoring
10 years ago
subtly
fb7c6a10c0
Bump ideal peer count based on network simulations. See also https://github.com/ethereum/devp2p/wiki/Peer-Selection-Strategy
10 years ago
Gav Wood
4ef410eee0
Use Go bootnodes.
10 years ago
arkpar
cc5a617aa6
set and map to hash tables
10 years ago
subtly
c72b218d88
Code review. Fix inverted peer slot check.
10 years ago
subtly
8b284fea13
Fix wrong comparison in peerSlotsAvailable.
10 years ago
subtly
242d22e67d
dry
10 years ago
Gav Wood
82ca50d234
NewBlockHashes packet, basic implementation.
10 years ago
subtly
49c4bba993
cleanup/prep endpoint semantics for #1558 and #1557
10 years ago
subtly
7d341bd253
Improve addNode functionality when addNode is called during network startup.
10 years ago
subtly
446471d569
Explicit instantiation to prevent reference and force copy of shared-ptr. Potential fix for #1366 .
10 years ago
subtly
86092b27ed
remove unused method
10 years ago
subtly
88fa483055
fix neth. fix issue w/udp listening to 30303.
10 years ago
subtly
b05546fef6
dealloc basic timers first
10 years ago
subtly
549ab88609
garbage collect timers
10 years ago
subtly
29f40bff0f
makePeer and support setting listen IP.
10 years ago
subtly
11d2446247
api cleanup. connect peer when required.
10 years ago
subtly
c887d5c0d2
Don't create address from empty string. Use member property instead of parameter.
10 years ago
subtly
4da7a0f4c6
initial requirepeer
10 years ago
subtly
8fb315be49
refactor network prefs
10 years ago
subtly
7445f9020e
Merge host and nodetable network protocol version.
10 years ago
Gav Wood
65de6aaa4d
Diagnostics and API cleanup.
10 years ago
subtly
46692bcf32
track pings where pubk is unknown so pongs are properly handled
correct mutex usage
notify Host of new node only when it is inserted into table
temporarily double discovery timeout until concatenated packets are supported
remove duplicate eviction-timeout entry
update node's udp endpoint when node is noted as active (fixes bug which duplicates NodeEntry)
don't note pending nodes as active, don't add pending nodes to table
change NodeEntryRemoved to NodeEntryDroppped (Remove will be permanent)
note active node after packet is processed instead of before
do not respond to unsolicited packets
store node pubk and tcp endpoint when Ping is received
fix bug in Host causing empty Peer shared-ptr to be created
10 years ago
subtly
80edf61630
changes from code review
10 years ago
subtly
3292c58599
bugfix and doc clarification. fix test.
10 years ago
subtly
529fda3a95
lifecycle management of handshake sessions
10 years ago
subtly
fc1ea097aa
packet-type interop w/go
10 years ago
subtly
a0aaf614f3
sharedptr wrapper class for socket
10 years ago
subtly
23a64667e3
classify handshake and begin pulling rlpx into session
10 years ago
subtly
d137581c7f
authenticated capability (hello) and handshake authentication
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
3874c78d06
More style fixes
10 years ago
subtly
dc1bb1d28b
build fix
10 years ago
Lefteris Karapetsas
5f191f4f89
Indentation style fixes
10 years ago
Lefteris Karapetsas
623d640fb5
StructuredLogger becomes a global singleton class
10 years ago
Lefteris Karapetsas
ba81493976
StructuredLogger propagated as a const reference
10 years ago