What's the difference between the different levels of commitment, 'Processed', 'Confirmed' and 'Finalized'?
2 Answers
See the Solana docs for commitment definitions:
Property | Processed | Confirmed | Finalized |
---|---|---|---|
Received block | x | x | x |
Block on majority fork | x | x | x |
Block contains target transaction | x | x | x |
66%+ stake voted on block | x | x | |
31+ confirmed blocks built atop block | x |
-
This is a good answer but adding a reference would make it even better!– mikemaccana ♦Commented Dec 8, 2022 at 13:59
-
-
3in fact, this is the original. it was added to the docs later, github.com/solana-labs/solana/pull/27265 Commented Dec 24, 2022 at 21:16
check out this blog from Helius
For most applications, using a processed commitment level provides the best balance. It: Provides the fastest confirmation time Is sufficient security for most use cases Reduces risk of block hash expiration Minimizes dropped transactions during congestion Always use the same commitment level for sending and confirming transactions to maintain consistency in your application's behavior.