Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

validate file size and hash after downloading #1283

Open
wants to merge 75 commits into
base: master
Choose a base branch
from

Conversation

joecaswell
Copy link
Contributor

fixes #1276

@joecaswell joecaswell force-pushed the jc/verify-download-hash branch 2 times, most recently from 8b7aa76 to a3da2cf Compare March 16, 2022 01:32
src/blockchain_worker.erl Outdated Show resolved Hide resolved
src/blockchain_worker.erl Show resolved Hide resolved
src/blockchain_worker.erl Show resolved Hide resolved
src/blockchain_worker.erl Outdated Show resolved Hide resolved
src/blockchain_worker.erl Outdated Show resolved Hide resolved
evanmcc and others added 8 commits June 3, 2022 15:30
Fix the core test suites for great confidence
Previously all the h3->region lookups would be invalidated when any
chain var was changed. This was very expensive when unrelated vars
changed.

This patch changes things so that the lookup is keyed by the hash of the
h3 region binaries, so as long as those do not change the cache should
not be invalidated. It also adds caching for the h3 region binary hashes
and for the h3 binaries themselves.
jadeallenx and others added 30 commits June 23, 2022 16:14
- Simple tests and cleanup
- Update for proto compliance
- Fix coinbase token test
- Review cmt, rename to total_amounts
- Fix and extend multi token payment test
- Extend payment_v2 SUITE
- Add token_version
- Update new payment conditions
- Update token SUITE
- Deprecate security_exchange_v1 behind var
- Add balance-clearing for multi-coin
- Add balance clearing for tokens_v2
- Return better failure error on insufficient funds
- Handle credit_account for new style entries
- Add more verbose var comments
- Add txn support for subnetworks
- Add network rewards
- Add some validations for add_subnetwork txn
- Add blockchain_ledger_subnetwork_v1 scaffolding
- Funs to add subnetworks to ledger
- Add more validation logic for add_subnetwork
- Follow premine semantics
- Add absorb for add subnetwork txn
- Add blockchain_subnetwork_SUITE
- Add a failing add_subnetwork test
- Add more checks to add_subnetwork_test
- Update subnetwork rewards
- Strip rewards metadata, clean dialyzer
- Add test for subnetwork rewards
- Another extra validation check for adding subnet
Add function to convert B58 keypair to seed words
bugfix for removing gateway from h3dex
Co-authored-by: Jeff Grunewald <[email protected]>
dialyzer fix for different ledger fetch path
handling txn fees in balance clearing
Fix ledger context leaks in `poc_receipts_v1` and `rewards_v2`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Snapshot download does not verify file size or hash