forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 111
feat(zcoin): ARRR WASM implementation #1957
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
Merged
Merged
Changes from all commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
9624b52
save dev state — impl get_latest_block
borngraced 74475d4
save dev state — impl insert_block
borngraced 0df0b74
save dev state — impl rewind_to_height
borngraced 82ea381
save dev state — impl with_blocks
borngraced e143d36
save dev state — impl some unit tests
borngraced aa890a4
minor changes
borngraced 4187ca9
impl simple unit test for with_blocks
borngraced ecca8ea
save dev state
borngraced 02af3d5
save dev state — validate_blocks and scan_cached_block porting succes…
borngraced 00b0ec6
Merge remote-tracking branch 'origin/dev' into blockdb_indexeddb_storage
borngraced af2b1d7
port scan_cached_block and validate_blocks to mm2
borngraced e039d56
save dev state
borngraced fbb61ea
save dev state — apply fixes from librustzcash
borngraced 6fc8697
save dev state — refactor wallet db storage module
borngraced 67c30b4
save dev state — fix linting
borngraced fcce1c6
walletdb — impl block_height_extrema, get_block_hash, get_tx_height
borngraced 67102ef
walletdb — impl get_balance_at, get_memo
borngraced 1dbb508
walletdb — impl get_commitment_tree, get_witnesses
borngraced 7de42b1
refactor zcoin storage error
borngraced 020b47c
walletdb — impl get_nullifiers
borngraced 97a10e9
save dev state
borngraced 0e0915c
save dev state — use BigInt for i64 values
borngraced cd6ad5f
walletdb — impl select_spendable_notes
borngraced 573b52f
walletdb — save dev state (advance_by_block wip)
borngraced b3c1347
cleanup for overall impls
borngraced 5c3e589
Merge remote-tracking branch 'origin/dev' into blockdb_indexeddb_storage
borngraced c25a34a
cleanup for overall impls
borngraced 2da2e2c
fix wasm clippy warnings
borngraced b80bbc3
walletdb — implemented put_received_note && insert_witness
borngraced af1e88f
walletdb — implemented prune_witnesses
borngraced 7d434a7
fix unit tests
borngraced 1c4df5d
walletdb — impl update_expired_notes
borngraced 24774ad
walletdb — impl advance_by_block
borngraced b908555
fix clippy warning
borngraced 23e8bc7
save dev state
borngraced 920ca89
fix review notes and add doc comments
borngraced 4396023
refactor indexeddb TableSignature TABLE_NAME
borngraced 909c1d7
fix failing blockdb tests
borngraced c4f44bb
fix review notes
borngraced 6f3dade
walletdb — finished WalletWrite and WalletRead implementations for in…
borngraced 0a50ab3
walletdb — cleanup after self review round 1
borngraced 7743f14
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 8cd1cc3
fix conflicts
borngraced 4d708eb
implement init walletdb for indexedddb
borngraced 5af48d8
fix blockdb unit tests
borngraced 31737e3
save dev state — test_intialize_db_impl
borngraced f2cab39
save dev state
borngraced 7004e70
impl test_intialize_wallet_db_impl
borngraced c5dc508
walletdb - implement all init unit tests
borngraced 93cba48
fix fmt warning
borngraced 40d9735
save dev state - implementing test_valid_chain_state
borngraced 34e8940
save dev state
borngraced 60315a3
save dev state - impl test_valid_chain_state
borngraced a56e802
walletdb - implemented all chain tests!
borngraced 62efac1
fix wasm clippy warning
borngraced 653b4e8
save dev state
borngraced ead00e0
Merge branch 'zcoin_storage' of github.com:KomodoPlatform/komodo-defi…
borngraced ccc45df
save dev state
borngraced 641120b
save dev state
borngraced 4d58482
cleanup
borngraced 45aa2f7
minor changes
borngraced 54f6dba
refactor wams mod
borngraced 62aa5fa
save dev state
borngraced 8fbd911
save dev state
borngraced ad888e7
save dev state
borngraced 55a62a3
minor changes
borngraced 9dd53f1
fix cargo toml
borngraced eb74f06
minor fix and impl is_tx_imported
borngraced f7b03d0
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced e156699
fix merge conflicts
borngraced 14c1c68
fix review notes
borngraced dc1d7d4
fix review notes
borngraced 230d4d5
fix review notes
borngraced 3b8920f
remove unnecessary clone
borngraced cf6891b
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 532d901
use LocalTxProver::from_bytes directly for creating LocalTxProver
borngraced 3c01ae0
update librustzcash crate
borngraced 92e7014
merge branch and fix conflicts
borngraced 8a7cb8c
fix DbInstance trait impl for zcoin storages
borngraced a207ea8
lock librustzcash crate
borngraced 9ac0af8
fix review notes
borngraced bbe0461
minor fixes
borngraced c1ed8cb
fix review notes
borngraced b52ee2b
open connection in async blocking and fix review notes
borngraced 5382464
fix review notes
borngraced 35b5a81
add comment for walletdb wasm tx tests
borngraced 272f46b
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 1a64a9c
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 3d80b3a
feat(zcoin): implement zcoin/pirate transport layer for WASM (#1996)
borngraced d45246c
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced e1bc113
fix merge conflicts
borngraced b2187c9
update walletdb unit tests and delete wagyu-zcash-parameters dep
borngraced 05eeb03
fix clippy
borngraced c5df161
fix unit tests
borngraced 6d45c03
linting
borngraced a3a3a34
fix typo/doc comments
borngraced f80a017
Merge branch 'dev' into zcoin_storage
borngraced b011fea
fix blocks db deadlock
borngraced cd8f768
impl construct_block_range_requests o fetch block ranges efficiently
borngraced 96a4544
handle block range requests concurrently
borngraced 8c5e185
update PIRATE_LIGHTWALLETD_URLS for unit test
borngraced 32e991e
make get_block_range_wrapper wasm target only
borngraced c2354ca
revert test_rewind_to_height_impl
borngraced caafcf1
improve block_height_extrema and rewind_to_height
borngraced 4c87d69
minor changes _skip_sync_params in ZcoinRpcMode::Light
borngraced c63316f
add skip_sync_params to sync_params and other minor changes
borngraced 9059326
improve and remove unnecessary cloning from scan_validate_and_update_…
borngraced f9494fd
Merge branch 'dev' into zcoin_storage
borngraced 3f5ff56
make z_p2sh_spend wasm compatible
borngraced f28d04d
allow accept_gzip compression for light rpc client
borngraced beebc6a
improve ZRpcOps impls
borngraced 69ddb50
some changes to deps
borngraced f4f225c
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced a336ebc
update test_transport to use assert and cargo lock file
borngraced 21d6cf4
Merge branch 'dev' into zcoin_storage
borngraced b12f2dd
utilise new cursor api and fix big bug in impl :)
borngraced 982f003
update cursor usage
borngraced 665e80c
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 403365b
handle rewind to height for blockdb as it's done for walletdb
borngraced ba79025
Merge remote-tracking branch 'origin/dev' into zcoin_storage
borngraced 3dd4e3c
fix merge conflict and minor changes
borngraced b28e3fa
make WithdrawTask wasm target
borngraced 5664a64
fix bug in WASM get_spendable_notes to properly scan and create spend…
borngraced 6075733
add features = ["wasm-bindgen"] for rand crate in mm2_bitcoin
borngraced File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.