Skip to content
  1. Oct 09, 2019
  2. Oct 08, 2019
  3. Oct 07, 2019
  4. Oct 04, 2019
  5. Oct 03, 2019
    • cheme's avatar
      e86fdd2b
    • cheme's avatar
      2497575f
    • Gavin Wood's avatar
      Split off TypeId so as not to pull in sr-io (#3740) · 73104d3a
      Gavin Wood authored
      * Add type-id
      
      * Builds with std now.
      
      * Fix for cargo
      
      * Remove unneeded stuff
      
      * Move TypeId.
      73104d3a
    • Wei Tang's avatar
      Cumulative fixes to make working with consensus-pow easier (#3617) · ddd7368b
      Wei Tang authored
      
      
      * consensus-pow: add difficulty data to auxiliary
      
      * Timestamp api
      
      * Implement FinalityProofProvider for ()
      
      * Add DifficultyApi
      
      * Remove assumption that Difficulty is u128
      
      * Use a separate trait for add instead of hard-code it as Saturating
      
      * Some convenience functions to work with PowVerifier
      
      * Try to fix mining unstability
      
      * Fix generic resolution
      
      * Unused best_header variable
      
      * Fix hash calculation
      
      * Remove artificial sleep
      
      * Tweak proposer waiting time
      
      * Revert sleep removal
      
      The reason why it was there is because when mine_loop returns, it means an error
      happened. In that case, we'd better sleep for a moment before trying again,
      because immediately trying would most likely just fail.
      
      * Pass sync oracle to mining
      
      So that it does not mine when major syncing
      
      * Expose build time as a parameter
      
      Instead of hardcode it as previously 100ms.
      
      * Update lock file
      
      * Fix compile
      
      * Support skipping check_inherents for ancient blocks
      
      For PoW, older blocks are secured by the work, and can mostly be considered to
      be finalized. Thus we can save both code complexity and validation time by
      skipping checking inherents for them.
      
      * Move difficulty fetch function out of loop
      
      To make things faster
      
      * Remove seed from mining
      
      Each engine can use its own Rng source.
      
      * Better comments
      
      * Add TotalDifficulty definition for U256 and u128
      
      * Update core/consensus/pow/src/lib.rs
      
      Co-Authored-By: default avatarAndré Silva <[email protected]>
      
      * Rename TotalDifficulty::add -> increment
      
      * Use SelectChain to fetch the best header/hash
      
      * Update lock file
      ddd7368b
    • Xiliang Chen's avatar
      Minor fixes (#3751) · 8492a268
      Xiliang Chen authored and Shawn Tabrizi's avatar Shawn Tabrizi committed
      * fix warning
      
      * use compact for balance type
      
      * bump version
      8492a268
    • Yash Garg's avatar
      Update README.adoc (#3744) · f04d7de1
      Yash Garg authored and Shawn Tabrizi's avatar Shawn Tabrizi committed
      
      
      * Update README.adoc
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      
      * Update README.adoc
      
      Co-Authored-By: default avatarjoe petrowski <[email protected]>
      f04d7de1