Will Hickey
4c29750095
Enable QUIC client by default. Add arg to disable QUIC client. ( #26879 )
2022-08-03 10:39:55 -05:00
Jeff Washington (jwash)
0732a6c45f
add 'oldest_root' stat in hash calc ( #26896 )
2022-08-03 10:02:08 -05:00
Jeff Washington (jwash)
6706be0f56
log oldest dirty slot on clean ( #26897 )
2022-08-03 10:01:29 -05:00
Tyera Eulberg
7c58c8a641
Bump spl-token ( #26902 )
2022-08-03 08:51:43 +00:00
Tao Zhu
6892970c19
Cli support compute_unit_price ( #26464 )
...
* add compute-unit-price trait to insert compute_budget instruction to set priorization fee
* add clap arg for compute-unit-price
* add compute-unit-price arg to commands that send transactions
* add and update tests
2022-08-02 22:23:05 -05:00
Brennan Watt
f24de9d254
Make tx error accounting more granular ( #26718 )
2022-08-02 16:43:03 -07:00
Tyera Eulberg
b15be0360b
Bump prost, tonic to pick up protoc fix ( #26854 )
...
* Bump prost and tonic crates
* Regenerate google protobufs
* Build protoc from source
2022-08-02 16:37:28 -06:00
Brennan Watt
f3b760dd91
Add IO metrics ( #26804 )
...
* Add Disk IO metrics
2022-08-02 14:29:53 -07:00
Jeff Washington (jwash)
224550d65f
allow caching on ancient append vecs for accounts hash calc ( #26885 )
2022-08-02 14:40:29 -05:00
dependabot[bot]
7e0ae995c7
chore: bump wasm-bindgen from 0.2.81 to 0.2.82 ( #26850 )
...
* chore: bump wasm-bindgen from 0.2.81 to 0.2.82
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.81 to 0.2.82.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.81...0.2.82 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* [auto-commit] Update all Cargo lock files
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
2022-08-02 13:26:14 -06:00
Jeff Washington (jwash)
acc1112e9c
calculate cache hash path for store_detailed_debug_info_on_failure ( #26874 )
2022-08-02 11:19:00 -05:00
behzad nouri
1181510531
infers erasure batches from FEC-set indices of data shreds ( #26873 )
...
data_shreds_to_coding_shreds relies on the hardcoded
MAX_DATA_SHREDS_PER_FEC_BLOCK batches of data shreds:
https://github.com/solana-labs/solana/blob/e74ad90cd/ledger/src/shredder.rs#L175-L183
This hardcoded logic is unnecessary since the shreds belonging to the
same erasure batch can be identified from run of the same FEC-set index.
2022-08-02 16:05:27 +00:00
behzad nouri
ec36f0c5df
removes redundant Option<&Arc<...>> wrapper for Blockstore in serve-repair
2022-08-02 15:30:53 +00:00
behzad nouri
6423da0218
removes redundant Arc<RwLock<...>> wrapper off ServeRepair
2022-08-02 15:30:53 +00:00
Jeff Washington (jwash)
e5c5055869
Revert "allow caching on ancient append vecs for accounts hash calc" ( #26882 )
...
Revert "allow caching on ancient append vecs for accounts hash calc (#26770 )"
This reverts commit 30b408ed0c
.
2022-08-02 10:23:11 -05:00
Jon Cinque
f210182851
accounts: Don't collect rent on newly created accounts ( #26851 )
2022-08-02 16:34:34 +02:00
Brian Anderson
a69ee79111
Delete unused create_test_recent_blockhashes
2022-08-02 01:28:23 -06:00
Colin Ogoo
a94920a4ea
fix(formatting): trailling white space
2022-08-01 19:38:00 -06:00
Colin Ogoo
aef8f1c6f0
style(formatting): wrap text lines to ~80char like the rest of the docs
2022-08-01 19:38:00 -06:00
Colin Ogoo
1e4e861764
Update docs/src/integrations/retrying-transactions.md
...
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-08-01 19:38:00 -06:00
Colin Ogoo
b47649a771
Update docs/src/integrations/retrying-transactions.md
...
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-08-01 19:38:00 -06:00
Colin Ogoo
7e4f894061
fix(link): incorrect relative link
2022-08-01 19:38:00 -06:00
Colin Ogoo
c1edaca621
style(note): convert code blocks to notes for legibility
2022-08-01 19:38:00 -06:00
Colin Ogoo
b3dccdf266
style(prettier): fix formatting
2022-08-01 19:38:00 -06:00
Colin Ogoo
d96edf4870
docs(integrations): docs for retrying transactions
...
Initial content from solana cookbook
2022-08-01 19:38:00 -06:00
Jeff Biseda
ded9a35cd6
mark repair ping packets for discard only after successful signature verification ( #26878 )
2022-08-01 16:17:19 -07:00
Jeff Washington (jwash)
050c66f197
enable accounts hash caching if store_detailed_debug_info_on_failure ( #26864 )
2022-08-01 14:27:20 -05:00
Jeff Washington (jwash)
f6e4f76dac
--halt-at-slot-store-hash-raw-data works for root bank ( #26865 )
2022-08-01 14:25:47 -05:00
Jeff Washington (jwash)
d159682a6d
add comment ( #26875 )
2022-08-01 14:25:19 -05:00
kirill lykov
e74ad90cdb
DoS tool: generate transactions using several threads ( #26286 )
...
* add cli arg num_gen_threads
* introduce many generating threads
* add sender thread
* add time measurments
* cleanup
* sort dependencies
* revisit threads termination
* make send_batch_size to be configurable
* update Cargo.lock
2022-08-01 16:04:19 +02:00
Pierre
ac915776c3
anchor verified build uses apr.dev ( #26655 )
...
Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
2022-08-01 12:17:32 +02:00
Steven Luscher
00ce805788
chore: Update web3.js README to ask that contributions and issues regarding web3.js be filed against the monorepo and not the mirror
2022-07-31 21:12:59 -07:00
Jeff Washington (jwash)
ebabc53cee
use Vec::drain instead of option/take ( #26852 )
2022-07-31 21:04:15 -05:00
Richard Patel
2fc888d864
rbpf-cli: capture log
2022-07-31 15:55:15 -07:00
Jeff Biseda
857be1e237
sign repair requests ( #26833 )
2022-07-31 15:48:51 -07:00
Dmitri Makarov
8db5a6a4f2
Copy changes made to a generated header file to its source
2022-07-30 10:38:53 -07:00
kirill lykov
ddfa64dcd9
add withdraw durable nonce ( #26829 )
...
* add withdraw durable nonce
* Use Pubkey instead of Keypair in bench-tps withdraw
Before &Keypair was passed although it is not necessary because nonce
doesn't sign withdraw account transactions anyways.
2022-07-30 14:22:00 +02:00
Jeff Washington (jwash)
c7462b7a52
ledger tool verify can store debug info on hash calc ( #26837 )
2022-07-29 15:54:56 -05:00
HaoranYi
38cd29810f
Fix ordering for AccountEntry ref_count ( #26842 )
...
fix ordering for ref_count
2022-07-29 15:47:03 -05:00
dependabot[bot]
422cff69fd
chore: bump cargo_metadata from 0.14.2 to 0.15.0 ( #26803 )
...
Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata ) from 0.14.2 to 0.15.0.
- [Release notes](https://github.com/oli-obk/cargo_metadata/releases )
- [Changelog](https://github.com/oli-obk/cargo_metadata/blob/main/CHANGELOG.md )
- [Commits](https://github.com/oli-obk/cargo_metadata/commits )
---
updated-dependencies:
- dependency-name: cargo_metadata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-29 14:11:58 -06:00
apfitzge
bda14e348a
Feature-gate for incremental snapshots only hashing accounts in the incremental snapshot ( #26809 )
...
Add feature module and pubkey for incremental snapshots hashing only accounts in the snapshot
2022-07-29 14:25:19 -05:00
Jeff Washington (jwash)
4d15e774ee
insert perf improvement on bucket map ( #26754 )
...
perf on bucket map
2022-07-29 13:58:05 -05:00
apfitzge
fbfcc3febf
Bugfix: VoteProcessingTiming reset both counters ( #26843 )
2022-07-29 12:56:04 -05:00
Jeff Washington (jwash)
69b5dd9b07
cleanup ignore_eof_error ( #26838 )
2022-07-29 12:10:22 -05:00
Steven Luscher
a0698d4cc3
Make it clear that `minContextSlot` in `sendTransaction` affects _preflight_ checks ( #26845 )
...
docs: make it clear that `minContextSlot` in `sendTransaction` affects _preflight_ checks
2022-07-29 10:50:42 -06:00
Pankaj Garg
fb922f613c
Compute maximum parallel QUIC streams using client stake ( #26802 )
...
* Compute maximum parallel QUIC streams using client stake
* clippy fixes
* Add unit test
2022-07-29 08:44:24 -07:00
Tyera Eulberg
9d31b1d290
Parse ConfidentialTransaction extensions ( #26820 )
...
* Bump spl-token-2022 to 0.4.2
* Revert Cargo.lock changes in #26746 and update spl solana crates to v1.10.33
* Parse ConfidentialTransfer extensions
2022-07-28 21:43:20 -06:00
apfitzge
c1f7d1a367
Add AppendVec::new_from_file_unchecked ( #26795 )
...
new_from_file_unchecked
2022-07-28 14:57:26 -05:00
Michael Vines
123f61ccad
Correct DeactivateDelinquent/Redelegate account parsing
2022-07-28 12:45:56 -06:00
Brennan Watt
467cb5def5
Concurrent slot replay ( #26465 )
...
* Concurrent replay slots
* Split out concurrent and single bank replay paths
* Sub function processing of replay results for readability
* Add feature switch for concurrent replay
2022-07-28 11:33:19 -07:00