1. 19 Mar, 2019 7 commits
    • Philippe Wang's avatar
      add some code documentation · d5bf06ff
      Philippe Wang authored
      	modified:   src/lib_client_base_unix/client_main_run.mli
      d5bf06ff
    • Philippe Wang's avatar
      rebase on master · ea997b54
      Philippe Wang authored
      ea997b54
    • Philippe Wang's avatar
      add some comments · 2188d3c3
      Philippe Wang authored
      2188d3c3
    • Philippe Wang's avatar
      simplifications · 7966e900
      Philippe Wang authored
      7966e900
    • Philippe Wang's avatar
      remove useless maps · d99603af
      Philippe Wang authored
      d99603af
    • Philippe Wang's avatar
    • Philippe Wang's avatar
      > B7: Functorize `Client_main_run` and use it for the signer · fbf4c849
      Philippe Wang authored
      > ----------------------------------------------------------
      >
      > ### Context:
      >
      > The `Client_main_run` module provides a main loop that is used to share the parsing of global options and some  initialization code. This is not flexible enough, as it fixes the set of global options, to a set that only makes sense for the `tezos-client`. As a result, the baker uses the module and has options that make no sense (e.g. `-block`) and the signer duplicates the whole module just to have its own set of options.
      >
      >
      > ### Task:
      >
      > Turn the `run` function into a functor in order to parameterize over some specific global options and initialization code. Deduplicate the code in the signer to use the functor. This task may imply refactoring other modules.
      
      Comments: Eventually I didn't functorize. In our case (task B7), the
      set of functions that would benefit from being in a functor is a set
      of one single function. Therefore, it's (at least visually) lighter
      *not* to use a functor, but instead simply pass the module as an
      argument of that single function.
      fbf4c849
  2. 18 Mar, 2019 4 commits
  3. 15 Mar, 2019 5 commits
  4. 12 Mar, 2019 3 commits
  5. 08 Mar, 2019 1 commit
  6. 06 Mar, 2019 5 commits
  7. 05 Mar, 2019 6 commits
  8. 28 Feb, 2019 5 commits
  9. 27 Feb, 2019 2 commits
  10. 26 Feb, 2019 2 commits