Open 0xB10C opened 5 months ago
Posting potential cleanups and small refactors that should be made at some point here:
Addressing these TODOs would be good
https://github.com/0xB10C/peer-observer/blob/4e4bb14cdf2d16dc6707599a25873e36dc49fb0d/shared/src/ctypes.rs#L49-L69
MAX_SMALL_MSG_LENGTH in this comment is incorrect. It should be N. Also, there's a typo in acccctual
MAX_SMALL_MSG_LENGTH
N
https://github.com/0xB10C/peer-observer/blob/4e4bb14cdf2d16dc6707599a25873e36dc49fb0d/shared/src/ctypes.rs#L110
fixed with #22
More todos that can be addressed
https://github.com/0xB10C/peer-observer/blob/4e4bb14cdf2d16dc6707599a25873e36dc49fb0d/shared/src/ctypes.rs#L133-L138
https://github.com/0xB10C/peer-observer/blob/4e4bb14cdf2d16dc6707599a25873e36dc49fb0d/shared/src/ctypes.rs#L538-L544
typo: https://github.com/0xB10C/peer-observer/blob/4e4bb14cdf2d16dc6707599a25873e36dc49fb0d/shared/src/ctypes.rs#L619
Posting potential cleanups and small refactors that should be made at some point here: