You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -492,8 +492,6 @@ Clients can load cold accounts back when needed via `create_load_instructions`.
492
492
493
493
Under the hood, clients use `AccountInterface` - a superset of Solana's `Account` that unifies hot and cold state. See [Router Integration](./routers) for details.
494
494
495
-
496
-
#### Hot/cold cycle
497
495
|| Hot (active) | Cold (inactive) |
498
496
|---|---|---|
499
497
| Storage | On-chain | Compressed |
@@ -507,24 +505,25 @@ If you have an existing program that you would like to migrate to rent-free acco
507
505
508
506
## FAQ
509
507
510
-
<Accordiontitle="Who triggers compression?">
511
-
Foresters automatically compress when virtual rent depletes (~4 days idle). You don't trigger it.
512
-
</Accordion>
508
+
<Accordiontitle="How do you prevent re-init attacks for cold accounts?"> When
509
+
you create an account, under the hood, the SDK auto-provides a proof that
510
+
verifies that the account does not yet exist in the compressed address space.
511
+
The SVM takes care of uniqueness in the onchain space. This way both account
512
+
spaces are covered, preventing re-init attacks. </Accordion>
513
513
514
-
<Accordiontitle="Can active pools get compressed?">
515
-
No. Any interaction resets the timer. Active pools never compress.
516
-
</Accordion>
514
+
<Accordiontitle="Who triggers compression?"> Miners automatically compress when
515
+
virtual rent is below threshold (eg 24h without write bump). </Accordion>
517
516
518
-
<Accordiontitle="What happens to token balances?">
519
-
Preserved exactly. Compressed state includes full balance. Restored on load.
517
+
<Accordiontitle="Can active pools get compressed?">
518
+
No. Any write bumps the virtual rent balance. Active pools never compress.
520
519
</Accordion>
521
520
522
521
<Accordiontitle="Do I need to run infrastructure?">
0 commit comments