Commit Graph

16449 Commits

Author SHA1 Message Date
Jeff Washington (jwash) 47de4f31b6
AcctIdx: cleanup bg threads (#20731) 2021-10-15 16:15:11 -05:00
Jeff Washington (jwash) 254ad45878
sort pubkeys for clean (#20706) 2021-10-15 14:31:06 -05:00
carllin 44ff30b65b
Retry `SampleNotDuplicateConfirmed` decisions in AncestorHashesService (#20240) 2021-10-15 11:40:03 -07:00
Jeff Washington (jwash) 6d7da6dbee
clean:clone uncleaned_roots for loop (#20714) 2021-10-15 13:18:00 -05:00
Trent Nelson 9543fd9cdd docs: prefer `solana gossip` to `solana-gossip spy` 2021-10-15 18:05:24 +00:00
Jeff Washington (jwash) 5a6d732d48
AcctIdx: separate account index by startup and !startup (#20711) 2021-10-15 13:04:32 -05:00
Jeff Washington (jwash) 9d62963240
AcctIdx: get_internal allows not adding to in_mem (#20716) 2021-10-15 13:04:05 -05:00
Christian Kamm bea181eba9
Improve program-test process_transaction() speed by reducing sleep duration in banks-server (#20508)
* banks_server: Reduce sleep duration for local server

This speeds up process_transaction_with_commitment_and_context()
and thus most program tests by a lot.

* Plumb tick duration through poh config and signature polling

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2021-10-15 18:55:41 +02:00
Jeff Washington (jwash) 1e064c32e2
pull append_vec_id() out of loop (#20713) 2021-10-15 10:41:23 -05:00
Jeff Washington (jwash) 00b9056004
clean metric: total_us (#20707) 2021-10-15 10:41:05 -05:00
Jeff Washington (jwash) b80fd7566a
add worker threads during startup (#20700) 2021-10-15 10:40:36 -05:00
Tao Zhu e225ed7ab0
update config by testnet (#20699) 2021-10-15 15:32:46 +00:00
behzad nouri 0f03971c3c
adds counters for errors in window-service run_insert (#20670) 2021-10-15 14:13:26 +00:00
Jon Cinque 0419e6c22e
program-test: Fix getting new blockhash post-warp (#20710) 2021-10-15 14:58:09 +02:00
dependabot[bot] 4ec65b6531
chore:(deps): bump @solana/spl-token-registry in /explorer (#20720)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.277 to 0.2.279.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md)
- [Commits](https://github.com/solana-labs/token-list/compare/v0.2.277...v0.2.279)

---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-15 08:10:21 +00:00
dependabot[bot] b66e6cc6f7
chore:(deps): bump @types/node from 16.10.5 to 16.11.0 in /explorer (#20717)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.5 to 16.11.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  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>
2021-10-15 08:08:30 +00:00
Lijun Wang ad0a88f1f2
Support port number in postgres connection (#20662)
* Support port number in postgres connection

* Addressed a few comments from Trent
2021-10-14 11:55:10 -07:00
Kirill Fomichev e9a427b9c8
Rpc: filters performance improvement (#20185)
* Add Base58,Base64,Bytes to MemcmpEncodedBytes

* Rpc: decode memcmp before filtering accounts

* Add deprecated attribute

* Add Memcmp::bytes

* Fix clippy for deprecated

* Another clippy fix

* merge RpcFilterError::DataTooLarge

* add deprecation for Base58DataTooLarge

* change filter data size limit

* strict data size len for base58

* add magic numbers

* fix tests
2021-10-14 12:43:27 -06:00
Jack May 4beabb3a43
charge for ed25519 sig verifies (#20639) 2021-10-14 08:52:59 -07:00
dependabot[bot] 87d5274ce4
chore: bump const_format from 0.2.21 to 0.2.22 (#20688)
Bumps [const_format](https://github.com/rodrimati1992/const_format_crates) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/rodrimati1992/const_format_crates/releases)
- [Changelog](https://github.com/rodrimati1992/const_format_crates/blob/master/Changelog.md)
- [Commits](https://github.com/rodrimati1992/const_format_crates/compare/0.2.21...0.2.22)

---
updated-dependencies:
- dependency-name: const_format
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 09:20:34 -06:00
behzad nouri 0c0384ec32
revises turbine peers shuffling order (#20480)
Turbine randomly shuffles cluster nodes on a broadcast tree for each
shred. This requires knowing the stakes and nodes' contact-infos (from
gossip).

However gossip is subject to partitioning and propogation delays.
Additionally unstaked nodes may join and leave the cluster at any
moment, changing the cluster view from one node to another.

This commit:
* Always arranges the unstaked nodes at the bottom of turbine broadcast
  tree.
* Staked nodes are always included regardless of if their contact-info
  is available in gossip or not.
* Uses the unbiased WeightedShuffle construct for shuffling nodes.
2021-10-14 15:09:36 +00:00
Trent Nelson 6649dfa899 clap-utils: trim single-quotes from signer uris on windows 2021-10-14 09:09:09 -06:00
joeaba 0c66099cec
Update .gitignore 2021-10-14 19:31:48 +05:30
Jeff Washington (jwash) 7eead4e25f
clean stats on acct idx lookup (#20632) 2021-10-14 08:37:42 -05:00
Jeff Washington (jwash) c43b6e0248
log metric for clean_accounts.delta_insert_us (#20634) 2021-10-14 08:37:14 -05:00
Jeff Washington (jwash) 9b042fed30
AcctIdx: support unref first class for perf (#20638) 2021-10-14 08:36:53 -05:00
joeaba e11f1b3e9e
adding 2021-10-14 17:31:14 +05:30
joeaba 02c76bfdb1
testing latest build 2021-10-14 17:26:05 +05:30
joeaba c901f47228
adding source publish.sh 2021-10-14 17:25:34 +05:30
joeaba 47ef12f19b
adding publish.sh
it will trigger a build on vercel
2021-10-14 17:20:10 +05:30
joeaba 5483d6684e
Update .gitignore 2021-10-14 17:14:57 +05:30
joeaba 92f2314b72
adding npx vercel link 2021-10-14 17:13:26 +05:30
joeaba 416f859517
Update .gitignore 2021-10-14 16:31:40 +05:30
joeaba 91bba5b333
Update explorer.yml 2021-10-14 16:30:41 +05:30
joeaba f071b991b7
Update tsconfig.json 2021-10-14 16:16:56 +05:30
joeaba ea847d870e
Update .gitignore 2021-10-14 16:16:35 +05:30
joeaba 683f038408
Update tsconfig.json 2021-10-14 16:15:04 +05:30
joeaba 717b28cb32
Update package.json 2021-10-14 15:28:47 +05:30
joeaba 177671590b
Update package.json 2021-10-14 15:26:19 +05:30
joeaba bf52cef77c
Update .gitignore 2021-10-14 14:23:38 +05:30
joeaba 82fe12fb5d
Update .gitignore 2021-10-14 14:16:46 +05:30
axleiro 26666edebc
testing 2021-10-14 14:12:50 +05:30
axleiro 49af5342f6
updating explorer.yml 2021-10-14 14:11:12 +05:30
dependabot[bot] aa36b997aa
chore: bump @types/node from 16.10.5 to 16.10.9 in /web3.js (#20684)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.10.5 to 16.10.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 08:10:32 +00:00
dependabot[bot] 220a8bd51c
chore:(deps): bump sass from 1.42.1 to 1.43.2 in /explorer (#20685)
Bumps [sass](https://github.com/sass/dart-sass) from 1.42.1 to 1.43.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.42.1...1.43.2)

---
updated-dependencies:
- dependency-name: sass
  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>
2021-10-14 08:08:04 +00:00
dependabot[bot] 209d3cb629
chore:(deps): bump @solana/spl-token-registry in /explorer (#20686)
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list) from 0.2.275 to 0.2.277.
- [Release notes](https://github.com/solana-labs/token-list/releases)
- [Changelog](https://github.com/solana-labs/token-list/blob/main/CHANGELOG.md)
- [Commits](https://github.com/solana-labs/token-list/compare/v0.2.275...v0.2.277)

---
updated-dependencies:
- dependency-name: "@solana/spl-token-registry"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-14 08:07:59 +00:00
Alexander Meißner bbc0bb4f02
Fix: #20598 (#20669)
* Makes argument / parameter interfaces more clear.

* Fixes the bug in #20598
2021-10-14 08:47:41 +02:00
sakridge 588168b99d
Add check for shred data header size (#20668) 2021-10-14 05:56:14 +02:00
Tyera Eulberg e806fa6904
Include token owners in TransactionTokenBalances (#20642)
* Cache owners in TransactionTokenBalances

* Light cleanup

* Use return struct, and remove pub

* Single-use statements

* Why not, just do the whole crate

* Add metrics

* Make datapoint_debug to prevent spam unless troubleshooting
2021-10-13 21:46:52 -06:00
Michael Vines 13462d63a2 solana-sdk now builds for wasm32-unknown-unknown 2021-10-13 13:15:33 -07:00