Closed dzhelezov closed 4 years ago
Currently, to get the confirmation state, getInclusionStatesStatement
is used. The check evaluates to true if a transaction.snapshotIndex() has been set (roughly speaking). As you say, this requires the respective round to solidify, the snap to be created and to include the transaction in question.
getInclusionStatesStatement
will be refactored to: getInclusionStatesStatementObsolete
(to temporarily preserve the functionality)
The 2/3rd majority check will be implemented in: getInclusionStatesStatement
.
It would be desirable to refactor getInclusionStates
to getConfirmationState
as soon as possible, but we might not want to touch the command names just yet, as it would also require refactoring in sdk and wallet.
addressed in: https://github.com/HelixNetwork/pendulum/pull/206
Currently a transaction is confirmed only when a round becomes solid. Replace with 2/3+ milestone confirmations.