Commit Graph

11 Commits (a4bd7806b3ee51b64315287da60b235a83decbf0)

Author SHA1 Message Date
dr7ana 91121ea22b pull yourself up by your bootstraps sonny
- initial/subsequent fetching combined for RouterContacts and RouterIDs
- bootstraps fallback implemented and looped into fetch logic
7 months ago
Thomas Winget d7e2e52ee4 messages::status -> messages 7 months ago
Thomas Winget bd4f239aa3 preconstructed dicts for error/timeout/ok
also move messages' statuses into their own namespace
7 months ago
Thomas Winget 32395caec1 build fixes, clang-format, minor touch-ups 7 months ago
Thomas Winget abb2f63ec6 path control message response status changes
change path control message inner message response to take just a
string, which will be a bt-encoded response with an early key for
status.  If there is a timeout we pass a bt dict that only has that as
the status, else the response we de-onioned should have either an OK
status or some other error.

change messages to use new status key

correctly call Path::EnterState on path build response
7 months ago
dr7ana 4ed6a01e02 following up before Tom meeting 9 months ago
dr7ana 206bd0b85e wawaweewa 9 months ago
dr7ana 1a9f977208 Message method implementation continued
- tons of surrounding stupid refactoring required
9 months ago
dr7ana fd527d612f Carving through llarp/link 9 months ago
dr7ana 511c20cdb6 Message handling methods
- `::handle_message` is transposed; Rather than the message calling the method and taking a reference to the router, the router should have a handle_message method and take a reference to the message
- `::EndcodeBuffer` takes a string reference, to which the result of `::bt_encode()` is assigned
9 months ago
dr7ana a921575c55 mein gott 10 months ago