Skip to content
This repository has been archived by the owner on Sep 1, 2022. It is now read-only.

RouterInfo: fixes + refactoring #631

Merged
merged 12 commits into from
Apr 29, 2017
Merged

Conversation

anonimal
Copy link
Collaborator

WIP. Lives tests pass with v6 enabled/disabled. Referencing #627.


By submitting this pull-request, I confirm the following:

  • I have read and understood the Contributing Guide.
  • I have checked that another pull-request for this purpose does not exist.
  • I have considered and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used and that this pull-request may be closed by the will of the maintainer.
  • I give this submission freely under the BSD 3-clause license.

anonimal added 12 commits April 26, 2017 02:06
Replaces base64 conversion with ident hash's built-in member function.
Now operates directly on object through return reference getter.
- RI *has* said traits, not *is* said traits
- Clarify compatibility functions
- Does not effect bool member setters/getters
- Removes copypasta code
- Removes redundent checks
- Adds important notes/TODO's
- Adds debug logging
- Implements function for bitwise verification
- Refactor bool logic
- Use bitwise operations to ensure appropriate transport and version
- Refactor bool logic + remove unnecessary code
- Implement transport trait getter + add debug logging
- Related refactoring + add docs
@anonimal anonimal merged commit 378e11d into monero-project:master Apr 29, 2017
anonimal added a commit that referenced this pull request Apr 29, 2017
378e11d RouterInfo: refactor address getters + their logic (anonimal)
7f56f7b RouterInfo: refactor Has* transport verifiers (anonimal)
9c75699 RouterInfo: GetDescription: supply host trait, not cost (anonimal)
75831fb RouterInfo: fix IP version when adding NTCP address (anonimal)
6d0f8af RouterInfo: refactor V6 enabler/disabler + add docs (anonimal)
0ab5044 RouterInfo: inline Has* getters + setter (anonimal)
53f9410 RouterInfo: replace trait Is* functions with Has* (anonimal)
74d63a0 RouterInfo: remove unnecessary functions for options (anonimal)
4faefb2 RouterInfo: remove unnecessary Base64 function (anonimal)
1dfd108 RouterInfo: refactor public caps setter / flags getter (anonimal)
9111ae6 RouterInfo: align language with RI specification (anonimal)
4293427 RouterInfo: remove dead code in header (anonimal)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant