Ethan Buchman
|
555ecb095d
|
precommit nil if locked and no POL
|
10 years ago |
Jae Kwon
|
625f23af13
|
Blockpool better timeouts, download rate observation, quicker switching to consensus; Id -> ID (sorry, this doesn't belong here)
|
9 years ago |
Jae Kwon
|
908fd11665
|
more explicit _, err := Start() checking
|
10 years ago |
Jae Kwon
|
e86073ec96
|
Use rpc/client/ws_client; OnStart() returns error
|
10 years ago |
Jae Kwon
|
e7c1febb65
|
Simplify Service/Reactor pattern
|
10 years ago |
Ethan Buchman
|
8e50bf15de
|
panic wrapper functions
|
10 years ago |
Jae Kwon
|
1d362a71ed
|
Stop the peer to stop the mconn
|
10 years ago |
Jae Kwon
|
571a134318
|
BaseService and BaseReactor refactor and unification
|
10 years ago |
Ethan Buchman
|
bb4ca1407f
|
info->notice, debug->info
|
10 years ago |
Ethan Buchman
|
e087284a4f
|
update logger package for new level 'notice'
|
10 years ago |
Ethan Buchman
|
95765db7eb
|
actually stop peer on failed Add
|
10 years ago |
Ethan Buchman
|
dc7b912881
|
crypto byte arrays are fixed length
|
10 years ago |
Ethan Buchman
|
ba70bffa23
|
add handshakeTimeout, bound chunkLength, comments
|
10 years ago |
Jae Kwon
|
e4c351f5fc
|
UUID -> PubKeyEd25519
|
10 years ago |
Jae Kwon
|
fd64547ce7
|
Put a SecretConnection before the MConnection; Node Priv/PubKeys
|
10 years ago |
Jae Kwon
|
d91f073676
|
uuid branch tidying
|
10 years ago |
Jae Kwon
|
bdc2711f27
|
p2p comment prettify
|
10 years ago |
Ethan Buchman
|
f2ccfff18e
|
respect maxNumPeers. closes #59
|
10 years ago |
Ethan Buchman
|
0728539bc1
|
limit num connections per ip range
|
10 years ago |
Ethan Buchman
|
af5b763112
|
avoid connection to self
|
10 years ago |
Ethan Buchman
|
555dab4fd6
|
limit number of allowed connections per ip
|
10 years ago |
Ethan Buchman
|
9521e4e4e7
|
add peer to addrbook on AddPeer, after handshake
|
10 years ago |
Ethan Buchman
|
3f7f3dd37f
|
add git commit hash to nodeInfo
|
10 years ago |
Jae Kwon
|
5107988fb5
|
Call peer.stop() if we're not going to start() it
|
10 years ago |
Ethan Buchman
|
33566375af
|
don't trust peer's node info
|
10 years ago |
Ethan Buchman
|
4f94e0f200
|
only allow one connection per ip
|
10 years ago |
Jae Kwon
|
f1703249ff
|
...
|
10 years ago |
Ethan Buchman
|
0e80059e79
|
versioning
|
10 years ago |
Jae Kwon
|
9513f601de
|
Removed Log.File, all log goes out to stdout.
|
10 years ago |
Jae Kwon
|
2ba6f86f2e
|
Add Network to SignBytes, to prevent network clashes
|
10 years ago |
Jae Kwon
|
dc1fddd1d8
|
Added NodeInfo (still need to add to AddrBook); Proper Handshake
|
10 years ago |
Jae Kwon
|
c72eb1be99
|
fix for{go func} scope issue
|
10 years ago |
Jae Kwon
|
a09051438c
|
Intermediate... working on debora
|
10 years ago |
Jae Kwon
|
f271ab7256
|
various changes. removed debora temporarily
|
10 years ago |
Jae Kwon
|
13b6508ecd
|
Package import path change
|
10 years ago |
Jae Kwon
|
c74b5522a1
|
fixied IsListening()
|
10 years ago |
Ethan Buchman
|
60f166e823
|
tendermint2
|
10 years ago |
Ethan Buchman
|
d2724c9731
|
rpc: give each call a dedicated Response struct, add basic test
|
10 years ago |
Jae Kwon
|
7171823fc6
|
Fix blockpool bugs and clean up log messages.
|
10 years ago |
Jae Kwon
|
bd6d9d646d
|
start peer before AddPeer() on reactors.
|
10 years ago |
Jae Kwon
|
94c3a51760
|
bug fix in daemon -- network name only, no chain hash
|
10 years ago |
Jae Kwon
|
aed4bbf0f0
|
Fix switch tests
|
10 years ago |
Jae Kwon
|
08a83aa9fb
|
Reactors can be stopped or started at any time.
|
10 years ago |
Jae Kwon
|
0237d284cc
|
Channel bytes are spelled fully, "XXXChannel"
|
10 years ago |
Ethan Buchman
|
a2938fd35b
|
p2p: fix switch test for Broadcast returning success channel
|
10 years ago |
Ethan Buchman
|
21530bf00f
|
p2p: broadcast spawns goroutine to Send on each peer and times out after 10 seconds. Closes #7
|
10 years ago |
Ethan Buchman
|
4abca6e963
|
p2p: push handshake containing chainId for early disconnect. Closes #12
|
10 years ago |
Ethan Buchman
|
7aa1d67c97
|
rpc: add status and net info
|
10 years ago |
Jae Kwon
|
29cff9ff48
|
updated dialing logs
|
10 years ago |
Jae Kwon
|
687815f6ed
|
Less log lines to STDOUT
|
10 years ago |