message: format log
peer: remove from todo
*: refactor