93c1de59ed
move stats in bucket_stats
2021-09-17 11:28:20 -05:00
45b9d7980a
rename to BucketStorage
2021-09-17 11:28:20 -05:00
e4103b5886
resurect addref and unref since tests use 'em for now
2021-09-17 11:28:20 -05:00
7bccdc5251
remove more addref and unref
2021-09-17 11:28:19 -05:00
2756044ee3
remove addref and unref
2021-09-17 11:28:19 -05:00
c80d9cb4e3
remove values()
2021-09-17 11:28:19 -05:00
c43c90665e
rename to items_in_range
2021-09-17 11:28:19 -05:00
1649394231
rename BucketMapKeyValue to BucketItem
2021-09-17 11:28:19 -05:00
fd458abc44
rename create_bucket_capacity_pow2 to bucket_capacity_when_created_pow2
2021-09-17 11:28:19 -05:00
340b99931a
fixup bench docs
2021-09-17 11:28:19 -05:00
90a6ddca43
rework benches a bit
2021-09-17 11:28:19 -05:00
13acea95b8
remove unused/incorrect DataBucket::bytes
2021-09-17 11:28:19 -05:00
160e33edcc
fix a naming for max_buckets_pow2
2021-09-17 11:28:19 -05:00
4b72a5947a
rename capacity to capacity_pow2
2021-09-17 11:28:19 -05:00
8f7a9e8f0d
add more traits while we can
2021-09-17 11:28:19 -05:00
9195c1ffe6
doc
2021-09-17 11:28:19 -05:00
ac58a5d3e6
rename to DEFAULT_CAPACITY_POW2
2021-09-17 11:28:19 -05:00
f6a5bf71ce
add more documentation
2021-09-17 11:28:19 -05:00
45dc2a9100
add doc to BucketMapConfig::new()
2021-09-17 11:28:19 -05:00
9ddfdd3319
rename num_buckets to max_buckets
2021-09-17 11:28:19 -05:00
97ba5f2559
fixup erase drives
2021-09-17 11:28:19 -05:00
b538ff8b27
use Arc::clone() instead
2021-09-17 11:28:19 -05:00
6af722f2ae
use Slot from sdk
2021-09-17 11:28:19 -05:00
09958b8292
remove redundant type aliases
2021-09-17 11:28:19 -05:00
a3c30fe5dd
Store the number of buckets in BucketMapConfig as a regular number
2021-09-17 11:28:19 -05:00
67afcfd493
use u64::BITS
2021-09-17 11:28:19 -05:00
406e43ed3f
rename BucketMap bits to num_buckets_pow2
2021-09-17 11:28:19 -05:00
af5e12829e
introduce bucket map
2021-09-17 11:28:19 -05:00
b8106e2450
chore: bump memmap2 from 0.3.1 to 0.4.0 ( #19974 )
...
* chore: bump memmap2 from 0.3.1 to 0.4.0
Bumps [memmap2](https://github.com/RazrFalcon/memmap2-rs ) from 0.3.1 to 0.4.0.
- [Release notes](https://github.com/RazrFalcon/memmap2-rs/releases )
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RazrFalcon/memmap2-rs/compare/v0.3.1...v0.4.0 )
---
updated-dependencies:
- dependency-name: memmap2
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 <you@example.com >
2021-09-17 10:00:12 -06:00
376b20c3d2
AcctIdx: add some bucket flush helpers ( #19965 )
2021-09-17 10:41:30 -05:00
9eb98adf97
stake: Add BorshDeserialize trait to structs ( #19958 )
2021-09-17 10:14:23 +02:00
40cc243017
chore:(deps): bump @solana/web3.js from 1.26.0 to 1.27.0 in /explorer ( #19975 )
...
Bumps [@solana/web3.js](https://github.com/solana-labs/solana-web3.js ) from 1.26.0 to 1.27.0.
- [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.26.0...v1.27.0 )
---
updated-dependencies:
- dependency-name: "@solana/web3.js"
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-17 08:13:40 +00:00
a4a8560311
chore:(deps): bump sass from 1.41.0 to 1.41.1 in /explorer ( #19972 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.41.0 to 1.41.1.
- [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.41.0...1.41.1 )
---
updated-dependencies:
- dependency-name: sass
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-17 08:07:10 +00:00
d184eab019
chore:(deps): bump @types/node from 16.9.1 to 16.9.2 in /explorer ( #19973 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.1 to 16.9.2.
- [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-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-17 08:07:02 +00:00
4d8b3aa578
AcctsIdx: introduce dirty state per pubkey ( #19960 )
2021-09-16 21:36:23 -05:00
53fbbfe56c
chore: bump prettier from 2.4.0 to 2.4.1 in /web3.js ( #19961 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
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-16 18:39:18 -05:00
c71fab6cb3
Add delete
subcommand to ledger-tool bigtable
( #19931 )
...
* Add `delete` subcommand to `ledger-tool bigtable` command
* feedback
2021-09-16 23:37:45 +00:00
92510a2831
chore: bump @types/node from 16.9.1 to 16.9.2 in /web3.js ( #19957 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.1 to 16.9.2.
- [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-09-16 16:22:41 -07:00
c8f76b8bd0
Fix tpu service fanout ( #19944 )
2021-09-17 01:01:56 +02:00
58f25a8752
AcctIdx: move background() to AccountsIndexStorage ( #19948 )
2021-09-16 17:52:06 -05:00
9f66965eac
chore: bump http-server from 13.0.1 to 13.0.2 in /web3.js ( #19953 )
...
Bumps [http-server](https://github.com/http-party/http-server ) from 13.0.1 to 13.0.2.
- [Release notes](https://github.com/http-party/http-server/releases )
- [Commits](https://github.com/http-party/http-server/compare/v13.0.1...v13.0.2 )
---
updated-dependencies:
- dependency-name: http-server
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-16 15:24:19 -07:00
66e0fafc21
AccountsIndexStorage holds InMemAccountsIndex[] ( #19947 )
2021-09-16 21:12:22 +00:00
49d3d79459
web3.js: add accounts support to simulateTransaction ( #19590 )
...
* feat: add accounts support to simulateTransaction
* feat: introduce test for simulateTransaction on Message objects
* feat: populate transaction from message defaults to no signatures
* fix: remove unused constant
* fix: small formatting error
* fix: eslint and prettier were fighting over ternary indentation
* fix: make simulated transaction result accounts nullable
2021-09-16 14:10:28 -07:00
1a91621c29
chore: bump @typescript-eslint/parser from 4.31.0 to 4.31.1 in /web3.js ( #19921 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 4.31.0 to 4.31.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.31.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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-16 14:06:11 -07:00
68da1909de
chore: bump serde_json from 1.0.67 to 1.0.68 ( #19942 )
...
* chore: bump serde_json from 1.0.67 to 1.0.68
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.67 to 1.0.68.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.67...v1.0.68 )
---
updated-dependencies:
- dependency-name: serde_json
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 >
2021-09-16 20:23:25 +00:00
f1bbf1d8b0
rpc: performance fix for getProgramAccounts ( #19941 )
...
* rpc: performance fix for getProgramAccounts
The accounts were gradually pushed into a vector, which produced
significant slowdowns for very large responses.
* rpc: rewrite loops using iterators
Co-authored-by: Christian Kamm <ckamm@delightful-solutions.de >
2021-09-16 19:40:01 +00:00
43d4aa7900
chore: bump socket2 from 0.4.1 to 0.4.2 ( #19937 )
...
* chore: bump socket2 from 0.4.1 to 0.4.2
Bumps [socket2](https://github.com/rust-lang/socket2 ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/rust-lang/socket2/releases )
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/socket2/compare/v0.4.1...v0.4.2 )
---
updated-dependencies:
- dependency-name: socket2
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 >
2021-09-16 18:56:36 +00:00
4c69229a47
Add incremental snapshot CLI args to ledger-tool ( #19889 )
...
This commit only adds args to specify the maximum full/incremental
snapshot archives to retain when purging old snapshot archives. It
purposely does *not* add a way to generate new incremental snapshots.
Fixes #19857
2021-09-16 10:56:18 -05:00
ea15c0b40b
chore: bump libc from 0.2.101 to 0.2.102 ( #19924 )
...
* chore: bump libc from 0.2.101 to 0.2.102
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.101 to 0.2.102.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.102 )
---
updated-dependencies:
- dependency-name: libc
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 >
2021-09-16 09:45:01 -06:00
3b06214590
chore:(deps): bump prettier from 2.4.0 to 2.4.1 in /explorer ( #19938 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
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-16 09:06:12 -05:00