Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(zcoin): allow ARRR to sync using a start date #1922

Merged
merged 46 commits into from
Sep 7, 2023

Commits on Jul 19, 2023

  1. save dev state — impl LightWalletSyncParams for block synchronization…

    …s optimization
    
    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    e7b459b View commit details
    Browse the repository at this point in the history
  2. save dev state — add docs and minor changes

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    eefe9d4 View commit details
    Browse the repository at this point in the history
  3. save dev state — more changes to get_tree_state and coin params

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    7585df2 View commit details
    Browse the repository at this point in the history
  4. save dev state — minor changes

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    f260b7a View commit details
    Browse the repository at this point in the history
  5. save dev state — minor changes to fnand variable namings

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    56621c7 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. fix review notes

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    aabd924 View commit details
    Browse the repository at this point in the history
  2. fix import error

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    0de4fbf View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. use appropriate error handling instead of unwrap and minor changes to…

    … calculate_starting_height_from_date and WalletDbShared init
    
    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    5e4ab78 View commit details
    Browse the repository at this point in the history
  2. rename buffer -> avg_blocktime

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    8e9f78a View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. fix review notes — refactoring

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    3693272 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. remove get_minimum_header_from_cache

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    6b33b54 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    c4b0426 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. fix buffer calculation and minor changes

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    58748d9 View commit details
    Browse the repository at this point in the history
  2. add SyncConfError error type for UtxoConfError

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    b00ee84 View commit details
    Browse the repository at this point in the history
  3. rename LightClientSyncParams to SyncStartPoint

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    7dde1c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. remove ZcoinRpcError and fix review notes

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    3edb9de View commit details
    Browse the repository at this point in the history
  2. test github zcash param workflow for winx86 and linux

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    dd55663 View commit details
    Browse the repository at this point in the history
  3. test github zcash param workflow for winx86

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    bf529d5 View commit details
    Browse the repository at this point in the history
  4. add wget64 install path

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    0aec022 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    86e7b50 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. fix review notes and refactored WalletDbShared initialization

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    b7ebdaf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea2a5f3 View commit details
    Browse the repository at this point in the history
  3. ignore activate_pirate_light

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    d975aeb View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. allow activate_z_coin_light and ignore activate_pirate_light

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    5c62f87 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. remove dead code and add doc comment for checkpoint_block_from_height fn

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    4cd0c7c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. remove GrpcError from WalletDbError

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    617d595 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. extend sync feature to modified sync height if it's pre-sapling and i…

    …nclude additional message in activation response
    
    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    a79dff0 View commit details
    Browse the repository at this point in the history
  2. fix wasm lint

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4b2b3bb View commit details
    Browse the repository at this point in the history
  3. replaced additional_info with FirstSyncBlock

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    4f6ee57 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. minor fix

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    cdfa1a5 View commit details
    Browse the repository at this point in the history
  2. fix older sync date bug

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    d360972 View commit details
    Browse the repository at this point in the history
  3. fix wasm lint

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    ed2279d View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. use sapling_activation_height if current block height is lesser than …

    …blocks_to_scan
    
    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    2d4eb0e View commit details
    Browse the repository at this point in the history
  2. fix new sync height

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    f5ca4f7 View commit details
    Browse the repository at this point in the history
  3. fix integration test

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    3269c8e View commit details
    Browse the repository at this point in the history
  4. make first_sync_block Optional in ZCoinActivationResult struct

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    8e2e622 View commit details
    Browse the repository at this point in the history
  5. polish

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 18, 2023
    Configuration menu
    Copy the full SHA
    bda9470 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2023

  1. impl enable_z_coin_light_with_changing_height unit test

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 21, 2023
    Configuration menu
    Copy the full SHA
    f0cc28b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. fix non-blockers

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    b7ea7df View commit details
    Browse the repository at this point in the history
  2. use flatten in get_earliest_block

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    a0fe7ea View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. using alias for ZcoinRpcMode::Light and use replace info! with log! i…

    …n unit test.
    
    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    3470c93 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. add alias for electrum_servers

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    de50159 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2023

  1. Merge remote-tracking branch 'origin/dev' into zcoin_light_client_opt

    # Conflicts:
    #	mm2src/coins/utxo/utxo_builder/utxo_coin_builder.rs
    #	mm2src/coins/z_coin.rs
    #	mm2src/coins/z_coin/storage/walletdb/mod.rs
    #	mm2src/mm2_main/tests/integration_tests_common/mod.rs
    #	mm2src/mm2_main/tests/mm2_tests/z_coin_tests.rs
    #	mm2src/mm2_test_helpers/src/for_tests.rs
    borngraced committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    75a807a View commit details
    Browse the repository at this point in the history
  2. fix merge conflicts

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Sep 4, 2023
    Configuration menu
    Copy the full SHA
    ca0dbdc View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. add doc comments

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    04b8f6c View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. add remaining doc comments

    Signed-off-by: borngraced <samuelonoja970@gmail.com>
    borngraced committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1b7c689 View commit details
    Browse the repository at this point in the history