Brooks Prumo
2a875a894b
Fix and expand EAH calculation info ( #27779 )
2022-09-14 15:23:43 -04:00
Jeff Washington (jwash)
3a47dfb8e6
add bank.bank_enable_rehashing_on_accounts_hash ( #27768 )
2022-09-14 11:29:23 -07:00
Ashwin Sekar
9119dc13ec
Add structure to house unprocessed transactions in banking_stage ( #27777 )
...
Separate storage for voting and transaction threads:
- Voting threads utilize a shared reference in order to dedup extraneous
votes
- Transactions have thread local storage like before
2022-09-14 10:40:44 -07:00
Jeff Washington (jwash)
4f232250e5
add `dirty_ancient_stores` to clean metrics ( #27774 )
2022-09-14 06:52:51 -07:00
Jeff Washington (jwash)
416b45ac0f
calculate_capitalization gets 'enable_rehashing' ( #27767 )
2022-09-14 06:52:18 -07:00
Jeff Washington (jwash)
cd44a0ab7b
acctidx: unref returns whether refcount went negative ( #27773 )
2022-09-14 06:51:50 -07:00
Jeff Washington (jwash)
17007fdda8
remove ancient append vec stores from shrink_candidate_slots ( #27763 )
2022-09-14 06:50:34 -07:00
Ashwin Sekar
c74df830b1
Add structure to collect and coalesce vote packets ( #27558 )
...
* Add structure to collect and coalesce vote packets
Will be used in banking stage to throw out extraneous vote packets
before processing
* pr comments
* Update inner lock to arc to improve performance
2022-09-14 00:44:26 -07:00
Justin Starry
e6687b89e6
chore: fix flakey partialSign test ( #27770 )
2022-09-13 20:16:30 +00:00
Justin Starry
c345981321
Explorer: Remove support for bonfida bot instructions ( #27766 )
2022-09-13 19:42:04 +00:00
Justin Starry
afe1cfe94a
fix: replace computed max u64 constant with literal ( #27765 )
2022-09-13 19:37:40 +00:00
Will Hickey
e48456dbbc
Create continuous delivery directory and add readme with canary details. ( #27683 )
...
* Create continuous delivery directory and add readme with canary details.
2022-09-13 14:33:49 -05:00
Alexander Meißner
c9eac2e6a1
Restore aliasing rules in BPF loader. ( #27752 )
2022-09-13 19:58:19 +02:00
Yueh-Hsuan Chiang
70c4f6ea96
Enable ledger-tool copy command to infer target_db shred storage type. ( #27438 )
...
#### Problem
The ledger-tool copy command currently assumes target_db uses the same
shred storage type as the source ledger.
#### Summary of Changes
This PR enables ledger-tool copy command to infer the target_db shred storage
type based on whether rocksdb or rocksdb_fifo exists under the target_db directory
(same way as how ledger-tool infers the shred storage type for the main db.)
If the ledger-tool is not able to infer the shred storage type of the target_db, then
the default level compaction will be used.
2022-09-13 10:27:58 -07:00
Will Hickey
c0e4379f43
Whickey/version v1.15 ( #27739 )
...
* Bump version to v1.13.0
* Bump version to v1.14.0
* Bump version to v1.15.0
2022-09-13 09:06:15 -05:00
Will Hickey
6e2ab45b68
Update mergify backport actions to new version numbers v1.13 and v1.14 ( #27749 )
2022-09-13 07:53:19 -05:00
Yihau Chen
ac1444ddb2
chore: bump axum-core to v0.2.8 ( #27745 )
2022-09-13 14:52:25 +08:00
Justin Starry
d9b1ebece7
feat: add version getter to VersionedTransaction class ( #27734 )
2022-09-13 00:22:12 +00:00
apfitzge
079bf561b0
Clean_up/upb_push_comment ( #27707 )
2022-09-12 18:59:41 -05:00
Justin Starry
8bb0acc4c6
chore: remove failing request units test ( #27735 )
2022-09-12 23:18:29 +00:00
Yueh-Hsuan Chiang
ba3d9cd325
Add LedgerColumn::multi_get() ( #26354 )
...
#### Problem
Blockstore operations such as get_slots_since() issues multiple rocksdb::get()
at once which is not optimal for performance.
#### Summary of Changes
This PR adds LedgerColumn::multi_get() based on rocksdb::batched_multi_get(),
the optimized version of multi_get() where get requests are processed in batch
to minimize read I/O.
2022-09-12 15:01:22 -07:00
apfitzge
0c185d1983
Fix a constant that was missed ( #27731 )
...
Missed constant
2022-09-12 16:23:55 -05:00
Michael Vines
0bcd9134bc
Rework 'remove_dead_slots_metadata: slots' info log message
2022-09-12 13:36:05 -07:00
Jeff Washington (jwash)
d242c0fc97
pass 'enable_rehashing' through all accounts hash functions ( #27701 )
2022-09-12 12:18:09 -07:00
Jeff Washington (jwash)
ac74fc16b6
cleanup test constants ( #27704 )
2022-09-12 12:00:52 -07:00
Jeff Washington (jwash)
765c628546
use exit signal for acct idx bg threads ( #27483 )
2022-09-12 11:51:12 -07:00
Jeff Washington (jwash)
f0770c199e
fix ledger tool final hash calc ( #27725 )
...
fix ledger tool final hash calc
2022-09-12 11:09:34 -07:00
royalrust
0cff1eff08
move if let destructuring out of for loop ( #27712 )
...
* move if let destructuring out of for loop
* remove trailing whitespace
* Update programs/vote/src/vote_state/mod.rs
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2022-09-12 18:08:02 +00:00
behzad nouri
4f22ee8f9b
uses varint encoding for vote-state lockout offsets
...
The commit removes CompactVoteStateUpdate and instead reduces serialized
size of VoteStateUpdate using varint encoding for vote-state lockout
offsets.
2022-09-12 16:31:20 +00:00
behzad nouri
f6fbc47b2d
adds serde varint encoder/decoder
...
#[derive(Deserialize, Serialize)]
struct Foo {
#[serde(with = "serde_varint")]
field: u64,
...
}
2022-09-12 16:31:20 +00:00
James Yan
df7e99a076
Fix responsive in metaplex metadata json viewer ( #27585 )
...
fix metaplex metadata responsive
2022-09-12 16:13:33 +00:00
Christian Kamm
90b8a3a44d
Remove KeypairInsecureClone trait and add insecure_clone() instead ( #27396 )
...
See discussion in #26248
2022-09-12 14:59:41 +00:00
Artie Kushner
836ba734ea
Update validator-start.md
...
Typo (missing noun).
2022-09-12 07:23:54 -07:00
Yihau Chen
afa2ae2986
chore: add a name for secondary trigger step ( #27719 )
2022-09-12 04:42:12 +00:00
Michael Vines
83d4d128c2
Add --process-ledger-before-service flag to solana-validator
2022-09-11 07:58:42 -07:00
Brooks Prumo
d36c5774a1
Use `.find()` instead of loop+filter+break for sending snapshot request ( #27674 )
2022-09-10 19:11:37 -04:00
Jeff Washington (jwash)
bd6177d5f2
move fn only used by tests to tests ( #27699 )
2022-09-10 13:57:52 -07:00
Jeff Washington (jwash)
92a5d27cb8
remove unused 'unref' fn ( #27698 )
2022-09-10 13:57:31 -07:00
Jeff Washington (jwash)
1811d684b5
clean race condition with extra unref ( #27682 )
...
* clean race condition with extra unref
* clarify comment
* fix test
* cleanup test
* clippy
2022-09-10 13:57:17 -07:00
Jeff Washington (jwash)
abd01553d5
tests: Keypair::new().pubkey() -> pubkey::new_rand ( #27705 )
2022-09-10 13:56:45 -07:00
Jeff Washington (jwash)
1d9d5bef04
remove outdated comment ( #27703 )
2022-09-10 13:56:08 -07:00
steviez
53149a18ad
Fix partialeq_to_none clippy lint ( #27696 )
2022-09-09 22:27:05 -05:00
Nick Frostbutter
cf1c44184c
[docs] quickstart guides ( #27592 )
...
* feat(wip): rust quickstart page
* feat: added quickstart pages
* fix: updated cards and card layout
* feat: added quickstart home (and to sidebar )
* fix: updated quickstarts
* fix: renamed to get started
* fix: typos and seo
* fix: JS example to interact with the onchain program
2022-09-10 02:36:04 +00:00
Tao Zhu
ced8f6a512
Add feature gate to remove support for RequestUnitsDeprecated instruction ( #27503 )
...
* feature gate: remove support for RequestUnitsDeprecated instruction #27500
* review update: stop support deprecated ix for prioritization
* Apply suggestions from code review
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
Co-authored-by: Justin Starry <justin.m.starry@gmail.com>
2022-09-09 22:24:21 +00:00
Steven Luscher
a98f58f0dc
chore: update the README for web3.js with compatibility notes ( #27706 )
2022-09-09 14:42:36 -07:00
Brooks Prumo
2b554560fd
Send snapshot request for correct bank in set_root() ( #27673 )
2022-09-09 17:30:37 -04:00
apfitzge
6561428278
Separate add_un_ref for easier tracing ( #27652 )
2022-09-09 16:14:55 -05:00
Justin Starry
e42a39024d
feat: add source field to parsed account key responses ( #27702 )
2022-09-09 21:06:54 +00:00
Brooks Prumo
fc396f965c
Fixup log of Epoch Accounts Hash when freezing bank ( #27688 )
2022-09-09 16:33:12 -04:00
Justin Starry
080f085cb8
fix: ensure that Keypair.secretKey is a Uint8Array ( #27700 )
2022-09-09 16:31:18 -04:00