Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
4
votes
1
answer
117
views
Handle big vector containing ton of structs
I want to understand how to create an account storing more than 10_000 structs inside is possible.
Is there a simple way to do it? … Or should I have to implement an account storing many accounts storing structs? …
3
votes
1
answer
120
views
How to create shard accounts to manage "unlimited" account size
Since there is a limitation inside Solana transactions (1kb), and Solana account (1Mb), I'm not able to create a huge account ^^
Someone suggests me to open a new question: Handle big vector containing … , // Help finding the id of the UserData inside the shard account
pub shard_pubkey: Pubkey,
}
#[account]
pub struct ShardAccount {
pub users: Vec<UserData>,
pub counter: u32, // Number of …