1. Sep 21, 2016
  2. Sep 20, 2016
  3. Sep 19, 2016
  4. Sep 18, 2016
  5. Sep 16, 2016
  6. Sep 15, 2016
  7. Sep 14, 2016
  8. Sep 13, 2016
  9. Sep 11, 2016
  10. Sep 08, 2016
  11. Sep 07, 2016
  12. Sep 06, 2016
  13. Sep 05, 2016
  14. Sep 03, 2016
  15. Sep 02, 2016
  16. Sep 01, 2016
  17. Aug 31, 2016
  18. Aug 30, 2016
  19. Aug 29, 2016
    • Nipunn Koorapati's avatar
      Make the block header struct's internals private (#2000) · 4389742c
      Nipunn Koorapati authored and Arkadiy Paronyan's avatar Arkadiy Paronyan committed
      * Make the block header struct's internals private
      
      Currently, this involves a lot of explicit cloning, but we
      could migrate the return types of the get_* functions to
      be copies rather than references since they are mostly copy
      types anyway.
      
      I opted to eliminate the constructor in favor of using
      Default::default() plus calling a bunch of setters. This
      is similar to the model that a Google Protobuf client uses
      and I think it looks fine.
      
      * Drop some unnecessary cloning by comparing references
      
      * Fix compiler errors from callsites in tests.
      4389742c