bitfinexcom / bitfinex-api-go

BITFINEX Go trading API - Bitcoin, Litecoin, and Ether exchange
https://www.bitfinex.com/
MIT License
309 stars 220 forks source link

moves getNonce into the newly created utils package and uses proper cryptographic randomness instead of just a simple counter. #29

Closed knarz closed 7 years ago

knarz commented 7 years ago

Again, most of these changes are cosmetic to appease golint but I've also moved the getNonce function into the utils package for now and changed it to use an actual random nonce instead of a fairly predictable counter.