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

Wrong pr #619

Closed
wants to merge 68 commits into from
Closed

Wrong pr #619

wants to merge 68 commits into from

Conversation

biryukovmaxim
Copy link
Collaborator

No description provided.

coderofstuff and others added 30 commits June 25, 2024 18:56
Co-authored-by: Ori Newman <[email protected]>
Co-authored-by: Ori Newman <[email protected]>
Co-authored-by: Ori Newman <[email protected]>
apply_proof only inserts parent entries for a header from the proof into
the relations store for a level if there was GD data in the old stores
for that header.

This adds a check to filter out parent records not in relations store
…cient root

This happens when there's not enough headers in the pruning proof but it satisfies validation
relations.get_parents on GD gets extra parents that aren't in the
current GD store. so get_blue_work throws an error

next, ORIGIN was mising from the GD so add that
The new prefixes added are compatible with the old version. We don't want to trigger a db delete with this change
This prevents the case where new root is an anticone of old root
coderofstuff and others added 24 commits August 23, 2024 19:43
Add back the panic if we couldn't find the required block and our headers are done

Add explanation in comment for why trying anyway if finished_headers is acceptable
explain logic for the two root calculation
When building pruning point proof ghostdag data, ignore blocks before root
commit 3820fdd
Merge: 5b59ea9 c839a9d
Author: Michael Sutton <[email protected]>
Date:   Thu Aug 29 22:09:09 2024 +0000

    Merge branch 'dev' into bcm-parallel-processing

commit 5b59ea9
Author: max143672 <[email protected]>
Date:   Tue Jun 25 19:28:11 2024 +0300

    suppress warnings

commit ed3f76b
Author: max143672 <[email protected]>
Date:   Tue Jun 25 15:27:17 2024 +0300

    style: fmt

commit 0e4629d
Author: max143672 <[email protected]>
Date:   Tue Jun 25 15:26:07 2024 +0300

    add bench with custom threadpool

commit 5dc827b
Author: max143672 <[email protected]>
Date:   Tue Jun 25 15:20:28 2024 +0300

    fix clippy

commit 1e6fd8e
Author: max143672 <[email protected]>
Date:   Tue Jun 25 11:51:54 2024 +0300

    refactor check_scripts fn, fix tests

commit 5b76a64
Author: max143672 <[email protected]>
Date:   Mon Jun 24 22:52:23 2024 +0300

    apply par iter to `check_scripts`

commit 93c5b1a
Author: max143672 <[email protected]>
Date:   Mon Jun 24 01:16:51 2024 +0300

    remove scc

commit de650c3
Author: max143672 <[email protected]>
Date:   Mon Jun 24 01:07:00 2024 +0300

    rollback rwlock and indexmap.

commit 5f3fe02
Author: max143672 <[email protected]>
Date:   Mon Jun 24 00:37:12 2024 +0300

    dont apply cache

commit 258b40f
Author: max143672 <[email protected]>
Date:   Sun Jun 23 14:39:59 2024 +0300

    use hashcache

commit 3edd435
Author: max143672 <[email protected]>
Date:   Sun Jun 23 00:28:22 2024 +0300

    use concurrent cache

commit 0c2acda
Author: max143672 <[email protected]>
Date:   Sun Jun 23 00:08:52 2024 +0300

    use upgreadable read

commit 91364d1
Author: max143672 <[email protected]>
Date:   Sun Jun 23 00:06:52 2024 +0300

    fix benches

commit d3d0716
Author: max143672 <[email protected]>
Date:   Sat Jun 22 11:54:43 2024 +0300

    fix par versions

commit b756df4
Author: max143672 <[email protected]>
Date:   Fri Jun 21 22:39:28 2024 +0300

    use cache per iteration per function

commit cfcd7e1
Author: max143672 <[email protected]>
Date:   Fri Jun 21 21:38:07 2024 +0300

    benches are implemented

commit 25f1087
Author: max143672 <[email protected]>
Date:   Fri Jun 21 20:22:14 2024 +0300

    sighash reused trait
commit 09f1443
Merge: 8d042b2 864aaf6
Author: coderofstuff <[email protected]>
Date:   Sun Sep 1 18:54:03 2024 -0600

    Merge branch 'dev' into gd-optimization

commit 8d042b2
Author: coderofstuff <[email protected]>
Date:   Sun Sep 1 11:03:04 2024 -0600

    Revert rename to old root

commit 18158e6
Author: coderofstuff <[email protected]>
Date:   Thu Aug 29 20:07:15 2024 -0600

    Comment fixes and small refactor

commit 66d4ebe
Author: coderofstuff <[email protected]>
Date:   Thu Aug 29 20:00:10 2024 -0600

    Use blue_work for find_selected_parent_header_at_level
