Jeff Washington (jwash)
ad400419b5
assert write version is increasing per slot as we read from a slot ( #29624 )
2023-01-10 13:34:30 -08:00
Jeff Washington (jwash)
c3353c27c2
verify acct size in index can easily be recalculated ( #29601 )
2023-01-10 13:33:36 -08:00
Trent Nelson
61e2da45f8
fix: synchronize cpi error prioritization with v1.14 (fp #29593 ) ( #29621 )
...
* Revert "Removes `serialized_len_ptr` from `CallerAccount`. (#26737 )"
36cfa78fa0
Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net>
2023-01-10 14:28:38 -07:00
Jeff Washington (jwash)
9cd3bb0c4d
never try to shrink a slot that is in the write cache ( #29615 )
2023-01-10 12:01:37 -08:00
Jeff Washington (jwash)
1faf7d516b
while shrinking, old append vec is held outside of storage.map ( #29323 )
...
* while shrinking, old append vec is held outside of storage.map
* update comment
* rework ShrinkInProgress for clarity
* add tests and comment
2023-01-10 11:52:01 -08:00
steviez
1c1c8fb008
chore: Move bank new epoch metrics into separate file ( #29599 )
...
chore: Move bank new epoch metric into separate file
bank.rs is very large, so move the metrics reporting code into a
separate file. This reduces line count and also makes the actual logic
in bank.rs more readable by removing a big block of boilerplate code.
There are more metrics that we can do this for, but doing them one at a
time to avoid large diffs.
2023-01-10 13:15:50 -06:00
Sergey Ukolov
f65706a38e
Don't try to deserialize WebSocket ping messages ( #28562 )
...
* Don't try to deserialize ping messages.
* Fixed comment.
* Use Message::is_ping helper instead of manual pattern matching.
* fmt
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2023-01-10 10:42:18 -07:00
Jeff Washington (jwash)
a5106e110a
just use slot to determine alive while shrinking ( #29613 )
2023-01-10 09:00:18 -08:00
Jeff Washington (jwash)
1c862f0b66
remove unused ret val from do_shrink_slot_store ( #29616 )
2023-01-10 08:12:24 -08:00
Jeff Washington (jwash)
6441ed121e
get_unique_accounts_from_storages drops plural ( #29600 )
2023-01-10 07:49:38 -08:00
HaoranYi
d3daea65b9
use atomicu64 for bucket maxsize instead of lock ( #29569 )
2023-01-10 09:15:27 -06:00
Dmitri Makarov
cc4e134079
Add an option to install a specific version of sbf-tools ( #29544 )
2023-01-10 06:14:24 -08:00
Jeff Washington (jwash)
71467808d2
convert some get_slot_stores -> get_slot_storage_entry ( #29549 )
2023-01-10 05:34:08 -08:00
Jeff Washington (jwash)
c9fe21e3c3
ancient append vecs enabled at -10k by default ( #29565 )
2023-01-10 05:33:43 -08:00
Jeff Washington (jwash)
1d675c6205
FoundStoredAccount removes store_id ( #29590 )
2023-01-10 05:28:41 -08:00
Yihau Chen
00bee936b1
chore: bump anyhow to 1.0.58 ( #29572 )
2023-01-10 12:46:31 +08:00
Brennan Watt
226e1921bd
Fix RPC tests race condition ( #29589 )
2023-01-09 18:51:58 -08:00
Tyera
0a6ff82911
Setter for node_version property ( #29594 )
...
Add: set_node_version method
Co-authored-by: Charles Raimbault <charles.raimbault@epitech.eu>
2023-01-09 17:32:49 -07:00
Alexander Meißner
db277d320b
Adds TX signature to `TransactionContext` in debug mode ( #29597 )
...
Adds TX signature to TransactionContext in debug mode.
2023-01-10 00:54:26 +01:00
Jeff Washington (jwash)
dda34b208c
get_unique_accounts_from_storages takes 1 append vec ( #29588 )
2023-01-09 14:53:50 -08:00
Jeff Washington (jwash)
3234af41a7
shrink_collect takes a single append vec ( #29523 )
2023-01-09 13:33:21 -08:00
Will Hickey
3aa0a005f9
Add exception for RUSTSEC-2023-0001 to unblock CI. ( #29585 )
...
* Add exception for RUSTSEC-2023-0001 to unblock CI. This Tokio issue only affects windows.
2023-01-09 12:23:18 -06:00
Jeff Washington (jwash)
a703019caa
feature: don't do rewrites in rent collection ( #26491 )
...
* feature: don't do rewrites in rent collection
* modify test to specifically test this feature
2023-01-09 08:14:17 -08:00
Jeff Washington (jwash)
d41da2178c
test_bad_bank_hash uses write cache ( #29559 )
2023-01-09 08:10:28 -08:00
Jeff Washington (jwash)
a171402e5c
combine_one_store_into_ancient takes 1 append vec ( #29560 )
2023-01-09 08:09:38 -08:00
Pires
8db1f53fe7
Add pubsub address to RpcContactInfo ( #29165 )
...
* rpc: add pubsub address to RpcContactInfo
* cli: add pubsub endpoint to gossip node info
* dashboard: add pubsub endpoint
* add missing pubsub info test_rpc_get_cluster_nodes
2023-01-08 22:25:56 -07:00
Yihau Chen
94cb88ffad
add solana-ledger-tool bigtable copy ( #28122 )
...
* init copy cmd
* extract creating emulator connection logic
* extract copy args as struct
* add new_for_emulator
* add tryFrom confirmed block to versioned block
* implement bigtable copy command
* use 'force' flag to force upload
* use unwrap_or
* remove redundant importing
* fix nightly lint
* explicit transactions missing error
* process ending_slot
* prevent start slot > end slot
* print skip slots in debug level
* fix destination bigtable should not be readonly
* combine is-emulator and endpoint to emulated source. conflict with crenditial path
* wording
* log some error messages with error level
* nightly lint
* add dry-run
* extract create bigtable instances logic
* use a lighter way to check block
* use the latest futures version which is used in the repo
* use futures = "0.3"
Co-authored-by: Tyera <teulberg@gmail.com>
* wording
Co-authored-by: Tyera <teulberg@gmail.com>
* wording
Co-authored-by: Tyera <teulberg@gmail.com>
Co-authored-by: Tyera <teulberg@gmail.com>
2023-01-09 11:23:35 +08:00
behzad nouri
677b6d6458
removes LegacyContactInfo::is_valid_tvu_address ( #29570 )
...
Since
https://github.com/solana-labs/solana/pull/20480
turbine includes all epoch staked nodes in tree construction and no
longer relies on obtaining their contact-info from gossip; and so
distinguishing between is_valid_address and is_valid_tvu_address is no
longer necessary and the latter can be removed.
2023-01-08 22:53:45 +00:00
behzad nouri
8c212f59ad
renames ContactInfo to LegacyContactInfo ( #29566 )
...
Working towards adding a new ContactInfo where new sockets can be
added in a backward compatible way.
2023-01-08 16:00:55 +00:00
HaoranYi
aa3aa5cc9c
extract max_size stat update for disk buckets ( #29487 )
2023-01-07 09:25:04 -06:00
Brian Anderson
43a0745b37
Fix doc warnings ( #29537 )
2023-01-07 09:24:50 +00:00
acheron
e92f93c290
Fix deprecated warning on solana-sdk ( #29109 )
2023-01-07 06:48:10 +00:00
Tyera
e0d2a40d85
Add rust client support for getRecentPrioritizationFees ( #29558 )
2023-01-06 23:04:34 -07:00
Jeff Washington (jwash)
9692cfef98
accounts tests use store_for_tests ( #29555 )
2023-01-06 15:30:42 -08:00
Jeff Washington (jwash)
2f0d849c84
set rent epoch to max on new account creation ( #29528 )
...
* set rent epoch to max on new account creation
* add comment
2023-01-06 14:21:10 -08:00
Jeff Washington (jwash)
2a0a185846
accounts tests use store_for_tests ( #29554 )
2023-01-06 12:07:36 -08:00
Jeff Washington (jwash)
33119f8a87
convert some get_slot_stores -> get_slot_storage_entry ( #29557 )
2023-01-06 12:06:59 -08:00
Jeff Washington (jwash)
453b61676e
filler accounts only work gradually ( #29553 )
2023-01-06 12:05:32 -08:00
Boqin Qin(秦 伯钦)@MetaSecure
cd5c5804ab
ledger-tool: fix double-readlock in main ( #27322 )
2023-01-06 19:30:07 +00:00
behzad nouri
283a2b1540
removes #[allow(clippy::same_item_push)] ( #29543 )
2023-01-06 17:32:26 +00:00
Jeff Washington (jwash)
3fc4015a4d
do_shrink_slot_stores -> do_shrink_slot_store ( #29552 )
2023-01-06 09:23:32 -08:00
Jeff Washington (jwash)
39dc034c05
ShrinkCandidates only hold 1 append vec per slot ( #29525 )
...
* ShrinkCandidates only hold 1 append vec per slot
* Fixed select_candidates_by_total_usage unit tests, use distinct slots for stores
as each slot has one store now.
* rename
Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
2023-01-06 06:54:34 -08:00
HaoranYi
b3a3e03c6a
Refresh blockhash for retrials of failed get_fee calls ( #29494 )
...
* add log for error for failed rpc calls
* refresh blockhash when retry get_fee_for_message
* clippy
2023-01-06 08:53:38 -06:00
Jeff Washington (jwash)
272e5a05f2
remove AccountStorage::is_empty() ( #29548 )
2023-01-06 06:51:25 -08:00
Yihau Chen
b030a96321
chore: increase stable-perf timeout_in_minutes to 35 ( #29551 )
2023-01-06 17:27:25 +08:00
Jeff Washington (jwash)
8e19909c7d
stop returning remaining # stores from mark_dirty_dead_stores ( #29545 )
2023-01-05 19:21:01 -08:00
Tyera
7689044521
Fix solana-stake-accounts version ( #29542 )
...
Fix clap inputs
2023-01-05 19:49:28 -07:00
Xiang Zhu
a0f045d2c3
storage rebuilder regex cleanup ( #29408 )
...
* storage rebuilder regex cleanup
* Update runtime/src/snapshot_utils/snapshot_storage_rebuilder.rs
Co-authored-by: apfitzge <apfitzge@gmail.com>
Co-authored-by: apfitzge <apfitzge@gmail.com>
2023-01-05 16:16:24 -08:00
Lijun Wang
a6b492b2c1
Removed assert on write_version ordering ( #29530 )
...
Removed assert on write_version ordering as snapshot created by earlier version
is not honoring that.
2023-01-05 15:14:55 -08:00
Xiang Zhu
a6bf68cec8
Refine appendvec sanitize error message to include path ( #29541 )
2023-01-05 14:43:10 -08:00