Jae Kwon
|
908fd11665
|
more explicit _, err := Start() checking
|
9 years ago |
Jae Kwon
|
e86073ec96
|
Use rpc/client/ws_client; OnStart() returns error
|
9 years ago |
Jae Kwon
|
3be3647dc8
|
tendermint/binary -> tendermint/wire
|
9 years ago |
Jae Kwon
|
f91bc8d8c3
|
Retries for net.Listen to account for MacOSX socket close delay
|
9 years ago |
Jae Kwon
|
e7c1febb65
|
Simplify Service/Reactor pattern
|
9 years ago |
Ethan Buchman
|
8e50bf15de
|
panic wrapper functions
|
9 years ago |
Jae Kwon
|
3a9b465c75
|
Fix MConnection race condiiton
|
9 years ago |
Jae Kwon
|
c0a64d74be
|
Service log prettify
|
9 years ago |
Jae Kwon
|
1d362a71ed
|
Stop the peer to stop the mconn
|
9 years ago |
Jae Kwon
|
571a134318
|
BaseService and BaseReactor refactor and unification
|
9 years ago |
Jae Kwon
|
c30d38270c
|
base_service draft and some samples
|
9 years ago |
Ethan Buchman
|
a28d924966
|
move some logs to debug
|
9 years ago |
Ethan Buchman
|
bb4ca1407f
|
info->notice, debug->info
|
9 years ago |
Ethan Buchman
|
e087284a4f
|
update logger package for new level 'notice'
|
9 years ago |
Ethan Buchman
|
95765db7eb
|
actually stop peer on failed Add
|
9 years ago |
Ethan Buchman
|
dc7b912881
|
crypto byte arrays are fixed length
|
9 years ago |
Ethan Buchman
|
ba70bffa23
|
add handshakeTimeout, bound chunkLength, comments
|
9 years ago |
Jae Kwon
|
84705caefb
|
fix nil-pointer error in SecretConnection handshake
|
9 years ago |
Jae Kwon
|
9e2b138c35
|
Added link to doc above MakeSecretConnection
|
9 years ago |
Jae Kwon
|
9ef79e59bb
|
Godeps <- golang.org/x/crypto/nacl etc
|
9 years ago |
Jae Kwon
|
e4c351f5fc
|
UUID -> PubKeyEd25519
|
9 years ago |
Jae Kwon
|
fd64547ce7
|
Put a SecretConnection before the MConnection; Node Priv/PubKeys
|
9 years ago |
Jae Kwon
|
a8d03bddc9
|
added sts-final doc
|
9 years ago |
Jae Kwon
|
d13a593afd
|
Parallel syntax change; SecretConnection implements net.Conn
|
9 years ago |
Jae Kwon
|
5b41cc4fa5
|
Added secret_connection benchmark test
|
9 years ago |
Jae Kwon
|
4981a5993d
|
fixed handshake test; wrote broken read/write test
|
9 years ago |
Jae Kwon
|
dbef516659
|
failing tests for secret_connection
|
9 years ago |
Jae Kwon
|
402b3a3e52
|
draft of secret_connection
|
9 years ago |
Jae Kwon
|
d91f073676
|
uuid branch tidying
|
9 years ago |
Jae Kwon
|
bdc2711f27
|
p2p comment prettify
|
9 years ago |
Ethan Buchman
|
f2ccfff18e
|
respect maxNumPeers. closes #59
|
9 years ago |
Ethan Buchman
|
0728539bc1
|
limit num connections per ip range
|
9 years ago |
Ethan Buchman
|
af5b763112
|
avoid connection to self
|
9 years ago |
Ethan Buchman
|
fca9e7f9ce
|
send pexRequest to random peer in ensurePeers if no addrs to dial
|
9 years ago |
Ethan Buchman
|
555dab4fd6
|
limit number of allowed connections per ip
|
9 years ago |
Ethan Buchman
|
d0610845dc
|
peers use uuid to avoid duplicate connections
|
9 years ago |
Ethan Buchman
|
9521e4e4e7
|
add peer to addrbook on AddPeer, after handshake
|
9 years ago |
Ethan Buchman
|
fadfc673e3
|
better upnp error msgs
|
9 years ago |
Ethan Buchman
|
3f7f3dd37f
|
add git commit hash to nodeInfo
|
9 years ago |
Jae Kwon
|
5107988fb5
|
Call peer.stop() if we're not going to start() it
|
9 years ago |
Jae Kwon
|
d95234435a
|
Fix bug in merkle/iavl_proof; TODO maybe read zero length slices as nil?
|
9 years ago |
Jae Kwon
|
1f34236948
|
Limit binary data to 21MB
|
9 years ago |
Jae Kwon
|
e4435a8d1e
|
Log embellishment
|
9 years ago |
Jae Kwon
|
7983113024
|
logging of base p2p messages
|
9 years ago |
Jae Kwon
|
6781b21d32
|
Split ReadBinary into ReadBinary/ReadBinaryPtr.
|
10 years ago |
Jae Kwon
|
9965dd5de6
|
uint* to int* whereever appropriate; https://www.reddit.com/r/golang/comments/2q5vdu/int_vs_uint/
|
10 years ago |
Ethan Buchman
|
33566375af
|
don't trust peer's node info
|
10 years ago |
Ethan Buchman
|
57ff919d50
|
godep
|
10 years ago |
Ethan Buchman
|
8a2d9525f0
|
network > chain_id, put in genesis.json
|
10 years ago |
Jae Kwon
|
75ef479547
|
Config is passed into each module. Remove tendermint/confer
|
10 years ago |