commit afbcf9e
Author: starkbamse <[email protected]>
Date:   Fri Sep 6 05:40:53 2024 +0200

    Change directory back to repo root & Fix Rust v1.81 lints (kaspanet#545)

    * Change directory back to repodir

    Change directory back to repodir after building toolchain

    * Clippy

    * Update crypto/txscript/src/caches.rs

    Co-authored-by: Maxim <[email protected]>

    * Update crypto/txscript/src/caches.rs

    * rename `is_none_or` -> `is_none_or_ex` to avoid conflict with future std

    * remove `use std::mem::size_of` wherever possible (added to std prelude recently)

    ---------

    Co-authored-by: Maxim <[email protected]>
    Co-authored-by: Michael Sutton <[email protected]>

commit 06a874f
Author: starkbamse <[email protected]>
Date:   Thu Sep 5 18:51:04 2024 +0200

    Deprecate zigbuild and glibc in favor of static musl binaries for Linux builds. (kaspanet#541)

    * CTNG Config file, Musl build instructions

    - Crosstools-ng configuration file for quick reproducable builds on musl.
    - Instructions for how to build RK on musl.

    * Test

    * Update ci.yaml

    * Test crosstools install

    * Cache ct-ng build

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Fix error in command

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Comments, naming

    * Update ci.yaml

    * Update ci.yaml

    * Update ci.yaml

    * Merge new musl build with old CI, Release builds

    - Merges the old CI script with the new musl build.
    - Update deploy.yaml to use updated musl toolchain to build musl target for linux.

    * Move to workspace

    * Delete musl-build.md

    * Lock to ctng version 1.26

    * Checkout fix

    * Revert master change

    * Indentation

    * Revert "Indentation"

    This reverts commit 6a7e6c0.

    * Revert "Revert master change"

    This reverts commit 1a047e4.

    * Update ci.yaml

    * Force mimalloc

    * Compress into script

    * Fix typo

    * Update build.sh

    * Replace bloaded config file

    * Update build.sh

    * Update build.sh

    * Source script

    * Revert vendor

    * Update defconfig

    * Update defconfig

    * Update defconfig

    * Update build.sh

    * Update build.sh

    * Update build.sh

    * Update build.sh

    * Update defconfig

    * Delete defconfig

    * Create defconfig

    * Update build.sh

    * Deprecate config, use default preset

    * Update build.sh

    * Add preset hash logic in script

    * Move preset hash update

    Move preset hash update after openssl build

    * Use openssl crate

    * Update exports, cache config

    * Remove spaces in export command

    * Update names

    Should not trigger cache

    * Move source preset

    * CD before preset

    * Add comment

    Adds comment and should invalidate cache.

commit b04092e
Author: aspect <[email protected]>
Date:   Thu Sep 5 18:00:24 2024 +0300

    add proxy limit field to sysinfo (kaspanet#544)

commit f866dfa
Author: Michael Sutton <[email protected]>
Date:   Thu Sep 5 14:04:16 2024 +0300

    Various miscellaneous changes towards 0.15.1 RC2 (kaspanet#543)

    * infrequent logs should be debug

    * cleanup some todos

    * when a network starts, genesis has a body, so there's no need for a special exception

    * remove unneeded method and add an error just in case it is added in the future

    * count and log chain disqualified blocks

    * count and log mempool evictions

    * bump version to 0.14.5
@biryukovmaxim biryukovmaxim changed the title Vc cv254 Wrong pr Dec 24, 2024
# Conflicts:
#	.github/workflows/deploy.yaml
#	Cargo.lock
#	Cargo.toml
#	consensus/benches/check_scripts.rs
#	consensus/core/src/hashing/sighash.rs
#	consensus/src/consensus/mod.rs
#	consensus/src/consensus/services.rs
#	consensus/src/consensus/storage.rs
#	consensus/src/model/stores/ghostdag.rs
#	consensus/src/model/stores/mod.rs
#	consensus/src/pipeline/body_processor/processor.rs
#	consensus/src/pipeline/header_processor/processor.rs
#	consensus/src/pipeline/virtual_processor/processor.rs
#	consensus/src/processes/ghostdag/protocol.rs
#	consensus/src/processes/pruning.rs
#	consensus/src/processes/pruning_proof/mod.rs
#	consensus/src/processes/sync/mod.rs
#	consensus/src/processes/transaction_validator/tx_validation_in_utxo_context.rs
#	crypto/txscript/src/data_stack.rs
#	crypto/txscript/src/lib.rs
#	crypto/txscript/src/opcodes/mod.rs
#	crypto/txscript/src/standard/multisig.rs
#	database/src/access.rs
#	mining/src/mempool/check_transaction_standard.rs
#	rpc/wrpc/server/Cargo.toml
#	utils/src/option.rs
#	wallet/pskt/src/pskt.rs
@biryukovmaxim biryukovmaxim reopened this Dec 24, 2024
@biryukovmaxim biryukovmaxim deleted the VCCv254 branch December 24, 2024 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants