Commit Graph

19773 Commits

Author SHA1 Message Date
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
Nick Frostbutter 013d045981
[docs] added prettier config file (#26817)
feat: added prettier config file
2022-07-28 10:44:02 -07:00
Jeff Washington (jwash) 817f65bb50
add full_snapshot to hash config (#26811) 2022-07-28 09:46:34 -05:00
Tyera Eulberg 2481ebb150
Add explicit comment about get_stake_account to StakeInstruction enum (#26824)
Add explicit comment about get_stake_account
2022-07-27 20:44:52 -06:00
Michael Vines b660ac511d cli: Add stake redelegation support 2022-07-27 20:24:25 -06:00
Michael Vines 48862c575a Add StakeInstruction::Redelegate 2022-07-27 20:24:25 -06:00
Michael Vines 1404860be3 Adjust `solana validators -n` header to be correctly aligned with the columns 2022-07-27 19:59:25 -06:00
Richard Patel 741076ecdd bpf: fix objcopy.sh
Uses bundled version of llvm-objcopy.
2022-07-27 15:42:10 -07:00
Richard Patel b4a9a0a89c cargo-build-sbf: support debuginfo 2022-07-27 15:42:10 -07:00
Ashwin Sekar 8d69e8d447
Compact vote state updates to reduce block size (#26616)
* Compact vote state updates to reduce block size

* Add rpc transaction tests
2022-07-27 13:23:44 -06:00
Jeff Washington (jwash) 1a5b830294
CalcAccountsHashConfig default for tests (#26810) 2022-07-27 13:21:38 -05:00
apfitzge ecc5b65784
Fix typo: contirbutor to contributor (#26807) 2022-07-27 16:06:29 +00:00
Jeff Washington (jwash) 1421833c5e
log when shrink still contains extra stores (#26794) 2022-07-27 09:14:16 -05:00
Jeff Washington (jwash) 30b408ed0c
allow caching on ancient append vecs for accounts hash calc (#26770) 2022-07-27 09:13:32 -05:00
Pierre 8015aedfdd
explorer falls back to token list when uri is blank and tokenDetails exists (#26800)
explorer fallback to token list when uri is blank and tokenDetails exists

Co-authored-by: Arrowana <8245419+Arrowana@users.noreply.github.com>
2022-07-26 20:28:05 -07:00
dependabot[bot] cd4340ed06
chore: bump bytemuck from 1.10.0 to 1.11.0 (#26792)
* chore: bump bytemuck from 1.10.0 to 1.11.0

Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/Lokathor/bytemuck/releases)
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: bytemuck
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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-07-26 20:50:30 -06:00
Ashwin Sekar 21a9a48941
Fix NDK env vars (#26801)
Fix setting the default version for NDK
2022-07-26 18:32:16 -07:00
Ashwin Sekar ed539d65b4
Only take the latest vote for each validator in gossip (#25934)
* Only take the latest vote for each validator in gossip

Since the new vote updates are no longer incremental, there
is no value in storing intermediate votes.

* Address pr feedback

* Handle potential downgrade path, FullTowerVote -> Incremental

* Rename sent to bank -> gossip slot

* Handle downgrade case properly

* Only downgrade for newer votes and feature flag, ignore incremental votes otherwise

* Update test
2022-07-26 16:38:30 -06:00