Jeff Washington (jwash)
fc793de2dd
Revert "Use memory map to speed up snapshot untar ( #24889 )" ( #25174 )
...
This reverts commit 3367e44671
.
2022-05-12 14:48:29 -05:00
Jason
08da486c05
additional costs in block capacity calc ( #25059 )
...
* Added additional costs to block capacity computation, and pushed alloc of CostModel all the way to the top of the call chain, instead of reallocing
* Fix two compiler errors
* Update block processing to propagate computed costs, rather than re-computing deeper in the call stack
* Clippy fix
* Reformatting fix after merge
* Add CostModel::sum_without_bpf
2022-05-12 13:52:20 -05:00
HaoranYi
3367e44671
Use memory map to speed up snapshot untar ( #24889 )
...
* mmap
* add no_os_memory_reporting_args to ledger-tool
* use safe memory map package for unix. use regular file for windows
* fallback to untaring with filebuf when mmap fails
* update comments
2022-05-12 13:35:19 -05:00
Jack May
cde15ff687
support 64-bit prioritization fee ( #25027 )
2022-05-12 11:07:36 -07:00
Jeff Washington (jwash)
896729f25e
keep track of oldest slot used by last hash calculation ( #25152 )
2022-05-12 11:18:08 -05:00
Jeff Washington (jwash)
3a4f0d3397
println -> info ( #25163 )
2022-05-12 11:07:13 -05:00
Pankaj Garg
bcf4d54235
Update test_banking_stage_entryfication to be more deterministic ( #25146 )
...
* Update test_banking_stage_entryfication to be more deterministic
* revert to original test with updated checks
2022-05-12 15:36:19 +00:00
Jeff Washington (jwash)
abb4993a3b
SortedStorages::max_slot_inclusive() ( #25153 )
2022-05-12 10:24:03 -05:00
Jeff Washington (jwash)
849cbe93aa
add AccountsToStore::has_overflow ( #25143 )
2022-05-12 10:14:27 -05:00
Ikko Ashimine
7e4397204a
chore: fix typo in security-txt.ts ( #25160 )
...
seperated -> separated
2022-05-12 21:28:52 +08:00
Sohrab
069b052553
docs(developing): remove duplicate entry ( #25129 )
2022-05-12 01:57:09 -07:00
Justin Starry
a118af069e
RPC: Add API version to context response ( #25134 )
...
* RPC: Add API version to context response
* restore backwards compatibility
2022-05-12 12:17:21 +08:00
Dmitri Makarov
9d18fe019b
Bump sbf-tools version to 1.26
2022-05-12 03:53:55 +00:00
wentokay
a38ce127ca
fix: include exception identifier in `catch` blocks ( #25147 )
2022-05-11 20:32:02 -07:00
steveluscher
86ffd98827
chore: delete npm lockfile ( closes #25148 )
2022-05-11 20:24:36 -07:00
Justin Starry
d1f816984e
fix: allow mutating transactions ( #25141 )
2022-05-12 11:02:57 +08:00
Justin Starry
05de0e3155
cli: Fix deploy program length calculation when using buffers ( #25132 )
2022-05-12 09:05:41 +08:00
beeman
0514e83fa2
chore: move sinon-chai to devDependencies ( #25151 )
2022-05-11 17:08:11 -07:00
Brooks Prumo
e748d24937
Use default if there is no config file ( #25123 )
2022-05-11 17:07:59 -04:00
sakridge
e0352ed56f
Fix typo ( #25149 )
2022-05-11 21:05:19 +00:00
Jeff Washington (jwash)
c56d978cb1
minor cleanup ( #25144 )
2022-05-11 14:58:43 -05:00
Yihau Chen
46c1ca6551
chore: build osx x86_64 artifacts on buildkite ( #25138 )
...
* chore: build osx x86_64 artifacts on buildkite
* chore: remove osx artifacts building flow from github action
2022-05-11 23:15:53 +08:00
Justin Starry
68800982ea
Add size_of const fns for upgradeable loader states ( #25131 )
2022-05-11 22:22:59 +08:00
HaoranYi
41d34d45e0
pass exit by ref ( #25120 )
2022-05-11 09:17:21 -05:00
Jeff Washington (jwash)
a8930ee14b
add --accounts-db-ancient-append-vecs ( #25125 )
2022-05-11 08:47:07 -05:00
Jon Cinque
542a14d9b7
test-validator: Always use overridden compute budget in bank ( #25128 )
2022-05-11 15:46:51 +02:00
Justin Starry
766e361111
cli: Aggregate cluster info stats by software version ( #25103 )
...
* cli: Aggregate cluster info stats by software version
* remove unused itertools dep
2022-05-11 21:33:22 +08:00
Jeff Washington (jwash)
11fa0db850
more ancient append vec fns ( #25127 )
2022-05-11 08:02:05 -05:00
Jeff Washington (jwash)
3ce877d1ab
add metric for ancient append vec count ( #25126 )
2022-05-11 08:01:04 -05:00
Jack May
8f1d4c1665
Disallow deployment of deprecated _sol_alloc_free syscall ( #24986 )
...
* Disallow deployment of deprecated _sol_alloc_free syscall
* remove cli argument
2022-05-11 05:22:49 +00:00
dependabot[bot]
4c7a030f13
chore: bump enum-iterator from 0.7.0 to 0.8.1 ( #25092 )
...
* chore: bump enum-iterator from 0.7.0 to 0.8.1
Bumps [enum-iterator](https://github.com/stephaneyfx/enum-iterator ) from 0.7.0 to 0.8.1.
- [Release notes](https://github.com/stephaneyfx/enum-iterator/releases )
- [Commits](https://github.com/stephaneyfx/enum-iterator/compare/0.7.0...0.8.1 )
---
updated-dependencies:
- dependency-name: enum-iterator
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump enum-iterator everywhere
* Accommodate breaking api change
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-05-10 20:58:03 -06:00
Yueh-Hsuan Chiang
b2dcda8980
(LedgerStore) Move metric sample counters out from LedgerColumnOptions ( #25042 )
...
#### Problem
LedgerColumnOptions contain two fields, perf_read_counter and perf_write_counter,
that are not really options but internal counters.
#### Summary of Changes
This PR introduces BlockstoreRocksDbPerfSamplingStatus, a struct that holds internal
status for RocksDB perf sampling and moves perf_read_counter and perf_write_counter
out from LedgerColumnOptions.
2022-05-10 16:13:19 -07:00
Jeff Washington (jwash)
c4506269a6
add ancient_append_vecs ( #25119 )
2022-05-10 16:41:04 -05:00
Pankaj Garg
c838e15234
Unset needs_unlock for rebatched transactions batches ( #25095 )
...
* Unset needs_unlock for rebatched transactions batches
* address review comments
2022-05-10 13:39:08 -07:00
DimAn
2fa9bc3e70
Add options to store full and/or incremental snapshots in separate locations ( #24247 )
2022-05-10 16:37:41 -04:00
Jeff Washington (jwash)
dc6e28099b
mark_dirty_dead_stores ( #25114 )
2022-05-10 15:08:29 -05:00
Jeff Washington (jwash)
e9e267947e
simplify storage_finder -> storage ( #25109 )
2022-05-10 14:18:51 -05:00
dependabot[bot]
6c853bc80b
chore: bump dialoguer from 0.10.0 to 0.10.1 ( #25113 )
...
* chore: bump dialoguer from 0.10.0 to 0.10.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/mitsuhiko/dialoguer/releases )
- [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.0...v0.10.1 )
---
updated-dependencies:
- dependency-name: dialoguer
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-05-10 19:10:59 +00:00
Jeff Washington (jwash)
e9a9604ca7
avoid zeroing out root stats with empty data ( #25111 )
2022-05-10 13:56:30 -05:00
Jeff Washington (jwash)
b91cc87680
assert when rewrites skipped ( #25110 )
2022-05-10 13:55:48 -05:00
Jeff Washington (jwash)
8e5bb0a1e2
check file size of accounts cache mmap before indexing ( #25077 )
2022-05-10 13:33:22 -05:00
Tyera Eulberg
7e07fc219b
Parse most token-2022 instructions ( #25099 )
...
* Add COption<Pubkey> helper
* Parse DefaultAccountState ixs
* Parse MemoTransfer ixs
* Parse Reallocate ixs
* Parse MintCloseAuthority ixs
* Parse TransferFee ixs
* Parse CreateNativeMint
2022-05-10 11:09:54 -06:00
Brennan Watt
301a655f06
Enable 0rtt ( #25055 )
...
* Enable 0rtt connections
2022-05-10 09:44:07 -07:00
Justin Starry
634b7c3b5a
chore: fix lagging stake program live test ( #25107 )
...
* chore: fix lagging stake program live test
* chore: use min stake delegation in stake tests
2022-05-11 00:37:15 +08:00
Justin Starry
e3bdc38f0a
Add sanitized types for use in banking stage ( #25067 )
2022-05-11 00:30:48 +08:00
dependabot[bot]
85f4a3e4c4
chore: bump reed-solomon-erasure from 5.0.1 to 5.0.2 ( #25081 )
...
* chore: bump reed-solomon-erasure from 5.0.1 to 5.0.2
Bumps [reed-solomon-erasure](https://github.com/darrenldl/reed-solomon-erasure ) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/darrenldl/reed-solomon-erasure/releases )
- [Changelog](https://github.com/rust-rse/reed-solomon-erasure/blob/master/CHANGELOG.md )
- [Commits](https://github.com/darrenldl/reed-solomon-erasure/compare/v5.0.1...v5.0.2 )
---
updated-dependencies:
- dependency-name: reed-solomon-erasure
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 <you@example.com>
2022-05-10 10:28:44 -06:00
Jason
c80896b58f
speedup sysvar or builtin test ( #25047 )
...
* Add a quick lookup table to speed up sysvar/builtin key check
* Fix up the syntax
* Fix syntax
* Fix syntax 2
* Rename the static variable, improve commenting
* Fix merge error
* Fixed two clippy suggestions
* Improved commenting
2022-05-10 10:37:51 -05:00
sakridge
6cfa19e2e4
Skip generator if non-unique transactions ( #25039 )
2022-05-10 16:22:24 +02:00
yihau
e27e9fb538
chore: print tar version
2022-05-10 17:33:33 +08:00
dependabot[bot]
4520c25330
chore: bump tonic-build from 0.7.1 to 0.7.2 ( #25037 )
...
* chore: bump tonic-build from 0.7.1 to 0.7.2
Bumps [tonic-build](https://github.com/hyperium/tonic ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/hyperium/tonic/releases )
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.7.1...v0.7.2 )
---
updated-dependencies:
- dependency-name: tonic-build
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
* Regenerate proto
* Bump tonic and remove deprecated method
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2022-05-09 12:26:58 -06:00