graph-program
graph-program copied to clipboard
Graph Program V3
** DO NOT MERGE **
This PR includes a proposal to move to Account resizing and avoiding PDA spam by creating a single Storage Account.
Pros:
- Simpler structure
- Probably more performant at Sealevel
- Easier to Index
- Easier to add bulk follow
IXsin the future - Easier to cache client-side
Cons:
- Anchor not playing nice with HashSets yet so need to deal with Vec searching back and forth (Probably worth to add manual de/ser) or try beet by Metaplex
- Bulky reads of unnecessary data sometimes
Pending:
- [ ] Create migration scripts,
IXsfrom V2->V3 - [ ] Use HashSet structure instead of Vectors or start looking at Merkle roots