behzad nouri
4ee318b2b2
fixes rust code formatting in core/src/consensus.rs ( #29204 )
2022-12-11 23:20:52 +00:00
Nico Schapeler
7be57d661f
docs: add endianess for pubkey byte/buffer functions ( #29079 )
2022-12-10 20:36:57 -08:00
Yihau Chen
bcf449158e
ci: don't run openbook_dex downstream-project test temporarily ( #29201 )
...
don't run openbook_dex
2022-12-11 04:03:57 +08:00
Jeff Washington (jwash)
db2cc53967
remove skip rewrites from bank ( #29182 )
2022-12-10 09:27:15 -08:00
Brooks Prumo
5f74fb9c87
Removes erroneous duplicate `#[ignore]` ( #29193 )
2022-12-09 20:58:22 -05:00
Jeff Washington (jwash)
f9c4170d34
remove caching_enabled ( #29117 )
...
* warp_from_parents works with write_cache enabled
* remove caching_enabled
2022-12-09 14:31:54 -08:00
Jeff Washington (jwash)
631a98a3b6
warp_from_parents works with write_cache enabled ( #29185 )
2022-12-09 14:28:18 -08:00
apfitzge
cd9f1f1862
Typo/filter_and_forward_with_account_limits ( #29183 )
2022-12-09 16:22:25 -06:00
Jeff Washington (jwash)
7f1b71a2b0
remove AccountsDb::new_with_config_for_tests.caching_enabled ( #29181 )
2022-12-09 13:54:37 -08:00
Jeff Washington (jwash)
04c10a9382
panic on process_stale_slot_with_budget and remove test ( #29045 )
2022-12-09 13:25:34 -08:00
Jeff Washington (jwash)
a3c95eaa53
remove BankTestConfig.caching_enabled ( #29173 )
2022-12-09 11:52:36 -08:00
Jeff Washington (jwash)
560143a267
remove ValidatorConfig.caching_enabled ( #29172 )
2022-12-09 11:31:55 -08:00
Steven Luscher
ffcebbbd9b
fix: pretty print PublicKey objects in node and in the browser ( #29062 )
2022-12-09 11:27:14 -08:00
Lijun Wang
ecea802fe6
Bidirectional quic communication support ( #29155 )
...
* Support bi-directional quic communication, use the same endpoint for the quic server and client
This is needed for supporting using quic for repair
* Added comments on the bi-directional communication tests
* Removed some debug logs
* clippy issue
2022-12-09 10:59:43 -08:00
Jeff Washington (jwash)
6a90abd056
remove handle_snapshot_requests.caching_enabled ( #29174 )
2022-12-09 10:51:44 -08:00
Jeff Washington (jwash)
45ba5ef6fd
remove bank_from_snapshot_archives caching_enabled ( #29171 )
2022-12-09 10:45:21 -08:00
Jeff Washington (jwash)
99f0113450
remove Accounts::new_with_config_for_tests.caching_enabled ( #29169 )
2022-12-09 10:44:56 -08:00
Jeff Washington (jwash)
ec5098a723
remove bank_test_config_caching_enabled ( #29170 )
2022-12-09 08:28:02 -08:00
apfitzge
151727f633
Storage Rebuilder: better error propagation ( #29150 )
2022-12-09 10:00:12 -06:00
HaoranYi
ca5d8c4b4d
refactor sysmonitor config ( #29132 )
2022-12-09 07:43:03 -06:00
Yihau Chen
f339854504
chore: fix wrong name for GITHUB_SHA ( #29162 )
2022-12-09 14:28:09 +08:00
Jeff Washington (jwash)
3d268be800
change RentResult enum values ( #29139 )
...
* test_shrink_candidate_slots uses write cache (#29145 )
* add tests for collect_from_existing_account
2022-12-08 19:48:42 -08:00
Jeff Washington (jwash)
06a806bb9d
introduce aligned_stored_size to flush write cache ( #29147 )
2022-12-08 19:44:23 -08:00
Jeff Washington (jwash)
072070ba80
test_shrink_candidate_slots uses write cache ( #29145 )
2022-12-08 15:13:05 -08:00
Steven Luscher
6b2275574f
chore: correct days before an issue in GitHub is considered stale by stalebot ( #29157 )
...
I got this wrong in #29134 . The original config set this at 365 days, not 7.
2022-12-08 14:39:13 -08:00
Steven Luscher
8a0a578465
chore: a stalebot to close inactive issues and PRs ( #29134 )
2022-12-08 14:17:21 -08:00
Jeff Washington (jwash)
ea19fe9219
support for accounts tests loading accounts with excluded feature ( #29142 )
2022-12-08 11:46:37 -08:00
Jeff Washington (jwash)
028d3379b0
migrate tests to use write cache ( #29144 )
2022-12-08 11:38:27 -08:00
Brooks Prumo
2d4f17e1c9
Removes AccountsDb::hash_account_with_rent_epoch() ( #29138 )
2022-12-08 13:08:36 -05:00
Jeff Washington (jwash)
2f4731570a
ledger-tool create-snapshot uses write cache ( #29119 )
...
* ledger-tool create-snapshot uses write cache
* ledger tool create snapshot works with write cache
2022-12-08 06:09:52 -08:00
Jeff Washington (jwash)
019f276a91
test_shrink_candidate_slots_cached works with write cache ( #29143 )
2022-12-08 06:08:31 -08:00
Brooks Prumo
9eedc189fd
Uses `storages` for instance of SortedStorages ( #29133 )
2022-12-07 19:27:46 -05:00
Jon Cinque
892b3ad8e4
cli: Use QUIC if the default TPU does *not* use UDP ( #29141 )
...
cli: Use QUIC if the default TPU behavior uses QUIC
2022-12-07 23:12:46 +01:00
Jeff Washington (jwash)
1d95720e5e
migrate some tests to work with write cache ( #29124 )
...
* make specific tests use write cache
* fix a few more tests
2022-12-07 13:46:06 -08:00
Jason Davis
049fb3d725
Remove an unnecessary clone of a PohConfig inside Validator::new
2022-12-07 13:03:14 -06:00
Jeff Washington (jwash)
284c41a6db
test_get_snapshot_storages_only_non_empty uses write cache ( #29111 )
2022-12-07 09:19:17 -08:00
Jeff Washington (jwash)
59359c3ab4
test_shrink_collect_simple uses write cache ( #29115 )
2022-12-07 09:18:45 -08:00
Jason Davis
8f24ceffbd
Removed Arcs from PohConfig parameters and pass the struct by reference only
2022-12-07 10:52:07 -06:00
Jeff Washington (jwash)
00f5a176a0
test_clean_zero_lamport_and_old_roots uses write cache ( #29113 )
2022-12-07 07:30:58 -08:00
Jeff Washington (jwash)
18a85edf8c
migrate tests to use write cache ( #29108 )
...
* test_store_overhead works with write cache
* test_storage_remove_account_double_remove works with write cache
* test_set_storage_count_and_alive_bytes works with write cache
* test_reuse_append_vec_id works with write cache
2022-12-07 07:03:57 -08:00
HaoranYi
582397ad48
fix solRptLdgrStat thread hang ( #29118 )
2022-12-06 17:09:56 -06:00
HaoranYi
33b15240ac
Revert #28945 ( #29127 )
...
revert #28945
2022-12-06 17:08:56 -06:00
Steven Luscher
f1427dd90c
feat: you can now supply your own HTTP agent to a web3.js Connection ( #29125 )
...
* You can now supply your own `https?.Agent` when creating a `Connection` object
* Don't use HTTP agents in test mode
* Tests that assert the behaviour of the `agentOverride` config of `Connection`
* s/agentOverride/httpAgent/ is less confusing when the value is `false`
2022-12-06 14:57:13 -08:00
steviez
aeb6b53502
Remove unused Option<> around ValidatorConfig's SnapshotConfig ( #29090 )
...
Remove Option<> around ValidatorConfig's SnapshotConfig
The SnapshotConfig is required and is currently hard-coded to be a
Some().
2022-12-06 22:47:55 +00:00
Jeff Washington (jwash)
8ce6081744
test_accounts_db_purge1 uses write cache ( #29100 )
2022-12-06 14:34:40 -08:00
Jeff Washington (jwash)
e5e64c8d6e
test_remove_unrooted_slot_snapshot uses write cache ( #29110 )
...
* test_remove_unrooted_slot_snapshot uses write cache
* test_purge_alive_unrooted_slots_after_clean uses with write cache
* test_get_snapshot_storages_with_base_slot uses write cache
* test_get_snapshot_storages_only_roots uses write cache
* test_get_snapshot_storages_only_older_than_or_equal_to_snapshot_slot uses write cache
* test_get_snapshot_storages_exclude_empty uses write cache
* test_clean_old_with_zero_lamport_account uses write cache
* test_clean_old_with_normal_account uses write cache
* test_clean_old_with_both_normal_and_zero_lamport_accounts uses write cache
* test_clean_max_slot_zero_lamport_account uses write cache
* test_calculate_storage_count_and_alive_bytes_2_accounts uses write cache
* test_calculate_storage_count_and_alive_bytes uses write cache
2022-12-06 14:34:18 -08:00
Jeff Washington (jwash)
46e13423fd
migrate tests to work with write cache ( #29106 )
...
* test_accounts_purge_long_chained_after_snapshot_restore
* test_accountsdb_calculate_accounts_hash_from_storages works with write cache
* test_zero_lamport_new_root_not_cleaned works with write cache
* test_wrapping_append_vec_id works with write cache
* test_verify_bank_hash works with write cache
* change tests to use write cache
* use shared db to pass to tests
2022-12-06 14:33:52 -08:00
Jeff Washington (jwash)
c668a58b8e
do_full_clean_refcount uses write cache ( #29112 )
2022-12-06 14:33:28 -08:00
Jeff Washington (jwash)
d3fa93907b
test_clean_zero_lamport_and_dead_slot uses write cache ( #29114 )
2022-12-06 14:33:07 -08:00
behzad nouri
df7fd8ae5f
patches rust code formatting in core/src/replay_stage.rs ( #29123 )
2022-12-06 22:09:57 +00:00