Daniel Hams
75698984cb
Introduce a list of addresses to reject during interface endpoint discovery.
On MacOSX the loopback device is lo0, not lo, plus there are multicast bridges
which cause issues too.
11 years ago
Daniel Hams
39b06d95c6
Little fixes found using clang on OSX10.9:
* bool to int as its incremented in PeerNetwork.cpp
* class to struct to match .cpp of UPnP in PeerNetwork.h
* Add missing return to string case in RLP.toBytesConstRef
11 years ago
Gav Wood
0e70e80728
Allow later versions of libminiupnpc.
11 years ago
Gav Wood
9e7ce2c981
Asynchronous connect. Fixes #7 .
11 years ago
Gav Wood
e0b4b21dc7
Avoid connecting to same hosts & better verbosity.
11 years ago
Gav Wood
fc139d2523
Version 2 not 3 of the GPL.
11 years ago
Gav Wood
3051d6eb12
Better p2p handling - no connecting to LAN addresses.
11 years ago
Gav Wood
636dadd15a
Possible fix for peer servers not to connect to nodes.
11 years ago
Gav Wood
98bf9e7be6
Fledgling UPnP support.
11 years ago
Gav Wood
3d5e8cdc59
Respect and handle capabilities.
- Peer-servers should never kick eachother off.
11 years ago
Gav Wood
17775cb05f
Vaguely proper parameters.
11 years ago
Gav Wood
0fc422a160
Manage GetBlocks properly; should work for when > 256 blocks away.
Use GetTransactions on connect & respect it. DONE
11 years ago
Gav Wood
8661341628
Optimised network;
verbosity levels;
peer server mode;
configurable peer count;
more options in cli client.
11 years ago
Gav Wood
f8a87c897d
* Kill peers when too many
- Respect idealPeerCount.
- Peer network traversal for peer discovery.
- Check peer utility (useful transactions & blocks passed) for when
dismissing.
- Respect peer count & dismiss/collect/stop listening for peers as
necessary.
11 years ago
Gav Wood
d6bf8439b5
Rename of Main - MainWin.
11 years ago
Gav Wood
11c6dd2a47
Peer discovery just-about safe, though you'll end up with a lot of
peers.
11 years ago
Gav Wood
69aed5087e
Slightly more error resistant.
11 years ago
Gav Wood
5d8e77b041
GetChain fix.
11 years ago
Gav Wood
1320449dc9
Move to agreed network format.
11 years ago
Gav Wood
75222dc854
Log output.
11 years ago
Gav Wood
3736ea6163
Back to how it was.
11 years ago
Gav Wood
e2e5b41349
Move to obscure's Hello format.
11 years ago
Gav Wood
268168df60
Move to vitalik's PoW...
11 years ago
Gav Wood
be68b7a1f1
Network functionality improved, code somewhat dirty now though.
11 years ago
Gav Wood
de44b7522c
Avoid socket info timing issues by keeping a copy of the info handy for
cross-thread replies.
11 years ago
Gav Wood
01812a5fec
Doesn't crash on peer dropout.
11 years ago
Gav Wood
0a49ab7dec
Fixes & additional functionality in the network stack.
11 years ago
Gav Wood
6e3f6e3fd1
Basic client.
11 years ago
Gav Wood
baacd4ed5b
GUI & network stuff.
11 years ago
Gav Wood
30cbe3be1e
Added client API & prototypal GUI.
11 years ago
Gav Wood
97d1232b21
Pinging.
11 years ago
Gav Wood
c77aa87e7d
Basic P2P functionality.
11 years ago
Gav Wood
ee3f311607
Peer network code NYW.
11 years ago
Gav Wood
e7ebf1e6b6
More work on big picture stuff.
11 years ago
Gav Wood
6c72a021d7
Repotting and big-picture stuff.
11 years ago
Gav Wood
89c25c6e11
Minor changes to readme and makefiles.
11 years ago
Gav Wood
9c891a7c3b
Added main and infrastructure.
11 years ago