114 Commits (8f0237610ec9b2a17c208925d3b390a779249105)

Author SHA1 Message Date
  Zach Ramsay 1721543e5c linting: apply misspell 7 years ago
  Emmanuel Odeke 031e10133c
p2p: make Switch.DialSeeds use a new PRNG per call 7 years ago
  Ethan Buchman f9bc22ec6a p2p: fix comment on addPeer (thanks @odeke-em) 7 years ago
  Ethan Buchman af0db599b0 minor fixes 7 years ago
  Emmanuel Odeke 3f9dff9aac
p2p: netPipe for <Go1.10 in own file with own build tag 7 years ago
  Emmanuel Odeke 283544c7f3
p2p: use fake net.Pipe since only >=Go1.10 implements SetDeadline 7 years ago
  Ethan Buchman c931279960 p2p: some fixes re @odeke-em issues #813,#816,#817 7 years ago
  Anton Kaliaev 7869e541f6
change MakeConnectedSwitches to not connect to itself 7 years ago
  Ethan Buchman e01986e2b3 p2p: update readme, some minor things 7 years ago
  Anton Kaliaev e785697a64
connect first switch to others (Refs #808) 7 years ago
  Petabyte Storage fe9ff62297 fix comment typos 7 years ago
  Ethan Buchman b50339e8e7 p2p: sw.AddPeer -> sw.addPeer 7 years ago
  Ethan Buchman aea8629272 peer interface 7 years ago
  Ethan Buchman daa258ea6d p2p: put maxMsgPacketPayloadSize, recvRate, sendRate in config 7 years ago
  caojingqi 086544e367 p2p: sw.peers.List() is empty in sw.OnStart 7 years ago
  Ethan Buchman 74a3a2b56a fix comments 7 years ago
  Adrian Brink b07d01f102 Add more comments on public functions and extra logging during 'enterPrevote' 7 years ago
  Ethan Buchman e6cecb9595 p2p: fix test 7 years ago
  Ethan Buchman 3c10f7a122 add p2p flush throttle to config 7 years ago
  Ethan Buchman 0d1fa8e884 fixes from review 7 years ago
  Anton Kaliaev b4ece65726
standardize key for errors (should be "err") 7 years ago
  Anton Kaliaev 4fe67652ff
move SetLogger down 7 years ago
  Anton Kaliaev f8fdbe3dbc
changes as per Bucky's review 7 years ago
  Anton Kaliaev c9cd8de9c6
set logger 7 years ago
  Ethan Buchman 16509ac3db
p2p: fix race by peer.Start() before peers.Add() 7 years ago
  Anton Kaliaev f803544195
new logging 7 years ago
  Ethan Frey 604bf03f3a Pulled out all config structs (except p2p.PeerConfig) into config package 7 years ago
  Ethan Buchman 92bafa7ecd consensus: fix tests 7 years ago
  Ethan Buchman 57151d6043 p2p: use cmn instead of . 7 years ago
  Ethan Buchman 5d660e073a remove viper from p2p 7 years ago
  Ethan Buchman fcf78a5da7 cleanup go-config/viper and some unnamed imports 7 years ago
  Ethan Buchman 23a6a6f8fc move into p2p package 7 years ago
  Ethan Buchman 34965f610d crypto Wrap/Unwrap 7 years ago
  Ethan Buchman eaeb547938 use tmlibs 7 years ago
  Anton Kalyaev 0109f1e524
test ensurePeers goroutine 8 years ago
  Anton Kaliaev 06d219db8e
test peer with no auth enc 7 years ago
  Anton Kaliaev 1d01f6af98
2 kinds of peers: outbound and inbound 7 years ago
  Anton Kaliaev a63e1bb2dc
fix possible panic 7 years ago
  Anton Kaliaev 7dcc3dbcd1
test peer 7 years ago
  Ethan Buchman 8067cdb5f2 fix closing conn 7 years ago
  Ethan Buchman 9a1a6c56b4 dont expose makePersistent 7 years ago
  Ethan Buchman b6f744c732 fix AddPeerWithConnection 7 years ago
  Ethan Buchman a9bb6734e7 SetDeadline for authEnc. Stop peer if Add fails 7 years ago
  Anton Kaliaev 8bb3a2e1d7
persistent peers (Refs #13) 7 years ago
  Anton Kaliaev 5b0489cdb4
use plain struct instead of go-config 7 years ago
  Ethan Buchman c94bc2bc2b DialSeeds takes an addrbook 7 years ago
  Ethan Buchman 0e7baf027b some dial seeds fixes 7 years ago
  rigelrozanski 26275ba66c dial seeds error handling 7 years ago
  Ethan Buchman 67c9086b74 optional panic on AddPeer err 8 years ago
  Ethan Buchman e47722ecb2 Connect2Switches: panic on err 8 years ago