apfitzge
49411aaae0
Feature: Interleaved Snapshot Untar and Indexing - Stage 1 ( #26590 )
...
* Add snapshot_storage_lengths_from_fields
* Add SnapshotUnpacker
* Add SnapshotStorageRebuilder
* Rebuild snapshot storage during unpack
* move snapshot unpacker back into snapshot_utils
* use SerializedAppendVecId in storage rebuilder
* create AccountStorageMap type alias
* Wrap storage and next_append_vec_id in a type
* fixed typo
* move use StorageAndNextAppendVecId
* calculate num_rebuilder_threads more concisely
2022-08-29 13:17:27 -05:00
Brooks Prumo
3c7cd62030
Move pruned_banks_receiver into PrunedBanksRequestHandler ( #27445 )
2022-08-29 13:30:06 -04:00
Steven Luscher
60f3dc5f72
fix: replace tweetnacl impl
...
* Install `@noble/ed25519` and create a shim
* Replace `tweetnacl` with `@noble/ed25519` in `Account` class
* Replace `tweetnacl` with `@noble/ed25519` in `Keypair` class
* Replace `tweetnacl` with `@noble/ed25519` in `PublicKey` class
* Replace `tweetnacl` with `@noble/ed25519` in `Ed25519Program` class
* Replace `tweetnacl` with `@noble/ed25519` in `Transaction` class
* Replace `tweetnacl` with `@noble/ed25519` in versioned `Transaction` class
* Remove `tweetnacl` from project
* Damnit, typedoc.
2022-08-28 12:11:34 -07:00
Nick Frostbutter
ad6b280b0a
[docs] Adding content pages under "developing" section ( #26816 )
...
* feat: added intro to dApps and programs pages
* style: removed whitespaces and updates MD syntax
* fix: spellcheck
* feat: what is rent page
* fix: fix typos and removed whitespaces
* fix: updated terminolgy
* feat: added what is web 3 page
* fix: removed dapps and web3 pages
* feat: added links to the developing sidebar
* fix: updated text based on comments
* fix: fixed link
2022-08-26 21:03:48 -05:00
samkim-crypto
bd88e2a11c
Zk token sdk/batch discrete log ( #27412 )
...
* zk-token-sdk: optimize discrete log search with batch compression
* zk-token-sdk: include batch size as part of discrete log struct
* zk-token-sdk: add a note on discrete log timings
* zk-token-sdk: add upper bound on the number of threads
* zk-token-sdk: minor
* zk-token-sdk: cargo.lock
2022-08-27 06:54:59 +09:00
Michael Vines
d0983c3cf7
Update runtime background hash verifier thread name
2022-08-26 13:44:11 -07:00
Trent Nelson
05fe061a7c
Address RUSTSEC-2022-0051
...
`lz4` to 1.24.0
`lz4-sys` to 1.9.4
2022-08-26 14:30:47 -06:00
kirill lykov
e446c5123e
add use_durable_nonce option ( #27151 )
...
* add use_durable_nonce option
* log creating nonce account in bench-tps
* try get account data in a loop
* Get account with commitment for nonce in bench-tps
* use get_multiple_accounts in bench-tps
* split accounts request into chunks
2022-08-26 22:08:27 +02:00
Brennan Watt
46a48760db
Switch concurrent replay from feature to param ( #27401 )
...
* Switch concurrent replay from feature to param
2022-08-26 12:36:02 -07:00
Steven Luscher
713e86e877
Update rollup script to exclude new secp256k1 and hmac/sha256 dependencies ( #27428 )
...
* fix: repair build script, not to bundle @noble libraries but to keep them as external deps
* chore: remove secp256k1 Typescript types
2022-08-26 12:33:29 -07:00
Jeff Washington (jwash)
cdb699d812
ancient append vecs and cleaning dead slots ( #27353 )
...
cleanup old code
2022-08-26 10:13:41 -07:00
Trent Nelson
14c60bae16
rpc-sts: respect app exit in tx receiver thread
2022-08-26 10:53:21 -06:00
Victor Pontis
900f8a3b2b
explorer: Add information about NFToken NFTs and Collection ( #26716 )
...
This adds NFToken support to the Solana Explorer so that users can see NFToken NFTs and Collections and do some basic /exploring/. NFToken Docs: https://nftoken.so
## Feature Overview
[Loom Video](https://www.loom.com/share/362e24aa66ac4db198b3e014a99235cb )
<img width="1175" alt="CleanShot 2022-07-21 at 12 55 08@2x" src="https://user-images.githubusercontent.com/1319079/180270677-f02c0646-107e-4566-85b7-cd6a9f4b9eac.png ">
<img width="1177" alt="CleanShot 2022-07-21 at 12 55 00@2x" src="https://user-images.githubusercontent.com/1319079/180270686-d376bcba-3477-47ef-8cb0-972ad3b8d22c.png ">
## Code Overview
[Loom Video](https://www.loom.com/share/bdab68e55d73462a9222b105dd2316cb )
2022-08-26 12:49:37 -04:00
Justin Starry
56cebf9da2
Relax keypair ordering restriction for `VersionedTransaction::try_new` ( #27397 )
...
* Relax keypair ordering restriction for VersionedTransaction::try_new
* feedback
2022-08-26 11:25:20 +02:00
Yihau Chen
a19b5c1536
chore: allow test_is_writable_account_cache ignore clippy::get_first ( #27414 )
2022-08-26 15:33:25 +08:00
Will Hickey
5eefc256d6
Fix startup panic if removing accounts directory fails ( #27386 )
...
* Remove contents of accounts directory if deleting the directory fails.
2022-08-25 20:35:12 -05:00
Trent Nelson
b1cff5d740
make fatal log message sound fatal
2022-08-25 21:49:12 +00:00
Tao Zhu
5e71f339c9
Add a SanitizedMessage type that caches writable accounts indexes ( #27317 )
...
* Add a SanitizedMessage type that caches writable accounts indexes
* Add is_writable_account_cache to both SanitizedMessage variants, cache is initialized in constructors
2022-08-25 16:33:41 -05:00
ryleung-solana
b7b03cbb05
Fix quic staked chunking ( #27402 )
2022-08-25 21:10:28 +00:00
Jeff Biseda
d1522fc790
coalesce entries in recv_slot_entries to target byte count ( #27321 )
2022-08-25 13:51:55 -07:00
Steven Luscher
1a836ab4af
[web3.js] Replace sha256 and secp256k1 impls ( #27390 )
...
* fix: replace `@ethersproject/sha2` with `@noble/hashes/sha256`
* fix: replace `secp256k1` with `@noble/secp256k1`
2022-08-25 13:34:11 -07:00
Yihau Chen
c3c1699734
fix test_rpc_subscriptions ( #27394 )
...
* add pubkey to account sender/receiver
* send tx when all subscription ready
* make variables shorter
* add 15 sec timeout for waiting signature/account subscription setup
2022-08-25 20:11:34 +00:00
Brennan Watt
5150877fb3
Attempt to skip redundant startup account verification ( #26999 )
2022-08-25 09:29:57 -07:00
sakridge
5a100ab58e
Add use-quic flag to allow for using quic in program deploy ( #27319 )
2022-08-25 18:26:12 +02:00
kirill lykov
8c81ed0203
add get_multiple_accounts to BenchTpsClient ( #27379 )
2022-08-25 15:44:37 +02:00
Justin Starry
1ccfc65a52
feat: add support for creating version 0 transactions ( #27142 )
...
* feat: add support for version 0 transactions
* chore: feedback
* chore: update VersionedMessage type
* chore: use literals for version getter
* chore: fix lint error
* chore: switch to VersionedMessage.deserialize
2022-08-25 15:42:54 +02:00
samkim-crypto
4c944931c5
zk-token-sdk:add length checks ( #27389 )
...
* zk-token-sdk: add length check for ristretto encodings
* zk-token-sdk: add type check for sigma proofs
2022-08-25 14:22:52 +09:00
Tyera Eulberg
1095cdf436
Fixup docs in sdk to use new clients ( #27362 )
...
Fixup client docs in sdk
2022-08-24 21:29:56 -06:00
carllin
ad6c2d8c5f
Handle VoteStateUpdates for outdated roots bigger than slots in existing VoteState ( #27323 )
...
* Set root to latest vote in tower <= prposed vote state
* fixup tests
* PR comments
* feature gate
2022-08-24 20:42:57 -05:00
Nick Frostbutter
f6de4c6ccf
[docs] added commitment page ( #27265 )
...
feat: added commitment doc
2022-08-24 18:49:17 -05:00
Jeff Washington (jwash)
2da93bd45a
add text to assert ( #27377 )
2022-08-24 14:11:53 -05:00
Jeff Washington (jwash)
9866510ef2
get rid of extra comment ( #27378 )
2022-08-24 14:10:33 -05:00
Tyera Eulberg
7a11571e7f
Update BigTable apis to respect a limit of zero ( #27380 )
...
Update apis to respect a limit of zero
2022-08-24 12:44:19 -06:00
Steven Luscher
5975176af7
[web3.js] Eliminate dependency on `URL` class ( #27349 )
...
* fix: `makeWebsocketUrl` no longer depends on the `URL` class
* fix: `Connection` no longer relies on the `URL` class
* fix: remove dependency on `react-native-url-polyfill`
2022-08-24 11:02:40 -07:00
Tyera Eulberg
b8b3d723da
Use new client crates ( #27360 )
...
* Update ancillary cli crates
* Update cli
* Update command-line tools
* Update rpc, etc
* Update client-test
* Update core, validator
* Update local-cluster
2022-08-24 10:47:02 -06:00
Tyera Eulberg
62eebe6e6d
Parse address-lookup-table instructions ( #27316 )
...
* Parse address-lookup-table instructions
* Finish extend instruction handling
* Rename payer, recipient
* Update docs parsing status
2022-08-24 10:17:53 -06:00
Lijun Wang
ed463dd48c
Support tpu disable quic in net scripts ( #27039 )
...
Support tpu disable quic in net scripts
2022-08-24 08:21:01 -07:00
Jeff Washington (jwash)
841ed68088
clean_accounts add _inclusive ( #27282 )
2022-08-24 08:56:53 -05:00
samkim-crypto
5e8b8abd84
zk-token-sdk: constant time equality check for elgamal and aes key derivation ( #27364 )
...
zk-token-sdk: use constant time equality check for elgamal and aes key derivation
2022-08-24 18:56:55 +09:00
samkim-crypto
0ea984ae20
zk-token-sdk: calculate transfer fee without conditional branch ( #27356 )
2022-08-24 17:29:23 +09:00
samkim-crypto
19fc4fcbf8
zk-token-sdk: use constant-time msm for inner product proof generation ( #27355 )
2022-08-24 14:56:21 +09:00
Tyera Eulberg
c24eaa36f8
Split up solana-client ( #27246 )
...
* Move thin-client to new crate
* Move tpu client and varieties to new crate
* Move pubsub-client to new crate
* Move rpc-client to new crate
* Add client-common crate to avoid circular dependencies
* Move rpc_cache and make less pub
* Remove unused unpub modules
* Add nonce-client
* Remove unused dependencies
* Fix rpc_client docs
* Move spinner to calling clients
* Rename client-common to rpc-client-api
* Remove unnecessary rpc_ prefix
* Remove unused ClientErrorKind variant
* Remove unnecessary Client prefix
* Move mod declarations into lib.rs and remove unnecessary files
* Rename nonce-client and remove redundant module name
* Restore mock_sender_for_cli in solana-client
2022-08-24 05:34:35 +00:00
Ashwin Sekar
efa6201eda
Check overflow on vote tx compaction boundary ( #27185 )
...
* Check overflow on vote tx compaction boundary
Check for overflow during the conversion between VoteStateUpdate and
CompactVoteStateUpdate.
* Try removing clippy supress
2022-08-23 22:29:03 -07:00
samkim-crypto
804dfe0f1a
zk-token-sdk: remove non-constant time assign for fee_proof transcript ( #27354 )
2022-08-24 14:25:09 +09:00
Yihau Chen
3b01517da6
chore: skip spl downstream project test when the used version too high ( #27326 )
...
* skip spl build when solana version too high
* lint
2022-08-24 03:30:30 +00:00
apfitzge
66e2df8ddc
failed_store_id should be searched per pubkey ( #27342 )
2022-08-23 19:12:50 -05:00
Jeff Washington (jwash)
2014525882
clean_rooted_entries adds _EXclusive ( #27309 )
2022-08-23 18:12:47 -05:00
Alexander Meißner
a8543ad992
Feature: `stop_sibling_instruction_search_at_parent` ( #27290 )
...
* Adds stop_sibling_instruction_search_at_parent.
* Adds test_syscall_sol_get_processed_sibling_instruction().
2022-08-23 23:55:56 +02:00
Jeff Washington (jwash)
1c4f7bcd37
clean optimization for store count ( #27277 )
2022-08-23 14:56:44 -05:00
apfitzge
caca525695
ignore clippy derive_partial_eq_without_eq in prost generated code ( #27337 )
...
ignore clippy derive_partial_eq_without_eq in prost generated code
2022-08-23 14:21:24 -05:00