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

App/Client/Core: lib + instance work for prelim API #742

Merged
merged 12 commits into from
Nov 2, 2017

Conversation

anonimal
Copy link
Collaborator

@anonimal anonimal commented Nov 1, 2017

WIP.


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

  • I have read and understood the contributor guide in kovri-docs.
  • 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.

- for better RAII
- add related notes
- related refactoring
- WIP toward APIs
- client and core will process their own configurations
- Instance won't (shouldn't) sit in client but will work for now
- Separates client/core Instance/Configuration implementation
- Introduces better RAII and preliminary API
- Related refactoring + implementing
- If Exception class isn't member initialized before a calling ctor
function try-block throws, string member manipulation results in
segfault. As such, simply use locals.

- Fixes formatting if dispatch message is missing
- namespace cleanup for Daemon/Client/Core/Configuration only
- Uses list initilization for client tunnel counters
- Instance logging clarifications
- clang-format check-in
- core Instance no longer relies on CLI (or any) args
- ctor now logs args (if applicable)
@anonimal anonimal merged commit bd615a5 into monero-project:master Nov 2, 2017
anonimal added a commit that referenced this pull request Nov 2, 2017
bd615a5 Util: add kovri as instance PoC (for prelim API) (anonimal)
0ba4882 Core: set default param for Instance/Configuration (anonimal)
ae1370b Core: fix reporting wrong Instance port number (anonimal)
9a3ac39 Client/Core: const + ref correctness for Instance/Configuration (anonimal)
fab31fb Client: use Exception dispatcher for Configuration (anonimal)
ee2ae90 Kovri: namespace cleanup + style check-in + misc (anonimal)
1cde1ab Exception: rewrite dispatcher + fix segfault (anonimal)
ae52d6e Kovri: create core Instance/Configuration + rewrite client Instance (anonimal)
e212dcd App: decouple Instance/Configuration, move to client (anonimal)
18f50af App: configure Instance upon construction (anonimal)
de8ef03 App: use exception dispatcher for config/init (anonimal)
a522cb1 App: separate Instance start/stop from daemon singleton (anonimal)
@anonimal anonimal deleted the app branch November 2, 2017 22:41
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