Jeff Washington (jwash)
e4795ae7ed
AcctIdx: keep cached or multiple slot lists in cache ( #20257 )
2021-09-27 16:09:26 -05:00
Brian Anderson
082d5dc5b2
Add more docs for RpcClient ( #19771 )
...
* Add more docs for RpcClient
* Use custom mocks in rpc_client examples
* Move create_rpc_client_mocks into rpc_client module
Signed-off-by: Brian Anderson <andersrb@gmail.com>
* Update client/src/rpc_client.rs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* Update RpcClient docs per review feedback
* Consistently link 'commitment level' in RpcClient docs
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-09-27 14:59:25 -06:00
Jeff Washington (jwash)
9d91a6f1b7
shrink slots at startup uses more threads ( #20251 )
2021-09-27 14:14:55 -05:00
Jeff Washington (jwash)
8266864adc
AcctIdx: maybe advance age when a bg thread wakes up ( #20250 )
...
* fix math error with stats calc
* AcctIdx: maybe report stats when a bg thread wakes up
2021-09-27 18:39:41 +00:00
drbh
e94b7984a1
fix Borsh typo
...
changes `BORSH_IO_ERROR` from `unkown` to `unknown` error
2021-09-27 11:30:45 -07:00
Brooks Prumo
95fbc29500
Add stats when getting snapshot storages ( #20234 )
2021-09-27 13:07:00 -05:00
Kirill Fomichev
ac79ae6848
Rpc: use rust convenient methods
2021-09-27 11:05:39 -07:00
Brooks Prumo
49e85afdcd
Make rpc_bootstrap() aware of local incremental snapshots ( #20171 )
2021-09-27 13:05:32 -05:00
Jeff Washington (jwash)
46263d405e
fix math error with stats calc ( #20253 )
2021-09-27 11:55:19 -05:00
Jeff Washington (jwash)
bc50fd4ad6
allocate threads for accounts idx based on cpus ( #20118 )
2021-09-27 11:25:06 -05:00
Jeff Washington (jwash)
025261c05e
AcctIdx: when no disk index, always wait for stats ( #20248 )
2021-09-27 11:24:36 -05:00
Jeff Washington (jwash)
833f7761d2
AcctIdx: upsert uses get from mem first ( #20186 )
2021-09-27 11:23:53 -05:00
Ted Robertson
f107aa296b
Wallet guide: fix grammar ( #20228 )
2021-09-27 10:20:13 -06:00
Ted Robertson
af57bd3d48
Fix grammar in conventions.md ( #20236 )
2021-09-27 10:18:55 -06:00
Jeff Washington (jwash)
d8f98b3dcb
AcctIdx: avoid crazy #s on ms_per_age stat ( #20184 )
2021-09-27 08:25:23 -05:00
dependabot[bot]
12a52b3c8c
chore:(deps): bump @types/node from 16.9.6 to 16.10.1 in /explorer ( #20243 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.6 to 16.10.1.
- [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-09-27 08:06:44 +00:00
dependabot[bot]
429bf73bcf
chore:(deps): bump @solana/web3.js from 1.29.0 to 1.29.1 in /explorer ( #20242 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/solana-labs/solana-web3.js/releases )
- [Changelog](https://github.com/solana-labs/solana-web3.js/blob/master/.releaserc.json )
- [Commits](https://github.com/solana-labs/solana-web3.js/compare/v1.29.0...v1.29.1 )
---
updated-dependencies:
- dependency-name: "@solana/web3.js"
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-09-27 08:06:33 +00:00
Alexander Meißner
df6905c3a6
Refactor: Merge MessageProcessor into InvokeContext ( #20165 )
...
* Inlines MessageProcessor::execute_instruction() in MessageProcessor::process_message().
* Moves MessageProcessor::create_pre_accounts() into ThisInvokeContext::push().
* Hoists ThisInvokeContext::new() out of loop inside MessageProcessor::process_message().
* Moves MessageProcessor::verify_account_references() and MessageProcessor::verify() into InvokeContext::verify().
2021-09-27 08:28:45 +02:00
Kirill Fomichev
9542bae56e
Rpc: remove not required clone
2021-09-26 09:17:21 -07:00
Justin Starry
6f08f9decd
fix clippy
2021-09-26 08:57:29 -04:00
Tao Zhu
46757238de
allow vote to have 1 or 2 sigs ( #20082 )
2021-09-26 08:57:29 -04:00
Tao Zhu
198929fe8b
sigverify to identify and mark simple vote transaction
2021-09-26 08:57:29 -04:00
Justin Starry
f220386917
Reorder serialized mapped message fields for improved compat
2021-09-26 08:57:29 -04:00
Justin Starry
071cfd7484
fix: add type checks for caught errors
2021-09-25 15:38:58 -04:00
dependabot[bot]
aeb1be748e
chore: bump typescript from 4.3.5 to 4.4.3 in /web3.js
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.3.5 to 4.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 15:38:58 -04:00
Ted Robertson
b95653331c
Fix typo ( #20218 )
2021-09-25 14:36:12 -04:00
Justin Starry
f58501b4b9
explorer: Make account owner program label clearer ( #20214 )
2021-09-25 16:30:09 +00:00
dependabot[bot]
9e888dc4a3
chore: bump @types/chai from 4.2.21 to 4.2.22 in /web3.js ( #20213 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.21 to 4.2.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
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-09-25 16:29:57 +00:00
dependabot[bot]
9bac1ef7c5
chore: bump @types/sinon from 10.0.3 to 10.0.4 in /web3.js ( #20212 )
...
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 10.0.3 to 10.0.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
---
updated-dependencies:
- dependency-name: "@types/sinon"
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-09-25 16:19:22 +00:00
dependabot[bot]
6e4f5ee457
chore: bump rollup from 2.56.3 to 2.57.0 in /web3.js ( #20211 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.56.3 to 2.57.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.56.3...v2.57.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-type: direct:development
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-09-25 12:08:10 -04:00
dependabot[bot]
91ce4d7306
chore: bump @types/node from 16.9.4 to 16.10.1 in /web3.js ( #20208 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.4 to 16.10.1.
- [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-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 11:56:45 -04:00
Justin Starry
77020798c3
CI: fix mergify check for web3 ci status ( #20209 )
2021-09-25 10:49:32 -04:00
dependabot[bot]
10ef436285
chore: bump semantic-release from 17.4.7 to 18.0.0 in /web3.js ( #20179 )
...
Bumps [semantic-release](https://github.com/semantic-release/semantic-release ) from 17.4.7 to 18.0.0.
- [Release notes](https://github.com/semantic-release/semantic-release/releases )
- [Commits](https://github.com/semantic-release/semantic-release/compare/v17.4.7...v18.0.0 )
---
updated-dependencies:
- dependency-name: semantic-release
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-25 09:49:47 -04:00
Ted Robertson
e9c839a9e7
gossip.md: simplify Markdown ( #20201 )
...
No need for \-escaping
2021-09-25 09:19:56 -04:00
Ted Robertson
cb4121da19
Terminology: link BPF ( #20199 )
2021-09-25 09:15:14 -04:00
Ted Robertson
c137c50d15
Fix blatant md formatting at the very top ( #20198 )
2021-09-25 09:14:26 -04:00
Ted Robertson
20fbf09072
Improve grammar in terminology/ledger ( #20197 )
2021-09-25 09:12:15 -04:00
Justin Starry
0c62a6fe3f
Resolve zeroize_derive audit warning by bumping version ( #20182 )
...
* Revert "temporarily disable new audit"
This reverts commit 3dfbd95ddc
.
* Bump version of zeroize_derive from v1.0.0 to v1.2.0
2021-09-24 22:51:53 +00:00
Jeff Washington (jwash)
c6d189dac2
bg threads wait until next expected event ( #20126 )
2021-09-24 16:00:41 -05:00
Justin Starry
3dfbd95ddc
temporarily disable new audit
2021-09-24 16:42:40 -04:00
dependabot[bot]
f48616657f
chore: bump @rollup/plugin-node-resolve in /web3.js ( #20110 )
...
Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/HEAD/packages/node-resolve ) from 13.0.4 to 13.0.5.
- [Release notes](https://github.com/rollup/plugins/releases )
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/node-resolve/CHANGELOG.md )
- [Commits](https://github.com/rollup/plugins/commits/node-resolve-v13.0.5/packages/node-resolve )
---
updated-dependencies:
- dependency-name: "@rollup/plugin-node-resolve"
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-09-24 12:49:07 -07:00
Jeff Washington (jwash)
122206dbb1
AcctIdx: bg loop sleeps when all buckets flushed at current age ( #20168 )
2021-09-24 13:19:06 -05:00
Jeff Washington (jwash)
88fd9670df
add a few useful methods to AtomicInterval ( #20152 )
2021-09-24 10:27:23 -05:00
Israel Ferrer Camacho
9653f6b28d
Fix public key md links ( #20162 )
2021-09-24 11:00:20 -04:00
behzad nouri
2cf081d863
uses tikv_jemallocator::Jemalloc as the global allocator ( #20149 )
...
https://github.com/solana-labs/solana/pull/16346
switched default allocator from jemalloc to system allocator, but that
has shown regressions in form of higher ram usage causing nodes go OOM:
https://discord.com/channels/428295358100013066/439194979856809985/890413193858539580
This commit sets jemalloc as the default allocator.
2021-09-24 14:26:25 +00:00
dependabot[bot]
3aba89d440
chore:(deps): bump @solana/spl-token-registry in /explorer ( #20159 )
...
Bumps [@solana/spl-token-registry](https://github.com/solana-labs/token-list ) from 0.2.258 to 0.2.263.
- [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.258...v0.2.263 )
---
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-09-24 08:06:58 +00:00
Justin Starry
f8827e2f08
Update serum program labels ( #20155 )
2021-09-24 04:48:41 +00:00
Justin Starry
355d45ca46
Fix automerge checks ( #20156 )
2021-09-24 00:43:52 -04:00
Brooks Prumo
72f5bfbae2
bucket_map: rename num_cells() to capacity() ( #20150 )
2021-09-24 01:08:06 +00:00
Jeff Washington (jwash)
1d13594c1c
AcctIdx: store # threads in BucketHolder. Used later. ( #20151 )
2021-09-23 19:56:44 -05:00