Skip to content
Branch: VRF-election
Commits on Jan 28, 2020
  1. Add logging to get statistics

    HoOngEe committed Dec 17, 2019
  2. Remove needless weight data from Validator

    HoOngEe committed Dec 16, 2019
    In randomized leader election environment, CodeChain doesn't need
    to manage weight values. Previously, it is utilized to guarantee
    stake-proportional leader election but now the property comes from
    the nature of the probability model.
  3. Fix the test code

    HoOngEe committed Dec 11, 2019
  4. Switch jail function by CommonParams

    HoOngEe committed Dec 11, 2019
  5. Modify Backup and Restore

    HoOngEe committed Dec 11, 2019
  6. Fix testhelper types

    HoOngEe committed Dec 6, 2019
  7. Change the possible tendermint states

    HoOngEe committed Dec 3, 2019
    To accept multiple proposals and wait for their imports, I introduced
    a new type for TendermintState::Propose.
  8. Replace request_proposal_to_any to request_proposal_to_superiors

    HoOngEe committed Dec 2, 2019
  9. Introduce randomized leader election to worker

    HoOngEe committed Nov 19, 2019
  10. Get rid of the state variable "proposal"

    HoOngEe committed Jan 17, 2020
    Proposal information is now managed only by vote_collector
  11. Do not wait when empty block is proposed

    HoOngEe committed Jan 17, 2020
    We don't need to wait additional times because in case an empty block
    is generated. Because the nodes should wait fixed timeout in the next
    proposal step.
  12. Introduce verify_seed to Tendermint

    HoOngEe committed Nov 15, 2019
    To verify seed of two consecutive blocks, the function is newly implemented in the Tendermint worker
  13. Modify functionality of vote_collector

    HoOngEe committed Jan 13, 2020
    Previously, vote_collector has been collected only consensusMessage
    information. Now, vote_collect also collects priority information
    for propse steps. That's because priority data should be combined
    to the corresponding consensusMessage data when propagates to peers.
Commits on Jan 17, 2020
  1. Get normalized voting power from the validator set

    HoOngEe committed Nov 14, 2019
  2. Add SeedInfo field to Seal

    HoOngEe committed Nov 15, 2019
  3. Introduce SortitionRound

    HoOngEe committed Nov 11, 2019
  4. Remove an unguaranteed transaction order

    HoOngEe committed Dec 12, 2019
  5. Implement vrf sortition

    HoOngEe committed Nov 4, 2019
  6. Implment seed module

    HoOngEe committed Dec 9, 2019
  7. Implement conversion from Public to standard pubkey

    HoOngEe committed Nov 15, 2019
  8. Implement vrf prove in the keystore and EngineSigner

    HoOngEe committed Nov 7, 2019
  9. Bump the rand version to 0.6.5 to use vrf

    HoOngEe committed Nov 4, 2019
  10. Implement draw function

    HoOngEe committed Oct 31, 2019
    lot function determines the number of elections with VRF output and binomial_cdf_walk function.
Commits on Dec 13, 2019
  1. Implement binomial cdf walk function

    HoOngEe committed Oct 29, 2019
    This function is used in the sortition algorithm to determine the number of elections.
Commits on Dec 12, 2019
  1. Fix the changeParams test

    HoOngEe authored and mergify committed Dec 12, 2019
    Removed a code overlap and fixed an incorrect test name
  2. Move rlp_derive and rlp_compress to the other repository

    sgkim126 authored and mergify committed Dec 11, 2019
Commits on Dec 11, 2019
  1. Saturate rc to -1

    sgkim126 committed Dec 8, 2019
  2. Cleanup MemoryDB

    sgkim126 committed Dec 8, 2019
  3. Remove HashDB::emplace()

    sgkim126 committed Dec 8, 2019
    The emplace method is hard to use safely. The HashDB's key must be the
    blake2b hash of the value, but it might not be when the user uses
    emplace because the emplace passes the key.
  4. Fix wrong comments

    sgkim126 committed Dec 8, 2019
  5. Reorder the methods of MemoryDB to correspond to HashDB's

    sgkim126 committed Dec 8, 2019
  6. Cleanup ArchiveDB::keys()

    sgkim126 committed Dec 8, 2019
    And it adds an assetion that the reference count of the overlay cannot
    be less than -1.
  7. Add a comment for height change functions about the `step` field

    majecty committed Dec 6, 2019
    Changing the height is a light action. Height change functions change
    all fields in Tendermint Worker except the `step` field.
    `move_to_step` function changes the `step` field and does many other
    things, such as sending the current state to other peers, requesting
    other peers regarding votes, starting a timer, etc.
    The side-effect of the `move_to_step` function is that the
    `move_to_the_next_height` function and the `jump_to_height` function
    do not call `move_to_step`. The caller of the height change functions
    should call the `move_tp_step` function.
Commits on Dec 9, 2019
  1. Extract aggregate_work_info function

    Remagpie committed Dec 5, 2019
Commits on Dec 7, 2019
  1. Refactor term_common_params method

    foriequal0 authored and mergify committed Nov 19, 2019
You can’t perform that action at this time.