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
Summary
There are two simple ways to reduce the cost of signature verification in handleTransaction; both involve re-using information computed in Rationalization.execute().
SwirldTransaction.getSignatures() acquires a lock and makes a defensive copy; the finalized List<TransactionSignature> can be set in a field on the scoped TxnAccessor.
The AwareProcessLogic and InHandleActivationHelper will also need the payer and other-party required signing keys; these may also be recorded in a TxnAccessor field.
The text was updated successfully, but these errors were encountered:
Summary
There are two simple ways to reduce the cost of signature verification in
handleTransaction
; both involve re-using information computed inRationalization.execute()
.SwirldTransaction.getSignatures()
acquires a lock and makes a defensive copy; the finalizedList<TransactionSignature>
can be set in a field on the scopedTxnAccessor
.AwareProcessLogic
andInHandleActivationHelper
will also need the payer and other-party required signing keys; these may also be recorded in aTxnAccessor
field.The text was updated successfully, but these errors were encountered: