Commit Graph

17 Commits (22dada5d1744c3e6f1a38ef1b3f5a93cba6e3163)

Author SHA1 Message Date
fanquake cc7b2fdd70
refactor: move compat.h into compat/
2 years ago
Vasil Dimov a724c39606
net: rename Sock::Reset() to Sock::Close() and make it private
2 years ago
laanwj 0ea92cad52
Merge bitcoin/bitcoin#24356: refactor: replace CConnman::SocketEvents() with mockable Sock::WaitMany()
2 years ago
Vasil Dimov cc74459768
net: also wait for exceptional events in Sock::Wait()
2 years ago
Jon Atack ecff20db28 logging: use LogPrintfCategory rather than a manual category
2 years ago
Jon Atack d40550d725 scripted-diff: remove duplicate categories from LogPrint output
2 years ago
Pieter Wuille 78f3ac51b7 Make DecodeBase{32,64} return optional instead of taking bool*
3 years ago
Pieter Wuille a65931e3ce Make DecodeBase{32,64} always return vector, not string
3 years ago
Hennadii Stepanov f47dda2c58
scripted-diff: Bump copyright headers
3 years ago
Russell Yanofsky 6544ea5035 refactor: Block unsafe fs::path std::string conversion calls
3 years ago
Vasil Dimov 4f432bd738
net: do not connect to I2P hosts on port!=0
3 years ago
Vasil Dimov 38f900290c
net: change assumed I2P port to 0
3 years ago
Vasil Dimov 1c1467f51b
i2p: cancel the Accept() method if waiting on the socket errors
4 years ago
Vasil Dimov 9947e44de0
i2p: use pointers to Sock to accommodate mocking
4 years ago
Vasil Dimov 82d360b5a8
net: change ConnectSocketDirectly() to take a Sock argument
4 years ago
Vasil Dimov 80a5a8ea2b
i2p: limit the size of incoming messages
4 years ago
Vasil Dimov c22daa2ecf
net: implement the necessary parts of the I2P SAM protocol
4 years ago