Dev Ojha
dae7dc30e0
Switch usage of math/rand to cmn's rand (#1980)
This commit switches all usage of math/rand to cmn's rand. The only exceptions are within the random file itself, the tools package, and the crypto package. In tools you don't want it to lock between the go-routines. The crypto package doesn't use it so the crypto package have no other dependencies within tendermint/tendermint for easier portability. Crypto/rand usage is unadjusted. Closes #1343 |
7 years ago | |
---|---|---|
.. | ||
addrbook.go | fix import paths | 7 years ago |
addrbook_test.go | Switch usage of math/rand to cmn's rand (#1980) | 7 years ago |
errors.go | update spec and addrbook.go | 7 years ago |
file.go | fix import paths | 7 years ago |
known_address.go | p2p/pex: some addrbook fixes | 7 years ago |
params.go | fix build and test | 7 years ago |
pex_reactor.go | [pex] switch to MustMarshalBinaryBare and UnmarshalBinaryBare | 7 years ago |
pex_reactor_test.go | [pex] switch to MustMarshalBinaryBare and UnmarshalBinaryBare | 7 years ago |
wire.go | P2P now works with Amino | 7 years ago |