1. Jun 04, 2018
    • Niklas Adolfsson's avatar
      Update `license header` and `scripts` (#8666) · 98b7c071
      Niklas Adolfsson authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Update `add_license` script
      
      * run script
      
      * add `remove duplicate lines script` and run it
      
      * Revert changes `English spaces`
      
      * strip whitespaces
      
      * Revert `GPL` in files with `apache/mit license`
      
      * don't append `gpl license` in files with other lic
      
      * Don't append `gpl header` in files with other lic.
      
      * re-ran script
      
      * include c and cpp files too
      
      * remove duplicate header
      
      * rebase nit
      98b7c071
  2. Jun 02, 2018
  3. Jun 01, 2018
    • Wei Tang's avatar
      Remove public node settings from cli (#8758) · 79eb8f7a
      Wei Tang authored and Andrew Jones's avatar Andrew Jones committed
      * Remove public node related settings
      
      * Fix tests
      
      * Unwrap accounts provider in all rpc apis
      
      * Unwrap AccountProvider in all cli places
      
      * Fix rpc tests
      79eb8f7a
    • Benjamin Kampmann's avatar
      Custom Error Messages on ENFILE and EMFILE IO Errors (#8744) · 0ebcc200
      Benjamin Kampmann authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Custom Error Messages on ENFILE and EMFILE IO Errors
      
      Add custom mapping of ENFILE and EMFILE IO Errors (Failure because of missing system resource) right when chaining ioError into ::util::Network::Error to improve Error Messages given to user
      
      Note: Adds libc as a dependency to util/network
      
      * Use assert-matches for more readable tests
      
      * Fix Wording and consistency
      0ebcc200
    • Afri Schoedon's avatar
      CI: Fixes for Android Pipeline (#8745) · 27f3f42c
      Afri Schoedon authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * ci: Remove check for shared libraries in gitlab script
      
      * ci: allow android arm build to fail
      27f3f42c
    • Pierre Krieger's avatar
      Remove NetworkService::config() (#8653) · dab967ac
      Pierre Krieger authored and Marek Kotewicz's avatar Marek Kotewicz committed
      dab967ac
    • Jim Posen's avatar
      Fix XOR distance calculation in discovery Kademlia impl (#8589) · 485d4aa8
      Jim Posen authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * network-devp2p: Test for discovery bucket insertion.
      
      All test values are randomly generated and the assertions are checked manually.
      Test fails because distance metric is implemented incorrectly.
      
      * network-devp2p: Fix discovery distance function.
      
      The Kademlia distance function (XOR) was implemented incorrectly as a population count.
      
      * network-devp2p: Refactor nearest_node_entries to be on instance.
      
      Optimizations are possible with more access to the discovery state.
      
      * network-devp2p: Fix loss of precision in nearest_node_entries.
      
      * network-devp2p: More efficient nearest node search.
      
      The discovery algorithm to identify the nearest k nodes does not need to scan
      all entries in all buckets.
      485d4aa8
    • David's avatar
      Print warnings when fetching pending blocks (#8711) · 799ae29a
      David authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Lots of println to figure out what eth_getBlockByNumber does/should do
      
      * Remove debugging
      
      * Print warnings when fetching pending blocks
      
      When calling `eth_getBlockByNumber` with `pending`, we now print a deprecation warning and:
      
      * if a pending block is found, use it to respond
      * if no pending block is found, respond as if if was a request for `Latest`
      
      Addresses issue #8703 (not sure if it's enough to close it tbh)
      799ae29a
  4. May 31, 2018
  5. May 30, 2018
  6. May 29, 2018
  7. May 28, 2018
  8. May 25, 2018
  9. May 24, 2018
  10. May 23, 2018
  11. May 22, 2018
  12. May 21, 2018
  13. May 20, 2018
    • David's avatar
      Remove the Keccak C library and use the pure Rust impl (#8657) · 9e719f08
      David authored and Marek Kotewicz's avatar Marek Kotewicz committed
      * Add license and readme
      
      * Use pure rust implementation
      
      * Bump version to 0.1.1
      
      * Don't use C, prefer the pure Rust implementation
      
      * Add test for `write_keccak`
      
      * Bump version
      
      * Add benchmarks
      
      * Add benchmarks
      
      * Add keccak_256, keccak_512, keccak_256_unchecked and keccak_512_unchecked – mostly for compatibility with ethash
      
      * Remove failed git merge attempt from external git repo
      Cargo.lock updates
      
      * whitespace
      
      * Mark unsafe function unsafe
      
      * Unsafe calls in unsafe block
      
      * Document unsafety invariants
      
      * Revert unintended changes to Cargo.lock
      9e719f08